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 52DA852AC4; Thu, 18 Aug 2005 00:05:34 -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 21696-04; Thu, 18 Aug 2005 03:05:29 +0000 (GMT) Received: from floppy.pyrenet.fr (floppy.pyrenet.fr [194.116.145.2]) by svr1.postgresql.org (Postfix) with ESMTP id 1F5AE52AE0; Thu, 18 Aug 2005 00:05:28 -0300 (ADT) Received: by floppy.pyrenet.fr (Postfix, from userid 106) id D613930B42; Thu, 18 Aug 2005 05:16:38 +0200 (MET DST) From: Joseph Shraibman X-Newsgroups: pgsql.interfaces.jdbc,pgsql.general Subject: pg_locks.transaction field type Date: Wed, 17 Aug 2005 23:05:25 -0400 Organization: Hub.Org Networking Services Lines: 21 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@news.hub.org User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20050716 X-Accept-Language: en-us, en To: pgsql-general@postgresql.org, pgsql-jdbc@postgresql.org X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0 required=5 tests=[none] X-Spam-Level: X-Archive-Number: 200508/920 X-Sequence-Number: 82328 I have a method in my rmi server that takes a query and returns an Object[][]. I had this query: SELECT (select relname from pg_catalog.pg_class where relfilenode = relation) as relname, * FROM pg_locks; After upgrading from 7.4 to 8.0 I was getting this problem: WARNING: Servlet.service() for servlet jsp threw exception java.rmi.UnmarshalException: error unmarshalling return; nested exception is: java.lang.ClassNotFoundException: org.postgresql.util.PGobject (no security manager: RMI class loader disabled) The problem seems to be the "transaction" field. It looks like a number type, but I can't really tell because "\d pg_catalog" doesn't work in psql. So what's the difference between 7.4.7 and 8.0.3? Is it that 7.4.7 never returned anything in the transaction field? Is it a jdbc bug that is returning the answer as org.postgresql.util.PGobject instead of some kind of Number?