Thread: My connection only - Disable Trigger

My connection only - Disable Trigger

From
"Eko Pranoto"
Date:
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

From
Robert Treat
Date:
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