Re: pg_dump roles support - Mailing list pgsql-hackers

From Tom Lane
Subject Re: pg_dump roles support
Date
Msg-id 14915.1197304075@sss.pgh.pa.us
Whole thread Raw
In response to Re: pg_dump roles support  (Stephen Frost <sfrost@snowman.net>)
Responses Re: pg_dump roles support  (Stephen Frost <sfrost@snowman.net>)
List pgsql-hackers
Stephen Frost <sfrost@snowman.net> writes:
> * Tom Lane (tgl@sss.pgh.pa.us) wrote:
>> Seems like the correct answer to that is "use a saner role
>> configuration".

> Far as I can tell anyway.  What would you suggest?  The point here is
> that joesysadmin shouldn't get full postgres privs on login since most
> of the time he won't need them.

It's sane to set up a manually-used admin account that way, I agree.
What doesn't follow is that an account configured for manual use should
be used for non-interactive stuff like pg_dump.
        regards, tom lane


pgsql-hackers by date:

Previous
From: "Hiroshi Saito"
Date:
Subject: Re: Problem of a server gettext message.
Next
From: Stephen Frost
Date:
Subject: Re: pg_dump roles support