pgsql: Disallow CLUSTER using an invalid index (that is, one left over

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Disallow CLUSTER using an invalid index (that is, one left over
Date: 2007-09-29 18:05:28
Message-ID: 20070929180528.5E756753E4C@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Disallow CLUSTER using an invalid index (that is, one left over from a failed
CREATE INDEX CONCURRENTLY). Such an index might not have entries for every
heap row and thus clustering with it would result in silent data loss.
The scenario requires a pretty foolish DBA, but still ...

Tags:
----
REL8_2_STABLE

Modified Files:
--------------
pgsql/src/backend/commands:
cluster.c (r1.154.2.1 -> r1.154.2.2)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/commands/cluster.c?r1=1.154.2.1&r2=1.154.2.2)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2007-09-29 18:32:56 pgsql: Make recovery show the current input WAL segment name in the
Previous Message Tom Lane 2007-09-29 18:05:20 pgsql: Disallow CLUSTER using an invalid index (that is, one left over