Re: pg_dump roles support

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Stephen Frost <sfrost(at)snowman(dot)net>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: pg_dump roles support
Date: 2007-12-10 16:19:55
Message-ID: 14730.1197303595@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Stephen Frost <sfrost(at)snowman(dot)net> writes:
> create role admin with noinherit;
> grant postgres to admin;
> grant admin to joesysadmin;

> pg_dump -U joesysadmin mydb;

> Fails because joesysadmin hasn't got rights to everything directly.

Seems like the correct answer to that is "use a saner role
configuration".

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Stephen Frost 2007-12-10 16:22:33 Re: pg_dump roles support
Previous Message Peter Eisentraut 2007-12-10 16:19:41 Re: Problem of a server gettext message.