pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Koczan <pjkoczan@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-admin <pgsql-admin@postgresql.org>
Subject: Re: pg_dumpall problems
Date: Wed, 31 Jan 2007 12:23:05 -0600
Message-ID: <4544e0330701311023t155b4168o8579c6d27cdd66df@mail.gmail.com> (raw)
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>

On 1/30/07, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>
> "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
>

I misunderstood your question. I apologize. Granting access on "postgres"
worked like a charm. Thank you.

Peter

view thread (5+ messages)

Message-ID: <4544e0330701311023t155b4168o8579c6d27cdd66df@mail.gmail.com>
Permalink:  ../4544e0330701311023t155b4168o8579c6d27cdd66df@mail.gmail.com/
Also on:    postgresql.org/message-id/4544e0330701311023t155b4168o8579c6d27cdd66df@mail.gmail.com

 · 

reply

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: pjkoczan@gmail.com, tgl@sss.pgh.pa.us
  Subject: Re: pg_dumpall problems
  In-Reply-To: <4544e0330701311023t155b4168o8579c6d27cdd66df@mail.gmail.com>
  References: <4544e0330701291303u2ed1d2bclff520f6ecc99e832@mail.gmail.com> <20835.1170110152@sss.pgh.pa.us> <4544e0330701301534r5cb09722i5665f2f406dd29fc@mail.gmail.com> <13724.1170203184@sss.pgh.pa.us> <4544e0330701311023t155b4168o8579c6d27cdd66df@mail.gmail.com>

* 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