pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ludwig Lim <lud_nowhere_man@yahoo.com>
To: PostgreSQL Mailing List <pgsql-sql@postgresql.org>
Subject: More than 1 trigger of the same kind
Date: Fri, 8 Nov 2002 19:35:33 -0800 (PST)
Message-ID: <20021109033533.20773.qmail@web80313.mail.yahoo.com> (raw)

Hi:

   Can I have more than 1 trigger of same kind on one
table? (i.e. 2 AFTER INSERT TRIGGER) on 1 table?

   I'm planning to split up a large trigger function
(about 200 lines) into 2 seperate triggers. Since
PL/PGSQL functions cannot accepts OPAQUE as arguments,
I have to create 2 triggers instead of just creating 2
functions and having the trigger function calling
another function passing the record NEW and OLD.

   Does having more than 1 trigger of the same kind
produces some side effect? I mean is the order of the
trigger firing is always the same?

Thank you in advance,
ludwig.
  


__________________________________________________
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com



view thread (3+ messages)  latest in thread

Message-ID: <20021109033533.20773.qmail@web80313.mail.yahoo.com>
Permalink:  ../20021109033533.20773.qmail@web80313.mail.yahoo.com/
Also on:    postgresql.org/message-id/20021109033533.20773.qmail@web80313.mail.yahoo.com

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: lud_nowhere_man@yahoo.com
  Subject: Re: More than 1 trigger of the same kind
  In-Reply-To: <20021109033533.20773.qmail@web80313.mail.yahoo.com>

* 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