Re: pg_locks.transaction field type - Mailing list pgsql-jdbc

From Oliver Jowett
Subject Re: pg_locks.transaction field type
Date
Msg-id 430406BF.2040406@opencloud.com
Whole thread Raw
In response to Re: pg_locks.transaction field type  (Joseph Shraibman <jks@selectacast.net>)
Responses Re: [GENERAL] pg_locks.transaction field type  (Alvaro Herrera <alvherre@alvh.no-ip.com>)
List 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

pgsql-jdbc by date:

Previous
From: Joseph Shraibman
Date:
Subject: Re: pg_locks.transaction field type
Next
From: Joseph Shraibman
Date:
Subject: Re: [GENERAL] pg_locks.transaction field type