Re: REINDEX CONCURRENTLY 2.0
Thomas Munro <thomas.munro@enterprisedb.com>
From: Thomas Munro <thomas.munro@enterprisedb.com>
To: Andres Freund <andres@anarazel.de>
Cc: Robert Haas <robertmhaas@gmail.com>, Andreas Karlsson <andreas@proxel.se>, "pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>,
Jim Nasby <Jim.Nasby@bluetreble.com>, Michael Paquier <michael.paquier@gmail.com>
Date: 2017-03-10T08:57:59Z
Lists: pgsql-hackers
On Fri, Mar 10, 2017 at 9:36 PM, Thomas Munro <thomas.munro@enterprisedb.com> wrote: > On Wed, Mar 8, 2017 at 4:12 PM, Andres Freund <andres@anarazel.de> wrote: >> Can you come up with an halfway realistic scenario why an index oid, not >> a table, constraint, sequence oid, would be relied upon? > > Is there an implication for SIREAD locks? Predicate locks on index > pages include the index OID in the tag. Ah, yes, but that is covered by a call to TransferPredicateLocksToHeapRelation() in index_concurrent_set_dead(). -- Thomas Munro http://www.enterprisedb.com
Commits
-
Prevent reindex of invalid indexes on TOAST tables
- 8bca5f93547c 12.3 landed
- 61d7c7bce368 13.0 landed
-
Rework handling of invalid indexes with REINDEX CONCURRENTLY
- a6dcf9df4d91 12.0 landed
-
Split builtins.h to a new header ruleutils.h
- 7b1c2a0f2066 9.5.0 cited