From: Tom Lane <tgl@sss.pgh.pa.us>
To: Dan McFadyen <danm@cryptocard.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: Odd query behavior
Date: Fri, 12 Mar 2010 11:29:45 -0500
Message-ID: <622.1268411385@sss.pgh.pa.us> (raw)
In-Reply-To: <BA48DC793F18724D862C27C8F2C131CC62094F@exchange03.cryptocard.internal>
References: <BA48DC793F18724D862C27C8F2C131CC62094F@exchange03.cryptocard.internal>
"Dan McFadyen" <danm@cryptocard.com> writes:
> I've come across an odd situation. I've had access to a database where a
> the following happens:
What are the plans for the two queries? If either one involves use of
an index, does disabling the index change the results?
> I do know that server it was running on was Finnish. The database uses a
> UTF8 encoding though, so I don't know what that would make any
> difference.
The other line of thought that suggests is that you've got an
encoding/locale mismatch that's messing up text comparisons. What's the
server's LC_CTYPE setting, and what PG version is this anyway?
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-sql@postgresql.org
Cc: tgl@sss.pgh.pa.us, danm@cryptocard.com
Subject: Re: Odd query behavior
In-Reply-To: <622.1268411385@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