From: Tom Lane <tgl@sss.pgh.pa.us>
To: George Moga <george@cicnet.ro>
Cc: pgsql-sql@postgresql.org
Subject: Re: "SELECT" problem on 7.0.3
Date: Thu, 11 Jan 2001 19:36:18 -0500
Message-ID: <13453.979259778@sss.pgh.pa.us> (raw)
In-Reply-To: <3A5DEFD4.CB51CF22@cicnet.ro>
References: <3A5DEFD4.CB51CF22@cicnet.ro>
What locale and encoding are you using?
Evidently the LIKE index optimization is failing, but I would
not have guessed that a string like 1:0: would cause a problem,
especially not if all the entries in the column contain just
digits and colons.
You can find plenty of material about LIKE+index problems in
the list archives. For 7.1, we've gone so far as to disable
the optimization altogether in non-ASCII locales (and I'm sure
we'll get complaints about that, too :-().
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: tgl@sss.pgh.pa.us, george@cicnet.ro
Subject: Re: "SELECT" problem on 7.0.3
In-Reply-To: <13453.979259778@sss.pgh.pa.us>
References: <3A5DEFD4.CB51CF22@cicnet.ro> <13453.979259778@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