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
------
master

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

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