From: Tom Lane <tgl@sss.pgh.pa.us>
To: Alexandre Gattiker <agattiker@gmail.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: JDBC driver 9.2 sending arbitrary timezone
Date: Mon, 05 Aug 2013 02:16:14 -0400
Message-ID: <29759.1375683374@sss.pgh.pa.us> (raw)
In-Reply-To: <CAOfQWyEZwiqBhLhB=QOh8v154n5_c_k59Peai7tDqk1srW8JRw@mail.gmail.com>
References: <CAOfQWyEZwiqBhLhB=QOh8v154n5_c_k59Peai7tDqk1srW8JRw@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-jdbc>
Alexandre Gattiker <agattiker@gmail.com> writes:
> PostgreSQL jdbc jar 9.2-1003-jdbc4 is failing for me, while version
> 9.1-901-1.jdbc4 works fine. I was able to reproduce the issue by running
> the jdbc driver's unit tests.
> It appears the client is sending to the server the
> timezone Europe/Busingen, although my timezone is set to Europe/Zurich.
According to the Olsen timezone database, Europe/Busingen is an alias for
Europe/Zurich. So while it's an interesting question why the client side
is sending "Europe/Busingen" not "Europe/Zurich", you should get the same
result either way. And it's not hard to imagine that there might be
logic somewhere inside Java that causes one to be substituted for the
other.
However, a look into the Olsen source files suggests that Europe/Busingen
was only added as a zone name in 2011. When was your last server update?
I don't know whether EDB relies on the system tzdata package, so either
the postgres package or the tzdata package might be old ...
regards, tom lane
--
Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-jdbc
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: tgl@sss.pgh.pa.us, agattiker@gmail.com
Subject: Re: JDBC driver 9.2 sending arbitrary timezone
In-Reply-To: <29759.1375683374@sss.pgh.pa.us>
References: <CAOfQWyEZwiqBhLhB=QOh8v154n5_c_k59Peai7tDqk1srW8JRw@mail.gmail.com> <29759.1375683374@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