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:38:49 -0800
Message-ID: <4F3D5B49.3000807@gmail.com> (raw)
In-Reply-To: <06ca01ccece1$8c86c120$a5944360$@com>
References: <06c601ccecdd$2cbeefa0$863ccee0$@com>
<4F3D574A.9010709@gmail.com>
<06ca01ccece1$8c86c120$a5944360$@com>
On 02/16/2012 11:31 AM, Edward W. Rouse wrote:
> To answer the second question first, yes; both as the same user.
>
> pg_dump -v -f $bkfile -F c -U $USER $DATABASE
So how are you determining that only the public schema is being dumped?
One thing to check is the search_path setting in postgresql.conf. This
can create the illusion that only one schema is available in a database.
One way to check is to use the fully qualified name for a table you know
to be in the reports schema. Ex:
select * from reports.some_table;
>
>
>
>
--
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: <4F3D5B49.3000807@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