Search Postgresql Archives

Re: How to execute 'set session role' from plpgsql function?

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

 



 Thanks. You suggestion helped me to find a solution!
 
 DECLARE
    ...
    query text;
 BEGIN 
    ....
    query := query :='SET SESSION ROLE ' || wishedrole;
    EXECUTE query;
    ......
 



[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