Re: int4 in a GiST index

From: Mike Rylander <mrylander(at)gmail(dot)com>
To: George Essig <george_essig(at)yahoo(dot)com>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: int4 in a GiST index
Date: 2004-11-11 05:53:09
Message-ID: b918cf3d041110215315213639@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

On Wed, 10 Nov 2004 18:50:28 -0800 (PST), George Essig
<george_essig(at)yahoo(dot)com> wrote:
> Mike Rylander wrote:
>
> > I want to create a multi-column index across the tsvector and classification
> > columns as that should help with selectivity. But because there is no
> > GiST opclass for INT4 the index creation complains thusly:
>
> Install contrib/btree_gist along with contrib/tsearch2 to create a multicolumn index on the in4
> and the tsvector columns. See the following for an example:
>
> http://www.sai.msu.su/~megera/postgres/gist/tsearch/V2/docs/oscon_tsearch2/multi_column_index.html
>
> George Essig
>

Thanks a million. I had actually just found the answer after some
more googling, but I hadn't seen that page and it happens to be
exactly what I wanted.

As a side note I'd like to thank everyone here (and especially George,
in this case). I've been on these lists for quite a while and I'm
always amazed at the speed, accuracy and precision of the answers on
the PG mailing lists.

--
Mike Rylander
mrylander(at)gmail(dot)com
GPLS -- PINES Development
Database Developer

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Gaetano Mendola 2004-11-11 07:58:27 Re: seqscan strikes again
Previous Message George Essig 2004-11-11 02:50:28 Re: int4 in a GiST index