X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id C855F3A43D7 for ; Thu, 11 Nov 2004 05:53:19 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 56789-05 for ; Thu, 11 Nov 2004 05:53:10 +0000 (GMT) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.193]) by svr1.postgresql.org (Postfix) with ESMTP id E18913A3AFF for ; Thu, 11 Nov 2004 05:53:10 +0000 (GMT) Received: by rproxy.gmail.com with SMTP id a36so281881rnf for ; Wed, 10 Nov 2004 21:53:09 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=R2NfFdojsM48joe9UH7k/OJAVPZJDc0/FtSICc8q6Zn90fp8hRV2VIcLLG1ZKyoKrusZo9cqBuLkJrrMBmfFEtAfTzPAAR6OZN6HrhAvlmxwz8gIBejKZasAEuVg58RIDiJO9WaTQDT61NtgpNGeObnRoCDLCzIEXYkWAkPs6U0= Received: by 10.38.79.69 with SMTP id c69mr595021rnb; Wed, 10 Nov 2004 21:53:09 -0800 (PST) Received: by 10.38.126.17 with HTTP; Wed, 10 Nov 2004 21:53:09 -0800 (PST) Message-ID: Date: Thu, 11 Nov 2004 00:53:09 -0500 From: Mike Rylander Reply-To: Mike Rylander To: George Essig Subject: Re: int4 in a GiST index Cc: pgsql-performance@postgresql.org In-Reply-To: <20041111025028.9044.qmail@web53706.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <20041111025028.9044.qmail@web53706.mail.yahoo.com> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200411/178 X-Sequence-Number: 9132 On Wed, 10 Nov 2004 18:50:28 -0800 (PST), George Essig 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@gmail.com GPLS -- PINES Development Database Developer