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
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
"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