Re: pg_dumpall: permission denied for relation pg_shadow

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: CSN <cool_screen_name90001(at)yahoo(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: pg_dumpall: permission denied for relation pg_shadow
Date: 2006-03-16 23:10:41
Message-ID: 22901.1142550641@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

CSN <cool_screen_name90001(at)yahoo(dot)com> writes:
> I tried using pg_dumpall and got this error:
> pg_dumpall: query failed: ERROR: permission denied
> for relation pg_shadow

You really need to run that as superuser.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Chris 2006-03-16 23:45:16 Re: \copy combine with SELECT
Previous Message Tony Caduto 2006-03-16 22:48:31 Re: About index for temporay table in a plpgsql function