From: Joseph Shraibman <jks@selectacast.net>
To: Oliver Jowett <oliver@opencloud.com>
Cc: pgsql-general@postgresql.org
Cc: pgsql-jdbc@postgresql.org
Subject: Re: [JDBC] pg_locks.transaction field type
Date: Wed, 17 Aug 2005 23:48:52 -0400
Message-ID: <43040524.8060901@selectacast.net> (raw)
In-Reply-To: <43040025.9070603@opencloud.com>
References: <de0ttl$l7g$1@news.hub.org>
<43040025.9070603@opencloud.com>
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?
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: jks@selectacast.net, oliver@opencloud.com, pgsql-general@postgresql.org
Subject: Re: [JDBC] pg_locks.transaction field type
In-Reply-To: <43040524.8060901@selectacast.net>
References: <de0ttl$l7g$1@news.hub.org> <43040025.9070603@opencloud.com> <43040524.8060901@selectacast.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox