X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (neptune.hub.org [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id B7742D1B4BE for ; Mon, 5 Jan 2004 16:34:33 +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 15294-01 for ; Mon, 5 Jan 2004 12:33:42 -0400 (AST) Received: from lorax.kcilink.com (lorax.kciLink.com [206.112.95.1]) by svr1.postgresql.org (Postfix) with ESMTP id B4AA5D1B511 for ; Mon, 5 Jan 2004 12:33:43 -0400 (AST) Received: from localhost (localhost [127.0.0.1]) by lorax.kcilink.com (Postfix) with ESMTP id 521DB3EA4 for ; Mon, 5 Jan 2004 11:33:42 -0500 (EST) Received: from lorax.kcilink.com ([127.0.0.1]) by localhost (lorax.kcilink.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 08645-05 for ; Mon, 5 Jan 2004 11:33:41 -0500 (EST) Received: from lorax.kcilink.com (localhost [127.0.0.1]) by lorax.kcilink.com (Postfix) with ESMTP id 98CF43E0B for ; Mon, 5 Jan 2004 11:33:41 -0500 (EST) Received: (from news@localhost) by lorax.kcilink.com (8.12.9p2/8.12.9/Submit) id i05GXfxX021441 for pgsql-performance@postgresql.org; Mon, 5 Jan 2004 11:33:41 -0500 (EST) (envelope-from news) To: pgsql-performance@postgresql.org Path: not-for-mail From: Vivek Khera Newsgroups: ml.postgres.performance Subject: Re: deferred foreign keys Date: Mon, 05 Jan 2004 11:33:40 -0500 Organization: Khera Communications, Inc., Rockville, MD Lines: 18 Message-ID: References: <3FF4FA25.7050802@familyhealth.com.au> NNTP-Posting-Host: yertle.kcilink.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: lorax.kcilink.com 1073320421 5889 65.205.34.180 (5 Jan 2004 16:33:41 GMT) X-Complaints-To: daemon@kciLink.com NNTP-Posting-Date: Mon, 5 Jan 2004 16:33:41 +0000 (UTC) User-Agent: Gnus/5.1002 (Gnus v5.10.2) XEmacs/21.4 (Reasonable Discussion, berkeley-unix) Cancel-Lock: sha1:EsrsYGpOQBiYOgOR8KaF8iTuglM= X-Virus-Scanned: by amavisd-new at kciLink.com X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200401/36 X-Sequence-Number: 5211 >>>>> "CK" == Christopher Kings-Lynne writes: >> One more question: does the FK checker know to skip checking a >> constraint if the column in question did not change during an update? CK> As of 7.4, yes the check is skipped. Thanks. Then it sorta makes it moot for me to try deferred checks, since the Pimary and Foreign keys never change once set. I wonder what is making the transactions appear to run lockstep, then... -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Vivek Khera, Ph.D. Khera Communications, Inc. Internet: khera@kciLink.com Rockville, MD +1-301-869-4449 x806 AIM: vivekkhera Y!: vivek_khera http://www.khera.org/~vivek/