pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Robert Treat <xzilla@users.sourceforge.net>
To: Eko Pranoto <koprapostgresql@telkom.net>
Cc: pgsql-admin@postgresql.org
Subject: Re: My connection only - Disable Trigger
Date: 21 May 2004 16:46:51 -0400
Message-ID: <1085172411.29461.1554.camel@camel> (raw)
In-Reply-To: <opr8cdf1pvb3f079@smtp.telkom.net>
References: <opr8cdf1pvb3f079@smtp.telkom.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




view thread (2+ messages)

Message-ID: <1085172411.29461.1554.camel@camel>
Permalink:  ../1085172411.29461.1554.camel@camel/
Also on:    postgresql.org/message-id/1085172411.29461.1554.camel@camel

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: xzilla@users.sourceforge.net, koprapostgresql@telkom.net
  Subject: Re: My connection only - Disable Trigger
  In-Reply-To: <1085172411.29461.1554.camel@camel>
  References: <opr8cdf1pvb3f079@smtp.telkom.net> <1085172411.29461.1554.camel@camel>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox