[postgis-devel] CLUSTER in 8.3

Obe, Regina robe.dnd at cityofboston.gov
Wed Dec 3 06:23:13 PST 2008


I hope its just you.  I don't recall running into any problems using
clustered indexes in 8.3 but then all my databases were restored from an
8.2 install but all the clusters look fine as far as I can tell.

I use the below syntax which I thought is the new syntax

ALTER TABLE sometable CLUSTER ON idx_sometable_geom_gist;
CLUSTER sometable;

I just dropped one of my indexes on a table in 8.3 and readded using
above and seems fine as far as I can tell.

When you say all row count - you mean of the table?

Hope that helps,

-----Original Message-----
From: postgis-devel-bounces at postgis.refractions.net
[mailto:postgis-devel-bounces at postgis.refractions.net] On Behalf Of Paul
Sent: Wednesday, December 03, 2008 9:08 AM
To: PostGIS Development Discussion
Subject: [postgis-devel] CLUSTER in 8.3

Is it just me, or has clustering on spatial indexes stopped working in
8.3? First, the syntax of CLUSTER has been changed, from "CLUSTER
[index] ON [table]" to "CLUSTER [table] USING [index]". Second, when I
run the new syntax using a gist index as the target, the index
disappears and all row count drops to zero!

postgis-devel mailing list
postgis-devel at postgis.refractions.net
The substance of this message, including any attachments, may be
confidential, legally privileged and/or exempt from disclosure
pursuant to Massachusetts law. It is intended
solely for the addressee. If you received this in error, please
contact the sender and delete the material from any computer.

More information about the postgis-devel mailing list