pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rod Taylor <rbt@rbt.ca>
To: Michael A Nachbaur <mike@nachbaur.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: Need help creating a BEFORE DELETE trigger
Date: 01 Jul 2003 00:41:28 +0000
Message-ID: <1057020087.28657.106.camel@jester> (raw)
In-Reply-To: <200306301445.06935.mike@nachbaur.com>
References: <200306301445.06935.mike@nachbaur.com>

> The problem I'm looking at is: could this cause a recursion problem, where the 
> cascading deletion will try to cause the whole thing to cascade again?  How

It will only be able to delete the row (and cascade) once per row.  The
second time it tries to find the row, the row won't exist anymore.
-- 
Rod Taylor <rbt@rbt.ca>

PGP Key: http://www.rbt.ca/rbtpub.asc

Attachments:

  signature.asc (application/pgp-signature, 186B) download

view thread (2+ messages)

Message-ID: <1057020087.28657.106.camel@jester>
Permalink:  ../1057020087.28657.106.camel@jester/
Also on:    postgresql.org/message-id/1057020087.28657.106.camel@jester

 · 

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: rbt@rbt.ca, mike@nachbaur.com
  Subject: Re: Need help creating a BEFORE DELETE trigger
  In-Reply-To: <1057020087.28657.106.camel@jester>

* 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