From: Dumitru Boldureanu <dboldureanu@inthergroup.com>
To: pgsql-bugs@postgresql.org
Subject: Bug fetching Timestamps in JDBC driver 9.4.1209
Date: Wed, 10 Aug 2016 18:46:29 +0300
Message-ID: <00112c49-5ab2-412d-ade5-8bf5c04df99c@inthergroup.com> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
We noticed, what seems to be a bug in JDBC driver 9.4.1209.
The bug was detected in an application that is testing database migration scripts. The application is comparing through JDBC the data before and after the execution of the migration scripts.
We noticed that for timestamp columns we were getting changes, which do not actually exist.
And these changes are not static, the records and tables in which we get them are random.
We’ve fought a lot with this issue, checked for unclosed connections, results sets, etc.
The solution was to replace the JDBC driver 9.4.1209 with 9.4-1201, and the random timestamps values disappeared.
Noticed in the release of 9.4.1209, mentioned: * Performance optimization for timestamps (~TimeZone.getDefault optimization)
Maybe it added a bug? Tried to google and found no one complaining on this issue.
Kind regards / Mit freundlichen Grüßen / Met vriendelijke groeten / Cu respect / 顺祝商祺,
Dumitru Boldureanu=
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-bugs@postgresql.org
Cc: dboldureanu@inthergroup.com
Subject: Re: Bug fetching Timestamps in JDBC driver 9.4.1209
In-Reply-To: <00112c49-5ab2-412d-ade5-8bf5c04df99c@inthergroup.com>
References: <00112c49-5ab2-412d-ade5-8bf5c04df99c@inthergroup.com>
* 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