Re: How to find out who is calling the function

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: How to find out who is calling the function
Дата
Msg-id 19038.1086448620@sss.pgh.pa.us
обсуждение исходный текст
Ответ на How to find out who is calling the function  ("BARTKO Zoltan" <bartko.zoltan@pobox.sk>)
Ответы Re: How to find out who is calling the function  (Greg Stark <gsstark@mit.edu>)
Список 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 по дате отправления:

Предыдущее
От: "Scot L. Harris"
Дата:
Сообщение: Re: row access
Следующее
От: Terry Lee Tucker
Дата:
Сообщение: Re: Queries slow from within plpgsql