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
Ответ на
Список
Дерево обсуждения
Unable to select a table as postgres user rajan <vgmonnet@gmail.com>
Re: Unable to select a table as postgres user John R Pierce <pierce@hogranch.com>
Re: Unable to select a table as postgres user Pavel Stehule <pavel.stehule@gmail.com>
Re: Unable to select a table as postgres user rajan <vgmonnet@gmail.com>
Re: Unable to select a table as postgres user Charles Clavadetscher <clavadetscher@swisspug.org>
Re: Unable to select a table as postgres user rajan <vgmonnet@gmail.com>
Re: Unable to select a table as postgres user Joe Conway <mail@joeconway.com>
Re: Unable to select a table as postgres user Pavel Stehule <pavel.stehule@gmail.com>
Re: Unable to select a table as postgres user rajan <vgmonnet@gmail.com>
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 по дате отправления
От: Pavel Stehule
Дата:
От: rajan
Дата:
FAQ