What you guys handed me may be useful, but it appears to be completely useless. I drop the new database, create the new database under psql. Then, using pg_restore, I restore the database which was created using a from a pg_dump command.
The create database command is (from psql)
create...
I wish to replicate an entire schema - all tables, keys, indexes, sequences, views, functions, and data. I will need to to do this eventually through a script, so that I can reset a schema, on demand, to a starting point. (We are using this schema for a product demonstration, and need the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.