pgsql: Fix orphan on cancel of drop index concurrently.

From: Simon Riggs <simon(at)2ndQuadrant(dot)com>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix orphan on cancel of drop index concurrently.
Date: 2012-10-19 08:57:52
Message-ID: E1TP8Ou-00011M-Vh@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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
------
master

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

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

Browse pgsql-committers by date

  From Date Subject
Next Message Simon Riggs 2012-10-19 08:57:53 pgsql: Fix orphan on cancel of drop index concurrently.
Previous Message Tom Lane 2012-10-18 23:30:52 pgsql: Further cleanup of catcache.c ilist changes.