X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id D0381D1C9C8 for ; Thu, 31 Jul 2003 20:32:17 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 78852-07 for ; Thu, 31 Jul 2003 17:31:13 -0300 (ADT) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by svr1.postgresql.org (Postfix) with ESMTP id D6F1AD1C9DA for ; Thu, 31 Jul 2003 17:32:15 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.9/8.12.9) with ESMTP id h6VKW0Q3018764; Thu, 31 Jul 2003 16:32:00 -0400 (EDT) To: Scott Cain Cc: pgsql-performance@postgresql.org Subject: Re: EXTERNAL storage and substring on long strings In-reply-to: <1059682839.5415.53.camel@localhost.localdomain> References: <1059679600.1429.41.camel@localhost.localdomain> <18305.1059680697@sss.pgh.pa.us> <1059682839.5415.53.camel@localhost.localdomain> Comments: In-reply-to Scott Cain message dated "31 Jul 2003 16:20:39 -0400" Date: Thu, 31 Jul 2003 16:32:00 -0400 Message-ID: <18763.1059683520@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200307/508 X-Sequence-Number: 2801 Scott Cain writes: >> (BTW, if you are using a multibyte database encoding, then that's your >> problem right there --- the optimization is practically useless unless >> character and byte indexes are the same.) > I shouldn't be, but since it is an RPM, I can't be sure. Look at "psql -l" to see what encoding it reports for your database. regards, tom lane