Re: Unable to select a table as postgres user
От | Charles Clavadetscher |
---|---|
Тема | Re: Unable to select a table as postgres user |
Дата | |
Msg-id | 56331A9B.9030309@swisspug.org обсуждение исходный текст |
Ответ на | Re: Unable to select a table as postgres user (rajan <vgmonnet@gmail.com>) |
Ответы |
Re: Unable to select a table as postgres user
|
Список | pgsql-general |
Hi What error do you get? - Permission denied or table does not exist? Latter would indicate a problem with the search_path and you should fully qualify the table name in the function body. - Did you create the function as postgres user? Bye Charles On 30/10/2015 07:56, rajan wrote: > Yes. I agree that the superuser cannot be restricted with any access. > > But my scenarios is, I am executing a function(VOLATILE SECURITY DEFINER) > using the superuser and it function fails with unable to select a particular > table. > > At the same time, I am able to select the table as a superuser, by executing > select * from table_name; > > > > -- > View this message in context: http://postgresql.nabble.com/Unable-to-select-a-table-as-postgres-user-tp5872036p5872041.html > Sent from the PostgreSQL - general mailing list archive at Nabble.com. > >
В списке pgsql-general по дате отправления: