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:55:43
Message-ID: 430406BF.2040406@opencloud.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-jdbc

Joseph Shraibman wrote:

>> 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?

It's an internal backend type; I'm not familiar with the details.

>> 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?

There are other classes for things like intervals and the geometric
types, but they should all be subclasses of PGobject.

-O

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Alvaro Herrera 2005-08-18 04:10:44 Re: [JDBC] pg_locks.transaction field type
Previous Message Joseph Shraibman 2005-08-18 03:48:52 Re: [JDBC] pg_locks.transaction field type

Browse pgsql-jdbc by date

  From Date Subject
Next Message Alvaro Herrera 2005-08-18 04:10:44 Re: [JDBC] pg_locks.transaction field type
Previous Message Joseph Shraibman 2005-08-18 03:48:52 Re: [JDBC] pg_locks.transaction field type