pg_dump - 8.3 - schemas - Mailing list pgsql-sql

From Edward W. Rouse
Subject pg_dump - 8.3 - schemas
Date
Msg-id 06c601ccecdd$2cbeefa0$863ccee0$@com
Whole thread Raw
Responses Re: pg_dump - 8.3 - schemas
List pgsql-sql
I am working with a database set up by someone else. They set it up so that
most tables are in the public schema, but they also have a reports schema;
database.public.tables and database.reports.tables.

If I do a pg_dump of the database, I only get the public schema. If I do a
dump with --schema=reports, I only get the reports schema. Is there a way to
get all the schemas from a single pg_dump or am I forced to use separate
ones? This is also for future issues where there may be more than 2.

Thanks

Edward W. Rouse



pgsql-sql by date:

Previous
From: "Raj Mathur (राज माथुर)"
Date:
Subject: Re: need help with import
Next
From: Adrian Klaver
Date:
Subject: Re: pg_dump - 8.3 - schemas