]> granicus.if.org Git - postgresql/commit
Disallow CLUSTER using an invalid index (that is, one left over from a failed
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 29 Sep 2007 18:05:28 +0000 (18:05 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 29 Sep 2007 18:05:28 +0000 (18:05 +0000)
commitc008a275c21bb08c5045d26a50f5cd05e77c03cc
tree403639f251a8428f59f8fbb58924653e5e6da413
parentedc4d5edbe2de0c9261e88aa6ccb22a788d0f9be
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 ...
src/backend/commands/cluster.c