On Tue, 2009-11-03 at 00:25 +0100, Viktor Rosenfeld wrote: > I'd like to know what kind of functions I have to implement for a R-Tree > index on numeric columns, NUMERIC is scalar, so an R-Tree doesn't make much sense. You can install btree_gist (a contrib module) to be able to use numeric columns as part of a GiST index. If you have more complex spatial data, you should look into PostGIS. Regards, Jeff Davis -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general