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.
--
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general