Re: pg_dump -s dumps data?! - Mailing list pgsql-general

From Adrian Klaver
Subject Re: pg_dump -s dumps data?!
Date
Msg-id 4F232C88.2010605@gmail.com
Whole thread Raw
In response to pg_dump -s dumps data?!  (hubert depesz lubaczewski <depesz@depesz.com>)
Responses Re: pg_dump -s dumps data?!
List pgsql-general
On 01/27/2012 02:19 PM, hubert depesz lubaczewski wrote:
> hiu
> I have weird situation.
> pg 9.1.2, compilet by our own script from source, on 10+ machines.
> on fours machines, pg_dump -s<database_name>  - dumps with data!:

Are those 4 machines different from the other 6+?
What does the script do?
I am guessing you have not seen this in previous versions of postgres?

>
> postgres@machine:~$ pg_dump --verbose  --schema-only dbname>  q
> ...
> pg_dump: creating TABLE x1
> pg_dump: restoring data for table "x2"
> pg_dump: dumping contents of table x2
> pg_dump: restoring data for table "x3"
> pg_dump: dumping contents of table x3
> ...
>
> What could be wrong?
>
> Same pg_dump call on the same host, but for different database dumps just schema!?
>
> Best regards,
>
> depesz
>


--
Adrian Klaver
adrian.klaver@gmail.com

pgsql-general by date:

Previous
From: hubert depesz lubaczewski
Date:
Subject: pg_dump -s dumps data?!
Next
From: hubert depesz lubaczewski
Date:
Subject: Re: pg_dump -s dumps data?!