pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Oliver Jowett <oliver@opencloud.com>
To: Joseph Shraibman <jks@selectacast.net>
Cc: pgsql-general@postgresql.org
Cc: pgsql-jdbc@postgresql.org
Subject: Re: [JDBC] pg_locks.transaction field type
Date: Thu, 18 Aug 2005 15:27:33 +1200
Message-ID: <43040025.9070603@opencloud.com> (raw)
In-Reply-To: <de0ttl$l7g$1@news.hub.org>
References: <de0ttl$l7g$1@news.hub.org>

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



view thread (6+ messages)  latest in thread

Message-ID: <43040025.9070603@opencloud.com>
Permalink:  ../43040025.9070603@opencloud.com/
Also on:    postgresql.org/message-id/43040025.9070603@opencloud.com

 · 

reply

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: oliver@opencloud.com, jks@selectacast.net, pgsql-general@postgresql.org
  Subject: Re: [JDBC] pg_locks.transaction field type
  In-Reply-To: <43040025.9070603@opencloud.com>
  References: <de0ttl$l7g$1@news.hub.org> <43040025.9070603@opencloud.com>

* 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