What's the best way to restore a view?
pg_dump -h hostname -d databasename -Fc > db.dump
DROP VIEW viewname;
pg_restore -h hostname -d databasename -t viewname db.dumpThis does not error, but also doesn't seem to work. Have also tried it with the
-nschema option. In verbose mode, it says pg_resore: implied data-only restore.
Is it possible to restore a view via pg_restore