Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 3CD7E48CEBB for ; Thu, 17 Nov 2011 01:21:40 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 72655-01-2 for ; Thu, 17 Nov 2011 05:21:33 +0000 (UTC) Received: from makus.postgresql.org (makus.postgresql.org [98.129.198.125]) by mail.postgresql.org (Postfix) with ESMTP id 2234F11D48D2 for ; Thu, 17 Nov 2011 01:21:02 -0400 (AST) Received: from smtp.01.com ([216.115.88.169]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1RQuPA-0001St-RQ for pgsql-hackers@postgresql.org; Thu, 17 Nov 2011 05:21:01 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp-out-1.01.com (Postfix) with ESMTP id 7622C9D0351 for ; Wed, 16 Nov 2011 23:20:44 -0600 (CST) X-Virus-Scanned: amavisd-new at smtp-out-1.01.com Received: from smtp.01.com ([127.0.0.1]) by localhost (smtp-out-1.01.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fzw-8SPD3O3E for ; Wed, 16 Nov 2011 23:20:44 -0600 (CST) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp-out-1.01.com (Postfix) with ESMTP id 57F2F9D035E for ; Wed, 16 Nov 2011 23:20:44 -0600 (CST) Received: from Sidney-Stratton.local (70-36-143-92.dsl.dynamic.sonic.net [70.36.143.92]) by smtp-out-1.01.com (Postfix) with ESMTPSA id 3864D9D0351 for ; Wed, 16 Nov 2011 23:20:44 -0600 (CST) Message-ID: <4EC499AB.6070602@agliodbs.com> Date: Wed, 16 Nov 2011 21:20:43 -0800 From: Josh Berkus Organization: PostgreSQL Experts Inc. User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.24) Gecko/20111103 Lightning/1.0b2 Thunderbird/3.1.16 MIME-Version: 1.0 To: pgsql-hackers@postgresql.org Subject: Re: [PATCH] Support for foreign keys with arrays References: <4EB3DF02.4020604@2ndQuadrant.it> <20111117042841.GA20517@tornado.leadboat.com> <1652.1321506512@sss.pgh.pa.us> <4EC49777.5070000@agliodbs.com> In-Reply-To: <4EC49777.5070000@agliodbs.com> X-Enigmail-Version: 1.1.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-5 required=5 tests=BAYES_00=-1.9 X-Spam-Level: X-Archive-Number: 201111/1046 X-Sequence-Number: 198531 Folks, BTW, I don't want to block this patch. However, it occurs to me that a more generalized FK based on non-equality conditions (i.e. expressions) would be nice if it were possible. Then we could have FKs from all kinds of complex structures. -- Josh Berkus PostgreSQL Experts Inc. http://pgexperts.com