Stop trigger fireing for a specific user?

Поиск
Список
Период
Сортировка
От Glyn Astill
Тема Stop trigger fireing for a specific user?
Дата
Msg-id 382802.10822.qm@web25803.mail.ukl.yahoo.com
обсуждение исходный текст
Ответы Re: Stop trigger fireing for a specific user?  (Richard Huxton <dev@archonet.com>)
Список pgsql-general
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
theC 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
matchedmy user. 




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

Предыдущее
От: Yi Zhao
Дата:
Сообщение: Re: how to return the first record from the sorted records which may have duplicated value.
Следующее
От: "Pavel Stehule"
Дата:
Сообщение: Re: Synchronize two similar tables: recursive triggers