Search Postgresql Archives

Re: Invoking user of the function with SECURITY DEFINER

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Looked like a bug.

> 25 нояб. 2018 г., в 14:50, Madan Kumar <madankumar1993@xxxxxxxxx> написал(а):
> 
> Got it..
> In my case i was getting session_user in declare section and trying to validate later which always resulted in the function owner.
>  DECLARE
> 	user text := SESSION_USER;
> 
> So using it within the BEGIN; ...; END; clause worked for me.
> Thanks.
> 
> 
> Warm Regards,
> Madan Kumar K
>  







[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux