From: Tom Lane <tgl@sss.pgh.pa.us>
To: domingo@dad-it.com
Cc: pgsql-sql@postgresql.org
Subject: Re: A bug in triggers PG 7.1.3 or misunderstand ?
Date: Thu, 27 Sep 2001 12:32:53 -0400
Message-ID: <28856.1001608373@sss.pgh.pa.us> (raw)
In-Reply-To: <70a76315.0109250034.4b1603c7@posting.google.com>
References: <70a76315.0109250034.4b1603c7@posting.google.com>
I think you need "return old", not "return new", in the body of the
trigger if you want the delete to take place. new would be NULL in
a delete situation ...
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, domingo@dad-it.com
Subject: Re: A bug in triggers PG 7.1.3 or misunderstand ?
In-Reply-To: <28856.1001608373@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