From: Tom Lane <tgl@sss.pgh.pa.us>
To: espero7757@gmx.net
Cc: pgsql-performance@postgresql.org
Subject: Re: query planner: automatic rescribe of LIKE to BETWEEN ?
Date: Tue, 22 Aug 2006 17:12:33 -0400
Message-ID: <11769.1156281153@sss.pgh.pa.us> (raw)
In-Reply-To: <200608221922.59734.espero7757@gmx.net>
References: <200608221922.59734.espero7757@gmx.net>
Ulrich Habel <espero7757@gmx.net> writes:
> Anythings speeks against this hack?
Only that it was done years ago.
As Alvaro mentions, if you are using a non-C locale then you need
non-default index opclasses to get it to work. Non-C locales usually
have index sort orders that don't play nice with this conversion.
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: tgl@sss.pgh.pa.us, espero7757@gmx.net
Subject: Re: query planner: automatic rescribe of LIKE to BETWEEN ?
In-Reply-To: <11769.1156281153@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox