Re: [BUGS] BUG #1523: precision column value returned from

Поиск
Список
Период
Сортировка
От Oliver Jowett
Тема Re: [BUGS] BUG #1523: precision column value returned from
Дата
Msg-id 422F6641.6030806@opencloud.com
обсуждение исходный текст
Ответ на Re: [BUGS] BUG #1523: precision column value returned from  (Sergio Lob <Sergio_Lob@iwaysoftware.com>)
Ответы Re: [BUGS] BUG #1523: precision column value returned from  (Sergio Lob <Sergio_Lob@iwaysoftware.com>)
Список pgsql-jdbc
Sergio Lob wrote:

> What format does PostgreSQL return in getString() method for a timestamp column, for example? Seems like it should
returnsame as toString() method of a timestamp object as defined in java 2 api spec. 

It returns the string representation the backend gave it. This is true
for all types at the moment. For a timestamp with timezone value this is
generally going to be yyyy-mm-dd hh:mm:ss.nnnnnnzzz:

test=# select now();
               now
-------------------------------
  2005-03-10 10:08:11.707753+13
(1 row)

Does the JDBC spec say somewhere that we should return a different format?

-O

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

Предыдущее
От: Ryszard Lach
Дата:
Сообщение: PostgreSQL 8.0 can't print duration in log when client uses 8.0 jdbc driver
Следующее
От: Oliver Jowett
Дата:
Сообщение: Re: Crystal Reports: Connection rejected: FATAL: no PostgreSQL