Re: [JDBC] pg_locks.transaction field type

From: Oliver Jowett <oliver(at)opencloud(dot)com>
To: Joseph Shraibman <jks(at)selectacast(dot)net>
Cc: pgsql-general(at)postgresql(dot)org, pgsql-jdbc(at)postgresql(dot)org
Subject: Re: [JDBC] pg_locks.transaction field type
Date: 2005-08-18 03:27:33
Message-ID: 43040025.9070603@opencloud.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-jdbc

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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Joseph Shraibman 2005-08-18 03:48:52 Re: [JDBC] pg_locks.transaction field type
Previous Message Joseph Shraibman 2005-08-18 03:05:25 pg_locks.transaction field type

Browse pgsql-jdbc by date

  From Date Subject
Next Message Joseph Shraibman 2005-08-18 03:48:52 Re: [JDBC] pg_locks.transaction field type
Previous Message Joseph Shraibman 2005-08-18 03:05:25 pg_locks.transaction field type