Rick Dicaire <kritek@xxxxxxxxx> wrote: > Hi folks...pgsql 8.1 (we're migrating to 9.1 later this year). Good idea. > When running CLUSTER with no args, on tables with multiple > indexes, do I understand correctly that the tables' primary key is > the default index used? To quote the fine documentations at: www.postgresql.org/docs/8.1/interactive/sql-cluster.html | When a table is clustered, PostgreSQL remembers on which index it | was clustered. The form CLUSTER tablename reclusters the table on | the same index that it was clustered before. | | CLUSTER without any parameter reclusters all the tables in the | current database that the calling user owns, or all tables if | called by a superuser. (Never-clustered tables are not included.) > Also, I've been tasked with finding and listing all the tables > that get CLUSTER'd when CLUSTER with no args is executed, http://www.postgresql.org/docs/8.1/interactive/catalog-pg-index.html -Kevin -- Sent via pgsql-admin mailing list (pgsql-admin@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin