pgsql: Fix orphan on cancel of drop index concurrently. - Mailing list pgsql-committers

From Simon Riggs
Subject pgsql: Fix orphan on cancel of drop index concurrently.
Date
Msg-id E1TP8Ov-00011O-0E@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Fix orphan on cancel of drop index concurrently.
Canceling DROP INDEX CONCURRENTLY during
wait could allow an orphaned index to be
left behind which could not be dropped.

Backpatch to 9.2

Andres Freund, tested by Abhijit Menon-Sen

Branch
------
REL9_2_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/c567535742b5dbd244bbc9f33be794585afac2b7

Modified Files
--------------
src/backend/catalog/dependency.c |   49 +++++++++++++++++++++++--------------
1 files changed, 30 insertions(+), 19 deletions(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Further cleanup of catcache.c ilist changes.
Next
From: Andres Freund
Date:
Subject: Re: pgsql: Provide some static-assertion functionality on all compilers.