pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: George Essig <george_essig@yahoo.com>
To: Mike Rylander <mrylander@gmail.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: int4 in a GiST index
Date: Wed, 10 Nov 2004 18:50:28 -0800 (PST)
Message-ID: <20041111025028.9044.qmail@web53706.mail.yahoo.com> (raw)

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



view thread (3+ messages)  latest in thread

Message-ID: <20041111025028.9044.qmail@web53706.mail.yahoo.com>
Permalink:  ../20041111025028.9044.qmail@web53706.mail.yahoo.com/
Also on:    postgresql.org/message-id/20041111025028.9044.qmail@web53706.mail.yahoo.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: george_essig@yahoo.com, mrylander@gmail.com
  Subject: Re: int4 in a GiST index
  In-Reply-To: <20041111025028.9044.qmail@web53706.mail.yahoo.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox