X-Original-To: pgsql-general-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 5623E52870; Thu, 18 Aug 2005 00:27:39 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 45143-10; Thu, 18 Aug 2005 03:27:37 +0000 (GMT) Received: from yass.opencloud.co.nz (yass.opencloud.co.nz [203.79.85.162]) by svr1.postgresql.org (Postfix) with ESMTP id 3C25152A27; Thu, 18 Aug 2005 00:27:36 -0300 (ADT) Received: from flood.opencloud.co.nz ([192.168.0.31]) by yass.opencloud.co.nz with asmtp (TLS-1.0:DHE_RSA_AES_128_CBC_SHA:16) (Exim 4.34) id 1E5b42-0003jX-7g; Thu, 18 Aug 2005 15:27:34 +1200 Message-ID: <43040025.9070603@opencloud.com> Date: Thu, 18 Aug 2005 15:27:33 +1200 From: Oliver Jowett User-Agent: Mozilla Thunderbird 0.7.3 (X11/20040803) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Joseph Shraibman Cc: pgsql-general@postgresql.org, pgsql-jdbc@postgresql.org Subject: Re: [JDBC] pg_locks.transaction field type References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.009 required=5 tests=[AWL=0.009] X-Spam-Level: X-Archive-Number: 200508/921 X-Sequence-Number: 82329 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