Re: [JDBC] pg_locks.transaction field type
| От | Joseph Shraibman |
|---|---|
| Тема | Re: [JDBC] pg_locks.transaction field type |
| Дата | |
| Msg-id | 43040524.8060901@selectacast.net обсуждение исходный текст |
| Ответ на | Re: [JDBC] pg_locks.transaction field type (Oliver Jowett <oliver@opencloud.com>) |
| Ответы |
Re: [JDBC] pg_locks.transaction field type
|
| Список | pgsql-general |
Oliver Jowett wrote: > 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. Is xid a type of number? > > I'm not sure what's changed between 7.4 & 8.0 -- did you also change > JDBC driver versions? yes > > Perhaps your server should convert instances of PGobject to their string > representations before returning them across RMI. That's what I'll do. Are there any other classes besides org.postgresql.util.PGobject that I have to worry about?
В списке pgsql-general по дате отправления: