X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (neptune.hub.org [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id C707ED1D89A for ; Mon, 19 Jan 2004 10:35:22 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 70048-01 for ; Mon, 19 Jan 2004 06:34:54 -0400 (AST) Received: from megazone.bigpanda.com (megazone.bigpanda.com [64.147.171.210]) by svr1.postgresql.org (Postfix) with ESMTP id E44F9D1D899 for ; Mon, 19 Jan 2004 06:34:51 -0400 (AST) Received: by megazone.bigpanda.com (Postfix, from userid 1001) id 04165356C2; Mon, 19 Jan 2004 02:33:31 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by megazone.bigpanda.com (Postfix) with ESMTP id 02AE2356C0; Mon, 19 Jan 2004 02:33:31 -0800 (PST) Date: Mon, 19 Jan 2004 02:33:30 -0800 (PST) From: Stephan Szabo To: denis@coralindia.com Cc: pgsql-sql@postgresql.org Subject: Re: Initially Deffered - FK In-Reply-To: <00ad01c3dbf1$f596ae00$0f32a8c0@denisnew> Message-ID: <20040119023010.Y38138@megazone.bigpanda.com> References: <006601c3dbea$02295800$0f32a8c0@denisnew> <20040115211617.C53092@megazone.bigpanda.com> <00ad01c3dbf1$f596ae00$0f32a8c0@denisnew> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200401/166 X-Sequence-Number: 16559 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.