pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrew Sullivan <ajs@crankycanuck.ca>
To: pgsql-sql@postgresql.org
Subject: Re: Help with trigger that updates a row prior to a potentially aborted deletion?
Date: Fri, 3 Mar 2006 07:42:17 -0500
Message-ID: <20060303124217.GB7057@phlogiston.dyndns.org> (raw)
In-Reply-To: <20060303001928.9C6B719B6A3@smtp03l.fasthosts.co.uk>
References: <20060302121943.GA7057@phlogiston.dyndns.org>
	<20060303001928.9C6B719B6A3@smtp03l.fasthosts.co.uk>

On Fri, Mar 03, 2006 at 12:19:22AM -0000, Simon Kinsella wrote:
> Hi Andrew,
> 
> I think I may have cracked this problem by combining a RULE ON DELETE which
> calls a function instead of the standard DELETE op.  No triggers. It was a

Ah.  Yes, likely.  Yeah, you can't do that.

A

-- 
Andrew Sullivan  | ajs@crankycanuck.ca
I remember when computers were frustrating because they *did* exactly what 
you told them to.  That actually seems sort of quaint now.
		--J.D. Baldwin



view thread (9+ messages)

Message-ID: <20060303124217.GB7057@phlogiston.dyndns.org>
Permalink:  ../20060303124217.GB7057@phlogiston.dyndns.org/
Also on:    postgresql.org/message-id/20060303124217.GB7057@phlogiston.dyndns.org

 · 

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: ajs@crankycanuck.ca
  Subject: Re: Help with trigger that updates a row prior to a potentially aborted deletion?
  In-Reply-To: <20060303124217.GB7057@phlogiston.dyndns.org>

* 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