show fct_name of the function/procedure

Поиск
Список
Период
Сортировка
От ft
Тема show fct_name of the function/procedure
Дата
Msg-id 4e6435ceb793472cf52fdbd196f9d50c84469619.camel@ft-c.de
обсуждение исходный текст
Ответы Re: show fct_name of the function/procedure  ("David G. Johnston" <david.g.johnston@gmail.com>)
Список pgsql-general
Hello,

I need (a very simple construct) to show the fct_name/proc_name 
for the function/procedure.

Example:
create procedure/function bet_process() as
$$
declare
 pid      int  := pg_backend_pid() ; --  it works fine
 fct_name text := pg_fct_name()    ; --  I need it
begin
 -- do s.th like
 -- call log(pid, fct_name, 'my message');
end;
$$ language plpgsql;

Franz




В списке pgsql-general по дате отправления:

Предыдущее
От: Sasmit Utkarsh
Дата:
Сообщение: Re: Stess test via libpq for postgreSQL DB
Следующее
От: "David G. Johnston"
Дата:
Сообщение: Re: show fct_name of the function/procedure