From: Tom Lane <tgl@sss.pgh.pa.us>
To: miguel@ipatimup.pt
Cc: pgsql-general@postgresql.org
Subject: Re: Trigger issue, bug? on 7.2.1
Date: Tue, 18 Mar 2003 09:34:20 -0500
Message-ID: <19094.1047998060@sss.pgh.pa.us> (raw)
In-Reply-To: <2108.213.13.176.13.1047995196.squirrel@www.ipatimup.pt>
References: <2108.213.13.176.13.1047995196.squirrel@www.ipatimup.pt>
"Miguel Carvalho" <miguel@ipatimup.pt> writes:
> The trigger code will force another trigger fire because of the changes
> in the record. I'm i right?
No, altering the NEW record doesn't cause any additional trigger
firings. If it did, such a trigger would be infinitely recursive.
Your DELETE issued by the trigger would cause firing of ON DELETE
triggers, but not another firing of ON UPDATE.
regards, tom lane
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: tgl@sss.pgh.pa.us, miguel@ipatimup.pt, pgsql-general@postgresql.org
Subject: Re: Trigger issue, bug? on 7.2.1
In-Reply-To: <19094.1047998060@sss.pgh.pa.us>
* 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