Re: How to find out who is calling the function

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "BARTKO Zoltan" <bartko(dot)zoltan(at)pobox(dot)sk>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: How to find out who is calling the function
Date: 2004-06-05 15:17:00
Message-ID: 19038.1086448620@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"BARTKO Zoltan" <bartko(dot)zoltan(at)pobox(dot)sk> writes:
> caller() is the function I am looking for.

The closest thing you will find is SESSION_USER.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Bambero 2004-06-05 16:35:29 row access
Previous Message Tom Lane 2004-06-05 15:15:34 Re: Queries slow from within plpgsql