Re: How to find out who is calling the function - Mailing list pgsql-general

From Tom Lane
Subject Re: How to find out who is calling the function
Date
Msg-id 19038.1086448620@sss.pgh.pa.us
Whole thread Raw
In response to How to find out who is calling the function  ("BARTKO Zoltan" <bartko.zoltan@pobox.sk>)
Responses Re: How to find out who is calling the function  (Greg Stark <gsstark@mit.edu>)
List pgsql-general
"BARTKO Zoltan" <bartko.zoltan@pobox.sk> writes:
> caller() is the function I am looking for.

The closest thing you will find is SESSION_USER.

            regards, tom lane

pgsql-general by date:

Previous
From: "Scot L. Harris"
Date:
Subject: Re: row access
Next
From: Terry Lee Tucker
Date:
Subject: Re: Queries slow from within plpgsql