> Also, in our case, clustering by a single index is not really sufficient.
> Within a single bill we would like to cluster the items by service. I was
> thinking or writing a program that would do a pg_dump, order by columns as
> requested and then dump it back in. I would've done it except that
> Postgresql won't use the fact that it's sorted.
You can create an index on all the columns, do a CLUSTER, then drop the
index and create the one you need.
--
Bruce Momjian | http://candle.pha.pa.us
[EMAIL PROTECTED] | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026