pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Gregory Wood <gregw@com-stock.com>
To: Jan Wieck <JanWieck@Yahoo.com>
Cc: PostgreSQL-General <pgsql-general@postgresql.org>
Subject: Re: protected ON DELETE CASCADE
Date: Thu, 23 Aug 2001 10:48:19 -0400
Message-ID: <003301c12be2$a72afc60$7889ffcc@comstock.com> (raw)
References: <200108231355.f7NDtb301413@jupiter.us.greatbridge.com>

>     key  constraint  is  ON  DELETE  NO ACTION, which confusingly
>     enough aborts the transaction (it's defined that way  in  the
>     SQL  standard,  don't  ask  me why they called it NO ACTION).

NO ACTION because it takes no action on the child record? Makes sense when
you consider that otherwise you either CASCADE the delete to the child or
SET NULL for the child.

Greg




view thread (7+ messages)  latest in thread

Message-ID: <003301c12be2$a72afc60$7889ffcc@comstock.com>
Permalink:  ../003301c12be2$a72afc60$7889ffcc@comstock.com/
Also on:    postgresql.org/message-id/003301c12be2$a72afc60$7889ffcc@comstock.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: gregw@com-stock.com, JanWieck@Yahoo.com, pgsql-general@postgresql.org
  Subject: Re: protected ON DELETE CASCADE
  In-Reply-To: <003301c12be2$a72afc60$7889ffcc@comstock.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