]> granicus.if.org Git - postgresql/commit
I attach a little patch to make CLUSTER set and reset the indisclustered
authorBruce Momjian <bruce@momjian.us>
Tue, 27 Aug 2002 03:38:28 +0000 (03:38 +0000)
committerBruce Momjian <bruce@momjian.us>
Tue, 27 Aug 2002 03:38:28 +0000 (03:38 +0000)
commitc0ad595386b6027449ada778162c599e4b09354a
tree4094051f9f02219f0c54f3a0602b751d44bf6d10
parentb7e272429c8189f2eedaff4a5c7bbe7dc9dc8356
I attach a little patch to make CLUSTER set and reset the indisclustered
bit on the indexes.

I also attach clusterdb and clusterdb.sgml; both of them are blatant
rips of vacuumdb and vacuumdb.sgml, but get the job done.  Please review
them, as I'm probably making a lot of mistakes with SGML and I can't
compile it here.

vacuumdb itself is not very comfortable to use when the databases have
passwords, because it has to connect once for each table (I can probably
make it connect only once for each database; should I?).  Because of
this I added a mention of PGPASSWORDFILE in the documentation, but I
don't know if that is the correct place for that.

Alvaro Herrera
doc/src/sgml/ref/allfiles.sgml
doc/src/sgml/ref/clusterdb.sgml [new file with mode: 0644]
doc/src/sgml/reference.sgml
src/backend/commands/cluster.c
src/bin/scripts/Makefile
src/bin/scripts/clusterdb [new file with mode: 0644]
src/test/regress/expected/cluster.out
src/test/regress/sql/cluster.sql