Skip site navigation (1) Skip section navigation (2)

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 (view raw, whole thread or download thread mbox)
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

In response to

pgsql-bugs by date

Next:From: Tom LaneDate: 2001-08-11 00:12:08
Subject: Re: create view bug
Previous:From: grantDate: 2001-08-10 22:12:51
Subject: pg_dumpall

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group