Function name variable within a non-trigger function

Поиск
Список
Период
Сортировка
От Berend Tober
Тема Function name variable within a non-trigger function
Дата
Msg-id 4385DFD3.6010604@seaworthysys.com
обсуждение исходный текст
Ответы Re: Function name variable within a non-trigger function  (Michael Fuhr <mike@fuhr.org>)
Список pgsql-general
I know that within a trigger function the functin name can be referenced
by the special variable TG_NAME, so I could include raise an exception
that identified its source with a line like:

      RAISE EXCEPTION ''ERROR IN %'', TG_NAME;

Is there a similar set of special variables defined for "normal", i.e.,
non-trigger functions, too?



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Errors with temporary tables
Следующее
От: Adam Witney
Дата:
Сообщение: Re: "invalid page header in block 597621 of relation..."error