Re: Permission denied error - best way to fix?

From: pasman pasmański <pasman(dot)p(at)gmail(dot)com>
To: Mike Christensen <mike(at)kitchenpc(dot)com>, pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Permission denied error - best way to fix?
Date: 2011-02-08 20:40:57
Message-ID: AANLkTin5=GMQDYAgrCO4D+UctACQy-zL3jAZzQuPy=yT@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

2011/2/8, Mike Christensen <mike(at)kitchenpc(dot)com>:
> 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)..
>

this lock need only SELECT privilege.
------------
pasman

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2011-02-08 20:46:19 Re: Permission denied error - best way to fix?
Previous Message MargaretGillon 2011-02-08 20:36:25 Re: CRUD functions, similar to SQL stored procedurs, for postgresql tables?