Can update triggers detect the column in the update statement? - Mailing list pgsql-general

From Ben Chobot
Subject Can update triggers detect the column in the update statement?
Date
Msg-id 90146BCC-5499-4F84-873D-F81E2876DC3C@silentmedia.com
Whole thread Raw
Responses 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>)
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: feature idea
Next
From: Klint Gore
Date:
Subject: Re: feature idea