Re: Unable to select a table as postgres user - Mailing list pgsql-general

From Pavel Stehule
Subject Re: Unable to select a table as postgres user
Date
Msg-id CAFj8pRBVdz0wWa89GyeHctuNvH=fvAyRVEd=A=ZEg6h1H_Lg8A@mail.gmail.com
Whole thread Raw
In response to Re: Unable to select a table as postgres user  (rajan <vgmonnet@gmail.com>)
Responses Re: Unable to select a table as postgres user  (rajan <vgmonnet@gmail.com>)
List pgsql-general


2015-10-30 7:56 GMT+01:00 rajan <vgmonnet@gmail.com>:
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.

who owns this function?

 

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

pgsql-general by date:

Previous
From: rajan
Date:
Subject: Re: Unable to select a table as postgres user
Next
From: Charles Clavadetscher
Date:
Subject: Re: Unable to select a table as postgres user