Re: pg_dump privileges

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Mark Lubratt <mark(dot)lubratt(at)indeq(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: pg_dump privileges
Date: 2004-02-03 15:21:14
Message-ID: 18014.1075821674@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Mark Lubratt <mark(dot)lubratt(at)indeq(dot)com> writes:
> I'd like to create a user for my pg_dump backup process. I'd like that
> user to have only the privileges required to run pg_dump.

You're wasting your time. pg_dump should generally be run by the
database superuser. Anything less creates problems with being unable
to dump stuff that doesn't belong to it.

regards, tom lane

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Chris Gamache 2004-02-03 16:08:13 Re: Alternative to "Money" ...
Previous Message Matt Clark 2004-02-03 14:42:40 Re: Alternative to "Money" ...