Re: [HACKERS] shouldn't pg_dumpall... - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [HACKERS] shouldn't pg_dumpall...
Date
Msg-id 29822.919988091@sss.pgh.pa.us
Whole thread Raw
In response to shouldn't pg_dumpall...  (Vince Vielhaber <vev@michvhf.com>)
List pgsql-hackers
Vince Vielhaber <vev@michvhf.com> writes:
> Shouldn't pg_dumpall also dump user privileges?

I believe pg_dumpall -z does it right.  That's what I usually use.

I suggested making -z the default a while ago, but no one has gotten
around to doing something about it.  (It'd be easy enough, but tedious,
since you'd need to invent a new switch for turning off privilege-
dumping and then update all the documentation.  Sigh.)
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [HACKERS] postmaster failure with 2-23 snapshot
Next
From: "Gerald L. Gay"
Date:
Subject: Re: [HACKERS] libpq and SPI