CVSROOT: /cvsroot
Module name: pgsql-server
Changes by: momjian@postgresql.org 02/11/14 22:09:39
Modified files:
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
Log message:
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