Re: patch: ResultSetTest.java - Mailing list pgsql-jdbc

From Tom Lane
Subject Re: patch: ResultSetTest.java
Date
Msg-id 28994.1130273364@sss.pgh.pa.us
Whole thread Raw
In response to Re: patch: ResultSetTest.java  (Oliver Jowett <oliver@opencloud.com>)
Responses Re: patch: ResultSetTest.java
List pgsql-jdbc
Oliver Jowett <oliver@opencloud.com> writes:
> Any plans for the backend to require send/receive functions for all
> types?

Highly unlikely, since that would break most user-defined types in existence.

> Or perhaps something like using the input/output functions if
> send/receive are not present?

Doesn't seem like an amazingly good idea ... how would you know what you
were getting?

A more salient point is exactly what is JDBC going to *do* with data in
an unknown binary format?

You may have to fall back to providing a switch somewhere that says
whether or not to use binary I/O, with the understanding that it's only
safe to turn it on when all the queries use only supported types.

            regards, tom lane

pgsql-jdbc by date:

Previous
From: Oliver Jowett
Date:
Subject: Re: patch: ResultSetTest.java
Next
From: Oliver Jowett
Date:
Subject: Re: patch: ResultSetTest.java