Re: GIST index on geometry+integer

From: Oleg Bartunov <oleg(at)sai(dot)msu(dot)su>
To: Arnaud Lesauvage <arnaud(dot)lesauvage(at)laposte(dot)net>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: GIST index on geometry+integer
Date: 2007-03-08 09:30:21
Message-ID: Pine.LNX.4.64.0703081230010.400@sn.sai.msu.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Try install contrib/btree_gist

On Thu, 8 Mar 2007, Arnaud Lesauvage wrote:

> Hi list !
>
> I would like to test clustering on a multicolumn GIST index.
> The first column is a PostGIS-geometry field, the second column is a smallint
> field.
> When I try to create the index, I have an error about GIST not being
> available for smallint datatype.
> How can I create this operator class ?
>
> Thanks for your help !
>
> Regards
> --
> Arnaud
>
> ---------------------------(end of broadcast)---------------------------
> TIP 9: In versions below 8.0, the planner will ignore your desire to
> choose an index scan if your joining column's datatypes do not
> match
>

Regards,
Oleg
_____________________________________________________________
Oleg Bartunov, Research Scientist, Head of AstroNet (www.astronet.ru)
Sternberg Astronomical Institute, Moscow University, Russia
Internet: oleg(at)sai(dot)msu(dot)su, http://www.sai.msu.su/~megera/
phone: +007(495)939-16-83, +007(495)939-23-83

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Arnaud Lesauvage 2007-03-08 09:39:40 Re: GIST index on geometry+integer
Previous Message Arnaud Lesauvage 2007-03-08 08:02:18 GIST index on geometry+integer