pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Stephan Szabo <sszabo@megazone.bigpanda.com>
To: denis@coralindia.com
Cc: pgsql-sql@postgresql.org
Subject: Re: Initially Deffered - FK
Date: Mon, 19 Jan 2004 02:33:30 -0800 (PST)
Message-ID: <20040119023010.Y38138@megazone.bigpanda.com> (raw)
In-Reply-To: <00ad01c3dbf1$f596ae00$0f32a8c0@denisnew>
References: <006601c3dbea$02295800$0f32a8c0@denisnew>
	<20040115211617.C53092@megazone.bigpanda.com>
	<00ad01c3dbf1$f596ae00$0f32a8c0@denisnew>


On Fri, 16 Jan 2004 denis@coralindia.com wrote:

> Thanks for your reply.
>
> But, you will agree that result should be same JUST BEFORE and JUST AFTER
> commit ( assuming no one is working on the database and i am the only user
> connected.)

If you use the definition we're using now, then no, the above is not true.
The row would still exist just before commit because the on delete action
has not happened.  The row would not exist just after commit because the
on delete action now has. Whether this definition is correct per spec is
hard to say, but there've been arguments on the subject in the past that
have generally ended without a firm understanding of the specs intention.





view thread (6+ messages)  latest in thread

Message-ID: <20040119023010.Y38138@megazone.bigpanda.com>
Permalink:  ../20040119023010.Y38138@megazone.bigpanda.com/
Also on:    postgresql.org/message-id/20040119023010.Y38138@megazone.bigpanda.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: sszabo@megazone.bigpanda.com, denis@coralindia.com
  Subject: Re: Initially Deffered - FK
  In-Reply-To: <20040119023010.Y38138@megazone.bigpanda.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