pg_dump --schema=masters oldDB > masters1.sql
cat masters1.sql | psql newDB
of
in één opdracht kunt u dit doen
pg_dump oldDB --schema masters | psql -h localhost newDB;
pg_dump --schema=masters oldDB > masters1.sql
cat masters1.sql | psql newDB
of
in één opdracht kunt u dit doen
pg_dump oldDB --schema masters | psql -h localhost newDB;