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 1gjBVw-0007Yn-5A for pgsql-hackers@arkaria.postgresql.org; Mon, 14 Jan 2019 23:19:28 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gjBVt-0007XJ-Ms for pgsql-hackers@arkaria.postgresql.org; Mon, 14 Jan 2019 23:19:25 +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 1gjBVt-0007Pm-C0 for pgsql-hackers@lists.postgresql.org; Mon, 14 Jan 2019 23:19:25 +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 1gjBVp-00086J-8v for pgsql-hackers@postgresql.org; Mon, 14 Jan 2019 23:19:22 +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 x0ENJ92w028652; Mon, 14 Jan 2019 18:19:09 -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: <20190114230918.fhp6wktbhg6pjnyw@alap3.anarazel.de> References: <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> <28044.1547507004@sss.pgh.pa.us> <20190114230918.fhp6wktbhg6pjnyw@alap3.anarazel.de> Comments: In-reply-to Andres Freund message dated "Mon, 14 Jan 2019 15:09:18 -0800" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <28650.1547507948.1@sss.pgh.pa.us> Date: Mon, 14 Jan 2019 18:19:08 -0500 Message-ID: <28651.1547507948@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Andres Freund writes: > On 2019-01-14 18:03:24 -0500, Tom Lane wrote: >> Do we want to revert entirely, or leave the "recheck_on_update" option >> present but nonfunctional? > I think it depends a bit on whether we want to revert in master or > master and 11. If only master, I don't see much point in leaving the > option around. If both, I think we should (need to?) leave it around in > 11 only. After a few minutes' more thought, I think that the most attractive option is to leave v11 alone and do a full revert in HEAD. In this way, if anyone's attached "recheck_on_update" options to their indexes, it'll continue to work^H^H^H^Hdo nothing in v11, though they won't be able to migrate to v12 till they remove the options. That way we aren't bound to the questionable design and naming of that storage option if/when we try this again. A revert in v11 would have ABI compatibility issues to think about, and would also likely be a bunch more work on top of what we'll have to do for HEAD, so leaving it as-is seems like a good idea. regards, tom lane