pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedpg_dump privileges
2+ messages / 2 participants
[nested] [flat]
* pg_dump privileges
@ 2004-02-03 13:54 Mark Lubratt <mark.lubratt@indeq.com>
0 siblings, 1 reply; 2+ messages in thread
From: Mark Lubratt @ 2004-02-03 13:54 UTC (permalink / raw)
To: pgsql-admin
Hello,
I'll get right to the point.
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. I have a
language, a function and sequences, views and tables in my schema.
What privileges are needed for pg_dump to run in addition to USAGE (for
the language), EXECUTE (for the function) and SELECT (tables, views and
sequences)?
Thanks!
Mark
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: pg_dump privileges
@ 2004-02-03 15:21 Tom Lane <tgl@sss.pgh.pa.us>
parent: Mark Lubratt <mark.lubratt@indeq.com>
0 siblings, 0 replies; 2+ messages in thread
From: Tom Lane @ 2004-02-03 15:21 UTC (permalink / raw)
To: Mark Lubratt <mark.lubratt@indeq.com>; +Cc: pgsql-admin
Mark Lubratt <mark.lubratt@indeq.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
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2004-02-03 15:21 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2004-02-03 13:54 pg_dump privileges Mark Lubratt <mark.lubratt@indeq.com>
2004-02-03 15:21 ` Tom Lane <tgl@sss.pgh.pa.us>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox