obtaining the query string inside a trigger

Поиск
Список
Период
Сортировка
От Gerardo Herzig
Тема obtaining the query string inside a trigger
Дата
Msg-id 478D25B7.8030308@fmed.uba.ar
обсуждение исходный текст
Ответы Re: obtaining the query string inside a trigger  (Richard Huxton <dev@archonet.com>)
Список pgsql-sql
Hi all. Im working on a "on each statement" update trigger, so NEW and 
OLD are NULL.
Suppose a simple query like 'update mytable set id=id+500 where id < 
50'...There is a way to obtaining the 'set id=..' and the where clause
in some way?

Thanks!
Gerardo


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

Предыдущее
От: "Rodrigo E. De León Plicet"
Дата:
Сообщение: Re: SQL dealing with subquery
Следующее
От: Richard Huxton
Дата:
Сообщение: Re: obtaining the query string inside a trigger