Re: [JDBC] pg_locks.transaction field type

Поиск
Список
Период
Сортировка
От Oliver Jowett
Тема Re: [JDBC] pg_locks.transaction field type
Дата
Msg-id 43040025.9070603@opencloud.com
обсуждение исходный текст
Ответ на pg_locks.transaction field type  (Joseph Shraibman <jks@selectacast.net>)
Ответы Re: [JDBC] pg_locks.transaction field type  (Joseph Shraibman <jks@selectacast.net>)
Список pgsql-general
Joseph Shraibman wrote:
> Is it a jdbc bug that
> is returning the answer as org.postgresql.util.PGobject instead of some
> kind of Number?

The column's type is 'xid' which the driver doesn't currently handle, so
it gets put into the "wrap it in PGobject" bucket.

I'm not sure what's changed between 7.4 & 8.0 -- did you also change
JDBC driver versions?

Perhaps your server should convert instances of PGobject to their string
representations before returning them across RMI.

-O

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

Предыдущее
От: Joseph Shraibman
Дата:
Сообщение: pg_locks.transaction field type
Следующее
От: Joseph Shraibman
Дата:
Сообщение: Re: [JDBC] pg_locks.transaction field type