Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1f6FpA-0003tI-B2 for pgsql-hackers@arkaria.postgresql.org; Wed, 11 Apr 2018 13:30:08 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1f6Fp9-0004Ws-BN for pgsql-hackers@arkaria.postgresql.org; Wed, 11 Apr 2018 13:30:07 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1f6Fp9-0004Wf-0d for pgsql-hackers@lists.postgresql.org; Wed, 11 Apr 2018 13:30:07 +0000 Received: from new1-smtp.messagingengine.com ([66.111.4.221]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1f6Fp5-00088j-Qx for pgsql-hackers@postgresql.org; Wed, 11 Apr 2018 13:30:05 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailnew.nyi.internal (Postfix) with ESMTP id 0D101B87; Wed, 11 Apr 2018 09:30:03 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Wed, 11 Apr 2018 09:30:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:subject:to :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=yli7zRnVsopQovmJ8 CLOZwr0Z9rAaq20kUfU92V5sns=; b=h0a3W+Mcnl87oSK+sB8hNxcDGe+BXHTTc dhzso4ul7kMOXcBUa6fDnHjMmbuuOloxwnNr6arUS+lTVMYPD+TDmixZdQLC+yEj KUYGQ0i/uRiGdiKo1iEs6D3I14I8zyYRVzWqBsgaWPL6MB6eMHJ1REsC9jysMIld XldBuLyMO93WiZ+sABAN7ojfUOWCDoIkZXryjnHCm+I86DnSSiOK+JZDhN/Rs4zU r3F7MHCTOdFLSRhw5B6/QE0pTRk+/m3v1df13xTmL58WvM9PxoHcCiu5JSGrIFkO yxPaP/5ZK8abz7j7eb+olBRmu15MESNWzm49m6/WbrbLoS/4LmqdQ== X-ME-Sender: Received: from alvin.alvh.no-ip.org (unknown [179.56.51.182]) by mail.messagingengine.com (Postfix) with ESMTPA id A30891027A; Wed, 11 Apr 2018 09:30:01 -0400 (EDT) Received: by alvin.alvh.no-ip.org (Postfix, from userid 1000) id F1A8333E; Wed, 11 Apr 2018 10:29:59 -0300 (-03) Date: Wed, 11 Apr 2018 10:29:59 -0300 From: Alvaro Herrera To: Mark Rofail Cc: pgsql-hackers , David Steele , Andreas Karlsson , Alexander Korotkov , Erik Rijkers , =?iso-8859-1?Q?Hans-J=FCrgen_Sch=F6nig?= , Robert Haas , Stephen Frost , Tom Lane Subject: Re: [HACKERS] GSoC 2017: Foreign Key Arrays Message-ID: <20180411132959.xjfiicra2py2fuz3@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: NeoMutt/20170306-137-4415bd-dirty (1.8.0) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Mark Rofail wrote: > > In particular: it seemed to me that you decided to throw away the idea > > of the new GIN operator without sufficient evidence that it was > > unnecessary. > > I have to admit to that. But in my defence @> is also GIN indexable so the > only difference in performance between 'anyarray @>> anyelement' and > 'anyarray @> ARRAY [anyelement]' is the delay caused by the ARRAY[] > operation theoretically. I think I need to review Tom's bounce-for-rework email https://postgr.es/m/28389.1351094795@sss.pgh.pa.us to respond to this intelligently. Tom mentioned @> there but there was a comment about the comparison semantics used by that operator, so I'm unclear on whether or not that issue has been fixed. -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services