X-Original-To: pgsql-sql-postgresql.org@postgresql.org Received: from localhost (wm.hub.org [200.46.204.128]) by postgresql.org (Postfix) with ESMTP id 0A9C69FCF60 for ; Mon, 28 Aug 2006 11:27:57 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.128]) (amavisd-new, port 10024) with ESMTP id 76753-01 for ; Mon, 28 Aug 2006 14:27:48 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey- Received: from lists.commandprompt.com (host-130.commandprompt.net [207.173.203.130]) by postgresql.org (Postfix) with ESMTP id 8A9999FCF5E for ; Mon, 28 Aug 2006 11:27:48 -0300 (ADT) Received: from alvh.no-ip.org (201-221-200-187.bk11-dsl.surnet.cl [201.221.200.187]) (authenticated bits=0) by lists.commandprompt.com (8.13.7/8.13.6) with ESMTP id k7SERkNG006044; Mon, 28 Aug 2006 07:27:47 -0700 Received: by alvh.no-ip.org (Postfix, from userid 1000) id 33FFDC2DC58; Mon, 28 Aug 2006 10:27:31 -0400 (CLT) Date: Mon, 28 Aug 2006 10:27:31 -0400 From: Alvaro Herrera To: Andrew Sullivan Cc: pgsql-sql@postgresql.org Subject: Re: Create Assertion -- Question from a newbie Message-ID: <20060828142731.GF27526@alvh.no-ip.org> Mail-Followup-To: Andrew Sullivan , pgsql-sql@postgresql.org References: <20060827135437.GA1869@wolff.to> <20060827143949.16261.qmail@web31812.mail.mud.yahoo.com> <20060828104603.GA2492@phlogiston.dyndns.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060828104603.GA2492@phlogiston.dyndns.org> User-Agent: Mutt/1.5.12-2006-07-14 X-Virus-Scanned: ClamAV version 0.88.3, clamav-milter version 0.88.3 on projects.commandprompt.com X-Virus-Status: Clean X-Greylist: Sender succeded SMTP AUTH authentication, not delayed by milter-greylist-1.6 (lists.commandprompt.com [192.168.2.159]); Mon, 28 Aug 2006 07:27:47 -0700 (PDT) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.135 tagged_above=0 required=5 tests=FORGED_RCVD_HELO X-Spam-Level: X-Archive-Number: 200608/220 X-Sequence-Number: 26178 Andrew Sullivan wrote: > On Sun, Aug 27, 2006 at 07:39:49AM -0700, Richard Broersma Jr wrote: > > > Ah, I see. So the points is that checking the integrity between > > two complete data sets can become a preformace killer. > > Not necessarily. More exactly, building a support system that can > check such integrity in a completely general way, such that it could > be used for any arbitrary data, is a hard problem that might destroy > performance. It's also a pretty exotic feature. You might want to > ask on the -hackers list for more detail, though. Well, it's on the SQL standard, so we should look forward to implementing (some form of) it some day. -- Alvaro Herrera http://www.CommandPrompt.com/ PostgreSQL Replication, Consulting, Custom Development, 24x7 support