Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gjBGl-0006bM-Ao for pgsql-hackers@arkaria.postgresql.org; Mon, 14 Jan 2019 23:03:47 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gjBGk-00006N-20 for pgsql-hackers@arkaria.postgresql.org; Mon, 14 Jan 2019 23:03:46 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gjBGj-000069-Nu for pgsql-hackers@lists.postgresql.org; Mon, 14 Jan 2019 23:03:45 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gjBGd-0007m6-CU for pgsql-hackers@postgresql.org; Mon, 14 Jan 2019 23:03:44 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id x0EN3O6O028045; Mon, 14 Jan 2019 18:03:24 -0500 From: Tom Lane To: Andres Freund cc: Simon Riggs , Robert Haas , Konstantin Knizhnik , Stephen Frost , Michael Paquier , Alvaro Herrera , Christoph Berg , Thomas Munro , Peter Eisentraut , PostgreSQL Hackers Subject: Re: [HACKERS] Surjective functional indexes In-reply-to: <20190114223409.3tcvejfhlvbucrv5@alap3.anarazel.de> References: <20180106225942.GT2416@tamriel.snowman.net> <40fd1ef1-6227-69d1-9a24-edfef875e006@postgrespro.ru> <20180301194824.46ivyszju2ivhlh5@alap3.anarazel.de> <20180511033227.vvgm3yi5xngro2hp@alap3.anarazel.de> <20180511143737.rvogcsxdksrhyyj5@alap3.anarazel.de> <25975.1541618754@sss.pgh.pa.us> <20190114223409.3tcvejfhlvbucrv5@alap3.anarazel.de> Comments: In-reply-to Andres Freund message dated "Mon, 14 Jan 2019 14:34:09 -0800" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <28043.1547507004.1@sss.pgh.pa.us> Date: Mon, 14 Jan 2019 18:03:24 -0500 Message-ID: <28044.1547507004@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Andres Freund writes: > On 2018-11-07 14:25:54 -0500, Tom Lane wrote: >> In short, it seems likely to me that large parts of this patch need to >> be pulled out, rewritten, and then put back in different places than >> they are today. I'm not sure if a complete revert is the best next >> step, or if we can make progress without that. > We've not really made progress on this. I continue to think that we > ought to revert this feature, and then work to re-merge it an > architecturally correct way afterwards. Other opinions? Given the lack of progress, I'd agree with a revert. It's probably already going to be a bit painful to undo due to subsequent changes, so we shouldn't wait too much longer. Do we want to revert entirely, or leave the "recheck_on_update" option present but nonfunctional? regards, tom lane