From: Tom Lane <tgl@sss.pgh.pa.us>
To: Peter Koczan <pjkoczan@gmail.com>
Cc: pgsql-admin <pgsql-admin@postgresql.org>
Subject: Re: pg_dumpall problems
Date: Tue, 30 Jan 2007 19:26:24 -0500
Message-ID: <13724.1170203184@sss.pgh.pa.us> (raw)
In-Reply-To: <4544e0330701301534r5cb09722i5665f2f406dd29fc@mail.gmail.com>
References: <4544e0330701291303u2ed1d2bclff520f6ecc99e832@mail.gmail.com>
<20835.1170110152@sss.pgh.pa.us>
<4544e0330701301534r5cb09722i5665f2f406dd29fc@mail.gmail.com>
"Peter Koczan" <pjkoczan@gmail.com> 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_dumpall, only the server, and the same bug occurs if I run as the user on
> the same server and cluster with the same major version.
You still haven't responded to my query: did you try it in the same
database that pg_dumpall is connecting to? My guess is that you have
munged the permissions on pg_shadow or pg_authid without understanding
that that will only take effect in the one database you do it in.
pg_dumpall is connecting to either "postgres" or "template1" depending
on version; what's the permissions situation in that database?
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: tgl@sss.pgh.pa.us, pjkoczan@gmail.com
Subject: Re: pg_dumpall problems
In-Reply-To: <13724.1170203184@sss.pgh.pa.us>
References: <4544e0330701291303u2ed1d2bclff520f6ecc99e832@mail.gmail.com> <20835.1170110152@sss.pgh.pa.us> <4544e0330701301534r5cb09722i5665f2f406dd29fc@mail.gmail.com> <13724.1170203184@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
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