Make ALTER COLUMN TYPE preserve clustered status for indexes it doesn't
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 6 May 2004 16:10:57 +0000 (16:10 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 6 May 2004 16:10:57 +0000 (16:10 +0000)
commit8325a8d69eca29573e5e11f341636a1afe664f20
tree7e27531762dd781bf48f5816b44c30514a5ea3b6
parenteee6f9d5c2689660fe3e4586e4b144ea06f04202
Make ALTER COLUMN TYPE preserve clustered status for indexes it doesn't
modify.  Also fix a passel of problems with ALTER TABLE CLUSTER ON:
failure to check that the index is safe to cluster on (or even belongs
to the indicated rel, or even exists), and failure to broadcast a relcache
flush event when changing an index's state.
src/backend/commands/cluster.c
src/backend/commands/tablecmds.c
src/backend/utils/cache/inval.c
src/include/commands/cluster.h
src/include/utils/inval.h