From: | Dave Cramer <davecramer(at)postgres(dot)rocks> |
---|---|
To: | "Dave, Mohit" <mdave(at)informatica(dot)com> |
Cc: | "pgsql-jdbc(at)postgresql(dot)org" <pgsql-jdbc(at)postgresql(dot)org>, "Dhuvad, Rahul" <rdhuvad(at)informatica(dot)com> |
Subject: | Re: Community Driver : Time data is getting truncated while read |
Date: | 2020-11-26 11:15:38 |
Message-ID: | CADK3HHJ-nEUjeYmEkYho1ApF4_wPRiNN===sW=24_nMg-dfHAg@mail.gmail.com |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | 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(at)informatica(dot)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
>
From | Date | Subject | |
---|---|---|---|
Next Message | Tomas Janco | 2020-11-27 11:51:45 | JDBC driver error: "syntax error at end of input" when no primary key |
Previous Message | Vladimir Sitnikov | 2020-11-25 22:02:22 | [pgjdbc/pgjdbc] |