My connection only - Disable Trigger

Поиск
Список
Период
Сортировка
Искать

My connection only - Disable Trigger

От:
"Eko Pranoto" <koprapostgresql@telkom.net>
Дата:

My friends, I apologize if my english language is bad.

I have question about trigger..

How to disable trigger, ONLY for my connection
NOT others people connection (they will use the trigger)
any solution ?

Regards,

Eko pranoto

Re: My connection only - Disable Trigger

От:
Robert Treat <xzilla@users.sourceforge.net>
Дата:
On Fri, 2004-05-21 at 04:49, Eko Pranoto wrote:
> 
> My friends, I apologize if my english language is bad.
> 
> I have question about trigger..
> 
> How to disable trigger, ONLY for my connection
> NOT others people connection (they will use the trigger)
> any solution ?
> 

One way would be to have the trigger function check for the CURRENT_USER
setting and then act accordingly.

Robert Treat
-- 
Build A Brighter Lamp :: Linux Apache {middleware} PostgreSQL

FAQ