X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 9890FD1B967 for ; Wed, 21 Apr 2004 15:20:38 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 74453-05 for ; Wed, 21 Apr 2004 15:20:36 -0300 (ADT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id C4979D1D085 for ; Wed, 21 Apr 2004 15:20:33 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.11/8.12.11) with ESMTP id i3LIKP1v013306; Wed, 21 Apr 2004 14:20:25 -0400 (EDT) To: Edoardo Ceccarelli Cc: Christopher Kings-Lynne , Nick Barr , pgsql-performance@postgresql.org Subject: Re: slow seqscan In-reply-to: <408641B7.5090808@axa.it> References: <40862003.2090201@axa.it> <4086272E.2080102@chuckie.co.uk> <40863228.907@axa.it> <408636A5.2050305@familyhealth.com.au> <408641B7.5090808@axa.it> Comments: In-reply-to Edoardo Ceccarelli message dated "Wed, 21 Apr 2004 11:41:11 +0200" Date: Wed, 21 Apr 2004 14:20:25 -0400 Message-ID: <13305.1082571625@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at postgresql.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200404/358 X-Sequence-Number: 6658 Edoardo Ceccarelli writes: > I wasn't able to make this 2 field index with lower: > dba400=# CREATE INDEX annuncio400_rubric_testo_idx ON > annuncio400(rubric, LOWER(testo)); > ERROR: parser: parse error at or near "(" at character 71 > seems impossible to creat 2 field indexes with lower function. You need 7.4 to do that; previous releases don't support multi-column functional indexes. regards, tom lane