Re: REINDEX CONCURRENTLY 2.0
Michael Paquier <michael.paquier@gmail.com>
From: Michael Paquier <michael.paquier@gmail.com>
To: Andres Freund <andres@2ndquadrant.com>
Cc: Robert Haas <robertmhaas@gmail.com>, Peter Eisentraut <peter_e@gmx.net>,
Jim Nasby <jim@nasby.net>,
PostgreSQL mailing lists <pgsql-hackers@postgresql.org>
Date: 2014-11-13T01:26:49Z
Lists: pgsql-hackers
On Thu, Nov 13, 2014 at 9:31 AM, Andres Freund <andres@2ndquadrant.com> wrote: > I don't recall what the problem with just swapping the names was - but > I'm pretty sure there was one... Hm. The index relation oids are > referred to by constraints and dependencies. That's somewhat > solvable. But I think there was something else as well... The reason given 2 years ago for not using relname was the fast that the oid of the index changes, and to it be refered by some pg_depend entries: http://www.postgresql.org/message-id/20121208133730.GA6422@awork2.anarazel.de http://www.postgresql.org/message-id/12742.1354977643@sss.pgh.pa.us Regards, -- Michael
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