Search Postgresql Archives

Can update triggers detect the column in the update statement?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.)


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux