pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: cnliou@eurosport.com
To: pgsql-sql@postgresql.org
Subject: Foreign Key Constraint Deletion Order
Date: Mon, 19 Nov 2001 00:30:25 GMT
Message-ID: <200111190030.197e@lh00.opsion.fr> (raw)

I have found from a small number of tests that
deletions executed by foreign key constraint does NOT
guarantee the detail table to be deleted BEFORE
master table. This makes some of my trigger functions
assocated with the detail table mulfunction because
the trigger function can't find its parent record.

Is there any plan to change the foreign key
constraint deletion (and update in
master-then-detail) order?

Thanks you all!

CN

--------------------------------------------------------
You too can have your own email address from Eurosport.
http://www.eurosport.com








view thread (8+ messages)  latest in thread

Message-ID: <200111190030.197e@lh00.opsion.fr>
Permalink:  ../200111190030.197e@lh00.opsion.fr/
Also on:    postgresql.org/message-id/200111190030.197e@lh00.opsion.fr

 · 

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: cnliou@eurosport.com
  Subject: Re: Foreign Key Constraint Deletion Order
  In-Reply-To: <200111190030.197e@lh00.opsion.fr>

* 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