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:20 +0000 (18:05 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 29 Sep 2007 18:05:20 +0000 (18:05 +0000)
commitf6a54b8c42f4900e4c159a8119c096c6ffb7377c
tree5a1766199a7d0cbecaf2c7fcad44c0c724ab12d0
parent34b44c3ba29a3d3b3e33322118a01b76e6fd2cfd
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