Re: [HACKERS] Surjective functional indexes
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Stephen Frost <sfrost@snowman.net>
Cc: Andres Freund <andres@anarazel.de>, Simon Riggs <simon@2ndquadrant.com>,
Robert Haas <robertmhaas@gmail.com>,
Konstantin Knizhnik <k.knizhnik@postgrespro.ru>,
Michael Paquier <michael.paquier@gmail.com>,
Alvaro Herrera <alvherre@alvh.no-ip.org>,
Christoph Berg <myon@debian.org>,
Thomas Munro <thomas.munro@enterprisedb.com>,
Peter Eisentraut <peter.eisentraut@2ndquadrant.com>,
PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2019-01-14T23:53:02Z
Lists: pgsql-hackers
Stephen Frost <sfrost@snowman.net> writes: > * Tom Lane (tgl@sss.pgh.pa.us) wrote: >> 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. > So the plan is to add a check into pg_upgrade to complain if it comes > across any cases where recheck_on_update is set during its pre-flight > checks..? It wasn't my plan particularly. I think the number of databases with that option set is probably negligible, not least because it was on-by-default during its short lifespan. So there really has never been a point where someone would have had a reason to turn it on explicitly. Now if somebody else is excited enough to add such logic to pg_upgrade, I wouldn't stand in their way. But I suspect just doing the revert is already going to be painful enough :-( > What if v12 sees "recheck_on_update='false'", as a v11 > pg_dump might output today? It'll complain that that's an unknown option. regards, tom lane
Commits
-
Finish reverting "recheck_on_update" patch.
- 1c53c4dec398 12.0 landed