In other words, I need to get an information about *current* role of the caller
inside the SECURITY DEFINER function.
2013/12/4 Dmitriy Igrishin <dmitigr@xxxxxxxxx>
2013/12/4 Pavel Stehule <pavel.stehule@xxxxxxxxx>
Hellopls, try session_userNot really :-(. The user can perform SET ROLE before calling the SECURITYDEFINER function and I need to know who is the caller at the time of call.I need something like a calling_user() function...--
// Dmitriy.
// Dmitriy.