pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
My connection only - Disable Trigger
2+ messages / 2 participants
[nested] [flat]

* My connection only - Disable Trigger
@ 2004-05-21 08:49 Eko Pranoto <koprapostgresql@telkom.net>
  2004-05-21 20:46 ` Re: My connection only - Disable Trigger Robert Treat <xzilla@users.sourceforge.net>
  0 siblings, 1 reply; 2+ messages in thread

From: Eko Pranoto @ 2004-05-21 08:49 UTC (permalink / raw)
  To: pgsql-admin


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



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: My connection only - Disable Trigger
  2004-05-21 08:49 My connection only - Disable Trigger Eko Pranoto <koprapostgresql@telkom.net>
@ 2004-05-21 20:46 ` Robert Treat <xzilla@users.sourceforge.net>
  0 siblings, 0 replies; 2+ messages in thread

From: Robert Treat @ 2004-05-21 20:46 UTC (permalink / raw)
  To: Eko Pranoto <koprapostgresql@telkom.net>; +Cc: 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




^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2004-05-21 20:46 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2004-05-21 08:49 My connection only - Disable Trigger Eko Pranoto <koprapostgresql@telkom.net>
2004-05-21 20:46 ` Robert Treat <xzilla@users.sourceforge.net>

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