Re: pg_dump and grants to PUBLIC

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Blair Lowe <postgresql(at)zedemail(dot)ca>
Cc: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: pg_dump and grants to PUBLIC
Date: 2006-05-09 16:25:11
Message-ID: 12492.1147191911@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Blair Lowe <postgresql(at)zedemail(dot)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(at)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(at)scratch:~$ pg_dump test1;

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

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Blair Lowe 2006-05-09 16:52:32 Re: pg_dump and grants to PUBLIC
Previous Message SCassidy 2006-05-09 16:23:44 Re: Exporting postgres query to CSV