From: Adrian Klaver <adrian.klaver@gmail.com>
To: Edward W. Rouse <erouse@comsquared.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: pg_dump - 8.3 - schemas
Date: Thu, 16 Feb 2012 11:21:46 -0800
Message-ID: <4F3D574A.9010709@gmail.com> (raw)
In-Reply-To: <06c601ccecdd$2cbeefa0$863ccee0$@com>
References: <06c601ccecdd$2cbeefa0$863ccee0$@com>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: adrian.klaver@gmail.com, erouse@comsquared.com
Subject: Re: pg_dump - 8.3 - schemas
In-Reply-To: <4F3D574A.9010709@gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox