Can update triggers detect the column in the update statement?

Поиск
Список
Период
Сортировка
От Ben Chobot
Тема Can update triggers detect the column in the update statement?
Дата
Msg-id 90146BCC-5499-4F84-873D-F81E2876DC3C@silentmedia.com
обсуждение исходный текст
Ответы Re: Can update triggers detect the column in the update statement?  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: Can update triggers detect the column in the update statement?  (Martin Gainty <mgainty@hotmail.com>)
Список pgsql-general
Say I have:

create t (c1 int not null, c2 int);

Is it possible to create an update trigger on t such updates will only
be allowed if the update statement explicitly sets c1, even if the new
value is the same?


(I'm trying to write a change log system where the users are
application users, not database users.)

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: feature idea
Следующее
От: Klint Gore
Дата:
Сообщение: Re: feature idea