Re: pg_dump - 8.3 - schemas - Mailing list pgsql-sql

From Adrian Klaver
Subject Re: pg_dump - 8.3 - schemas
Date
Msg-id 4F3D574A.9010709@gmail.com
Whole thread Raw
In response to pg_dump - 8.3 - schemas  ("Edward W. Rouse" <erouse@comsquared.com>)
Responses Re: pg_dump - 8.3 - schemas  ("Edward W. Rouse" <erouse@comsquared.com>)
List pgsql-sql
On 02/16/2012 10:59 AM, Edward W. Rouse wrote:
> 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.

The pg_dump should work.
What is the exact command line statement you are using?
Are doing both dumps as the same user?

>
> Thanks
>
> Edward W. Rouse
>
>


-- 
Adrian Klaver
adrian.klaver@gmail.com


pgsql-sql by date:

Previous
From: "Edward W. Rouse"
Date:
Subject: pg_dump - 8.3 - schemas
Next
From: "Edward W. Rouse"
Date:
Subject: Re: pg_dump - 8.3 - schemas