Search Postgresql Archives

Re: [JDBC] pg_locks.transaction field type

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

              http://www.postgresql.org/docs/faq

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux