Patch for binary transfer of point and box geometric types - Mailing list pgsql-jdbc

From Mikko Tiihonen
Subject Patch for binary transfer of point and box geometric types
Date
Msg-id 4E7DCDFD.70606@nitorcreations.com
Whole thread Raw
List pgsql-jdbc
Hi,

This patch adds generic support for PGobject subclasses to use binary transfer mode and modifies
PGpoint and PGbox objects to use it.

A PGobject must implement a new PGBinaryObject interface to support binary transfers. I made
it a separate interface so that existing custom PGobject instances need not be modified.

The registration of OIDs is still hard coded in the AbstractJdbc2Connection so no custom types
can yet use the binary transfer feature.

Adding other geometric types is very easy.

-Mikko

Attachment

pgsql-jdbc by date:

Previous
From: Mikko Tiihonen
Date:
Subject: Re: Patch for binary receive of basic array types
Next
From: "Kevin Grittner"
Date:
Subject: Re: Patch for binary receive of basic array types