Re: pg_dumpall

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: grant <grant(at)amadensor(dot)com>
Cc: <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: pg_dumpall
Date: 2001-08-10 22:13:05
Message-ID: Pine.LNX.4.30.0108110011540.703-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)gmx(dot)net http://funkturm.homeip.net/~peter

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2001-08-11 00:12:08 Re: create view bug
Previous Message grant 2001-08-10 22:12:51 pg_dumpall