Thread: pgsql: Fix orphan on cancel of drop index concurrently.

pgsql: Fix orphan on cancel of drop index concurrently.

From
Simon Riggs
Date:
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(-)