X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 48F16D1E132 for ; Wed, 25 Feb 2004 20:57:27 +0000 (GMT) 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 26879-05 for ; Wed, 25 Feb 2004 16:57:23 -0400 (AST) Received: from joeconway.com (66-146-172-86.skyriver.net [66.146.172.86]) by svr1.postgresql.org (Postfix) with ESMTP id 454A9D1E106 for ; Wed, 25 Feb 2004 16:57:20 -0400 (AST) Received: from [206.19.64.3] (account jconway HELO joeconway.com) by joeconway.com (CommuniGate Pro SMTP 4.1.8) with ESMTP-TLS id 1010196; Wed, 25 Feb 2004 12:53:23 -0800 Message-ID: <403D0C0B.2040507@joeconway.com> Date: Wed, 25 Feb 2004 12:56:43 -0800 From: Joe Conway User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Richard Huxton Cc: pgsql-sql@postgresql.org Subject: Re: Scalar in a range (but textual not numeric) References: <200402251918.20289.dev@archonet.com> <200402252036.40747.dev@archonet.com> In-Reply-To: <200402252036.40747.dev@archonet.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200402/348 X-Sequence-Number: 17038 Richard Huxton wrote: > That's not quite the same though, because it means I need to split > ABCAA..ABDBB into ABCAA..ABCZZ and ABDAA..ABDZZ but it's close enough unless > someone is feeling clever this evening. > Would (a series of) partial indexes help? Joe