Permission denied error - best way to fix?

From: Mike Christensen <mike(at)kitchenpc(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Permission denied error - best way to fix?
Date: 2011-02-08 18:57:05
Message-ID: AANLkTim2Xc087ADQnZsrGupyop=XQN_ZiPi5JfmCT_mw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Here's the error:

pg_dump: SQL command failed
pg_dump: Error message from server: ERROR: permission denied for
relation pantryitems
pg_dump: The command was: LOCK TABLE public.pantryitems IN ACCESS SHARE MODE

Does the user need to be a superuser, or is there some way to GRANT
this permission (if possible, I don't want this user to be able to
modify the schema)..

Mike

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Andreas Kretschmer 2011-02-08 19:28:45 Re: Displaying text appears as hex data
Previous Message Thom Brown 2011-02-08 18:56:16 Re: Displaying text appears as hex data