When in development, I need to clean down my system by restoring a database backup and then running SQL against it. Is there a way to do this:
restore schema dbo 'c:/data/mydatabase.backup';
update dbo."MyTable" set "ColumnA" = 1;
Unlike other questions, this is not for doing via the command line but in a query instead.
Postgres v9.5 with pgAdminIII.
psqlorpg_restore)