pgsql: Re-think guts of DROP INDEX CONCURRENTLY. - Mailing list pgsql-committers

From Simon Riggs
Subject pgsql: Re-think guts of DROP INDEX CONCURRENTLY.
Date
Msg-id E1TOuU8-0004td-EP@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Re-think guts of DROP INDEX CONCURRENTLY.
Concurrent behaviour was flawed when using
a two-step process, so add an additional
phase of processing to ensure concurrency
for both SELECTs and INSERT/UPDATE/DELETEs.

Backpatch to 9.2

Andres Freund, tweaked by me

Branch
------
REL9_2_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/5da1c4b7cc46af5d54912447ee51332d1dbd681c

Modified Files
--------------
src/backend/catalog/index.c |  104 +++++++++++++++++++++++++++++++++++++------
1 files changed, 90 insertions(+), 14 deletions(-)


pgsql-committers by date:

Previous
From: Simon Riggs
Date:
Subject: pgsql: Re-think guts of DROP INDEX CONCURRENTLY.
Next
From: Simon Riggs
Date:
Subject: pgsql: Isolation test for DROP INDEX CONCURRENTLY