Re: Feature request from irc...

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Feature request from irc...
Дата
Msg-id 4677.1120019029@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Feature request from irc...  (Christopher Kings-Lynne <chriskl@familyhealth.com.au>)
Список pgsql-hackers
Christopher Kings-Lynne <chriskl@familyhealth.com.au> writes:
> Is it possible for a pl/pgsql trigger function to look at the sql 
> command that caused it to be triggered?  If not, is this an idea?

What exactly is the use case for this?  It cannot have anything to do
with assuming that you know what has happened or will happen, since
you cannot know how the original query behavior has been modified by
triggers that fired before you did or will fire after you.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Odd message with initdb on latest HEAD
Следующее
От: Robert Treat
Дата:
Сообщение: Re: Implementing SQL/PSM for PG 8.2 - debugger