Re: why is there no TRIGGER ON SELECT ?

Поиск
Список
Период
Сортировка
От Melvin Davidson
Тема Re: why is there no TRIGGER ON SELECT ?
Дата
Msg-id 943294.93531.qm@web121808.mail.ne1.yahoo.com
обсуждение исходный текст
Ответ на Re: why is there no TRIGGER ON SELECT ?  (Dmitriy Igrishin <dmitigr@gmail.com>)
Ответы Re: why is there no TRIGGER ON SELECT ?  (Dmitriy Igrishin <dmitigr@gmail.com>)
Re: why is there no TRIGGER ON SELECT ?  ("David Johnston" <polobo@yahoo.com>)
Список pgsql-general
Dmitriy

>Why not use function which returns table and wrap the
>logging (auditing) code in it ?

Because to use a trigger function, you need a trigger, and as previously stated, you cannot have a trigger on select. The same applies for a rule.

Melvin Davidson



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

Предыдущее
От: Geoffrey Myers
Дата:
Сообщение: Re: disable triggers using psql
Следующее
От: Dmitriy Igrishin
Дата:
Сообщение: Re: why is there no TRIGGER ON SELECT ?