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 C3D103A4410 for ; Thu, 11 Nov 2004 02:50:38 +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 13950-06 for ; Thu, 11 Nov 2004 02:50:26 +0000 (GMT) Received: from web53706.mail.yahoo.com (web53706.mail.yahoo.com [206.190.37.27]) by svr1.postgresql.org (Postfix) with SMTP id 3744C3A4404 for ; Thu, 11 Nov 2004 02:50:28 +0000 (GMT) Received: (qmail 9048 invoked by uid 60001); 11 Nov 2004 02:50:28 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=0nPXALZPA+QMMpS0M8/HrQDIPfk2K3DMIkKgm4sV0M69MOG5b0sN7uGWIFSux/a6weZkS+m5q5Tp0Uv9amDAgKcmslbpe3x3EjD6d/euX3EhLVIdrVJYK4GIsHdCb/2YavYPfkvbECL3FqfwzOKDjWeCPm06+JF47dLqnBITNbc= ; Message-ID: <20041111025028.9044.qmail@web53706.mail.yahoo.com> Received: from [65.69.58.152] by web53706.mail.yahoo.com via HTTP; Wed, 10 Nov 2004 18:50:28 PST Date: Wed, 10 Nov 2004 18:50:28 -0800 (PST) From: George Essig Subject: Re: int4 in a GiST index To: Mike Rylander Cc: pgsql-performance@postgresql.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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/177 X-Sequence-Number: 9131 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