Re: Community Driver : Time data is getting truncated while read - Mailing list pgsql-jdbc

From Dave Cramer
Subject Re: Community Driver : Time data is getting truncated while read
Date
Msg-id CADK3HHJ-nEUjeYmEkYho1ApF4_wPRiNN===sW=24_nMg-dfHAg@mail.gmail.com
Whole thread Raw
In response to Community Driver : Time data is getting truncated while read  ("Dave, Mohit" <mdave@informatica.com>)
List pgsql-jdbc
Please try the latest driver and if the problem still persists file an issue here https://github.com/pgjdbc/pgjdbc

Dave Cramer
www.postgres.rocks


On Mon, 23 Nov 2020 at 07:10, Dave, Mohit <mdave@informatica.com> wrote:

Hi Team,

 

We are using PostgreSQL community driver (postgresql-42.2.6), we have observed truncation for time data type while reading.

The scenario is that the data for the table created with datatype time(4),time(5),time(6) is getting truncated beyond milli seconds to limit it to milli seconds.

Please find the screenshot attached.

 

Original data is :

 

 

 

Data read from driver is :

 

 

 

 

We can see the time is truncated to millisecond values. This can be easily re-pro at will.

 

Please raise a bug for this and do needful to provide fix for same.

 

Thanks

Mohit

Attachment

pgsql-jdbc by date:

Previous
From: Vladimir Sitnikov
Date:
Subject: [pgjdbc/pgjdbc]
Next
From: Tomas Janco
Date:
Subject: JDBC driver error: "syntax error at end of input" when no primary key