Re: [GENERAL] How to find out who is calling the function

2004-06-07 Thread Duane Lee - EGOVX
Why not use CURRENT_USER? -Original Message-From: BARTKO Zoltan [mailto:[EMAIL PROTECTED]Sent: Friday, June 04, 2004 10:34 PMTo: [EMAIL PROTECTED]Subject: [GENERAL] How to find out who is calling the function Dear friends,   I had a look at www.pgsql.ru, looking for

Re: [GENERAL] How to find out who is calling the function

2004-06-05 Thread Greg Stark
Tom Lane <[EMAIL PROTECTED]> writes: > "BARTKO Zoltan" <[EMAIL PROTECTED]> writes: > > caller() is the function I am looking for. > > The closest thing you will find is SESSION_USER. I think you can have to have a trigger that compared session_user with the value of the column in OLD and blocked

Re: [GENERAL] How to find out who is calling the function

2004-06-05 Thread Tom Lane
"BARTKO Zoltan" <[EMAIL PROTECTED]> writes: > caller() is the function I am looking for. The closest thing you will find is SESSION_USER. regards, tom lane ---(end of broadcast)--- TIP 7: don't forget to increase your free s