Patch for binary transfer of point and box geometric types

From: Mikko Tiihonen <mikko(dot)tiihonen(at)nitorcreations(dot)com>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Patch for binary transfer of point and box geometric types
Date: 2011-09-24 12:33:01
Message-ID: 4E7DCDFD.70606@nitorcreations.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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 Content-Type Size
binary-geometry.patch text/plain 11.1 KB

Browse pgsql-jdbc by date

  From Date Subject
Next Message Kevin Grittner 2011-09-24 14:46:00 Re: Patch for binary receive of basic array types
Previous Message Mikko Tiihonen 2011-09-24 10:28:35 Re: Patch for binary receive of basic array types