New version attached. The following is implemented:
authorBruce Momjian <bruce@momjian.us>
Fri, 15 Nov 2002 03:09:39 +0000 (03:09 +0000)
committerBruce Momjian <bruce@momjian.us>
Fri, 15 Nov 2002 03:09:39 +0000 (03:09 +0000)
commit8bc717cb8878ff2baee4e29553736fab57248436
tree69fb91e37bc3cd3d19e9aa529e3f03002ddf3719
parent5b7eb4dd45359e040cd7175f1b3cfc5ea28ad138
New version attached.  The following is implemented:

- CLUSTER ALL clusters all the tables that have some index with
  indisclustered set and the calling user owns.
- CLUSTER tablename clusters the named table, using the index with
  indisclustered set.  If no index has the bit set, throws elog(ERROR).
- The multi-relation version (CLUSTER ALL) uses a multitransaction
  approach, similar to what VACUUM does.

Alvaro Herrera
doc/src/sgml/ref/cluster.sgml
src/backend/commands/cluster.c
src/backend/parser/gram.y
src/backend/tcop/utility.c
src/include/commands/cluster.h
src/include/nodes/parsenodes.h
src/test/regress/expected/cluster.out
src/test/regress/sql/cluster.sql