From: Kris Jurka <books@ejurka.com>
To: kevin@mtel.co.uk
Cc: pgsql-jdbc@postgresql.org
Subject: Re: strange jdbc problem moving to 8.1 database
Date: Fri, 11 Nov 2005 16:54:09 -0500 (EST)
Message-ID: <Pine.BSO.4.61.0511111649400.23708@leary.csoft.net> (raw)
In-Reply-To: <1131745257.306929.168940@g14g2000cwa.googlegroups.com>
References: <1131745257.306929.168940@g14g2000cwa.googlegroups.com>
On Fri, 11 Nov 2005 kevin@mtel.co.uk wrote:
> hi, i've got a test system under fedora 4/ 8.04 postgres that works
> fine. I installed 8.1 on a production machine using redhat 9, and weird
> errors start happening.
>
> this will produce true in 8.04 but not 8.1. There are other (similar)
> statements against these tables that have stopped working.
> the tables are defines as follows
>
That's certainly a strange one. I see no reason for plain string
comparisons to fail randomly. My only guess would be some sort of
locale/encoding issue. Are both databases using the same locale and
encoding? What do you get from "SHOW lc_collate;" and "SHOW
server_encoding;" on each? This seems especially bizarre given that it
works from psql (implying something might be wrong converting from
client_encoding to the server_encoding) and also that you have such
vanilla values for these parameters ("ADMIN" and such, not unusual
characters from distant parts of the world.)
Kris Jurka
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-jdbc@postgresql.org
Cc: books@ejurka.com, kevin@mtel.co.uk
Subject: Re: strange jdbc problem moving to 8.1 database
In-Reply-To: <Pine.BSO.4.61.0511111649400.23708@leary.csoft.net>
References: <1131745257.306929.168940@g14g2000cwa.googlegroups.com> <Pine.BSO.4.61.0511111649400.23708@leary.csoft.net>
* 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