Re: My connection only - Disable Trigger

From: Robert Treat <xzilla(at)users(dot)sourceforge(dot)net>
To: Eko Pranoto <koprapostgresql(at)telkom(dot)net>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: My connection only - Disable Trigger
Date: 2004-05-21 20:46:51
Message-ID: 1085172411.29461.1554.camel@camel
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message LSanchez 2004-05-21 21:01:03 Re: pg_hba.conf
Previous Message Robert Treat 2004-05-21 20:43:18 Re: Clustering Postgres