Re: [ADMIN] pg_dumpall problems

2007-01-31 Thread Peter Koczan
On 1/30/07, Tom Lane <[EMAIL PROTECTED]> wrote: "Peter Koczan" <[EMAIL PROTECTED]> writes: > So, is there any remedy to my problem (see below) short of granting > superuser access? Is this a bug (which I would then report on the > appropriate channels)? It's not a bug. > As for Tom's suggestio

Re: [ADMIN] pg_dumpall problems

2007-01-30 Thread Tom Lane
"Peter Koczan" <[EMAIL PROTECTED]> writes: > So, is there any remedy to my problem (see below) short of granting > superuser access? Is this a bug (which I would then report on the > appropriate channels)? It's not a bug. > As for Tom's suggestion, there's no way to specify the database in > pg_d

Re: [ADMIN] pg_dumpall problems

2007-01-30 Thread Peter Koczan
I should be a little more specific. The way we currently do backups is that this backup user dumps user/group data (i.e. the --globals-only flag) for pg_dumpall, and we pg_dump individual databases. We grant read access to this backup user for all non-system tables/views/etc. (and usage for non-s

Re: [ADMIN] pg_dumpall problems

2007-01-29 Thread Tom Lane
"Peter Koczan" <[EMAIL PROTECTED]> writes: > Right now, we run pg_dumpall as a non-superuser, [ raised eyebrow... ] That's never been a recommended procedure. > The weird thing is, whenever I run this exact same command from psql as the > backup user, it works. Maybe you're not trying it in the