Re: pg_dump and grants to PUBLIC - Mailing list pgsql-general

From Tom Lane
Subject Re: pg_dump and grants to PUBLIC
Date
Msg-id 12492.1147191911@sss.pgh.pa.us
Whole thread Raw
In response to Re: pg_dump and grants to PUBLIC  (Blair Lowe <postgresql@zedemail.ca>)
Responses Re: pg_dump and grants to PUBLIC  (Blair Lowe <postgresql@zedemail.ca>)
Re: pg_dump and grants to PUBLIC  ("Joshua D. Drake" <jd@commandprompt.com>)
List pgsql-general
Blair Lowe <postgresql@zedemail.ca> writes:
> On Mon, 2006-08-05 at 16:32 -0700, Joshua D. Drake wrote:
>> What version of PostgreSQL is this that you are using? Because it

> ]# rpm -qi postgresql
> Name        : postgresql                   Relocations: (not
> relocateable)
> Version     : 7.3.4                             Vendor: Red Hat, Inc.
                ^^^^^

That does not square with this:

>> postgres@scratch:~$ psql -U test2 test2;
>> Welcome to psql 8.1.3, the PostgreSQL interactive terminal.
                   ^^^^^

and the psql session is talking to test2 but you're dumping an
unrelated database:

>> postgres@scratch:~$ pg_dump test1;

I see no evidence here that test1 didn't already have "foo" in it.

            regards, tom lane

pgsql-general by date:

Previous
From: Guido Neitzer
Date:
Subject: Re: What is your favorite front end for user interaction
Next
From: SCassidy@overlandstorage.com
Date:
Subject: Re: Exporting postgres query to CSV