Re: Permission denied error - best way to fix? - Mailing list pgsql-general

From pasman pasmański
Subject Re: Permission denied error - best way to fix?
Date
Msg-id AANLkTin5=GMQDYAgrCO4D+UctACQy-zL3jAZzQuPy=yT@mail.gmail.com
Whole thread Raw
In response to Permission denied error - best way to fix?  (Mike Christensen <mike@kitchenpc.com>)
List pgsql-general
2011/2/8, Mike Christensen <mike@kitchenpc.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

pgsql-general by date:

Previous
From: MargaretGillon@chromalloy.com
Date:
Subject: Re: CRUD functions, similar to SQL stored procedurs, for postgresql tables?
Next
From: Adrian Klaver
Date:
Subject: Re: Permission denied error - best way to fix?