Re: pg_dumpall - Mailing list pgsql-bugs

From Peter Eisentraut
Subject Re: pg_dumpall
Date
Msg-id Pine.LNX.4.30.0108110011540.703-100000@peter.localdomain
Whole thread Raw
In response to pg_dumpall  (grant <grant@amadensor.com>)
List pgsql-bugs
grant writes:

> Well, when I turned on security and switched from trust to passwrod (using
> pg_shadow) now pg_dumpall does not work.  It simply complains that my
> password is wrong, and ignores the -u or -U to try to change me to be
> postgres.  If I su to postgres, it complains that I did not supply a
> password.

Yes, unfortunately that doesn't work.  The upcoming release should do
better.  For now you need to use pg_dump on each database and save the
users with pg_dumpall -g connected to an "insecure" database.

--
Peter Eisentraut   peter_e@gmx.net   http://funkturm.homeip.net/~peter

pgsql-bugs by date:

Previous
From: grant
Date:
Subject: pg_dumpall
Next
From: Tom Lane
Date:
Subject: Re: create view bug