Search Postgresql Archives

Stop trigger fireing for a specific user?

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

 



I've a trigger written in C and I want to stop it fireing for a specific user. Is ther any way to do this outside of the C code in the trigger function?

The only way I can think so far is to do a select SESSION_USER in the trigger function and skip the action if it matched my user.





[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