Re: Community Driver : Time data is getting truncated while read

Поиск
Список
Период
Сортировка
От Dave Cramer
Тема Re: Community Driver : Time data is getting truncated while read
Дата
Msg-id CADK3HHJ-nEUjeYmEkYho1ApF4_wPRiNN===sW=24_nMg-dfHAg@mail.gmail.com
обсуждение исходный текст
Ответ на Community Driver : Time data is getting truncated while read  ("Dave, Mohit" <mdave@informatica.com>)
Список 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

Вложения

В списке pgsql-jdbc по дате отправления:

Предыдущее
От: Vladimir Sitnikov
Дата:
Сообщение: [pgjdbc/pgjdbc]
Следующее
От: Tomas Janco
Дата:
Сообщение: JDBC driver error: "syntax error at end of input" when no primary key