Is there a simple way to create a copy of a database or schema in PostgreSQL 8.1?
I\'m testing some software which does a lot of updates to a particular schema withi
If it's on the same server, you just use the CREATE DATABASE command with the TEMPLATE parameter. For example:
CREATE DATABASE newdb WITH TEMPLATE olddb;