Re: [JDBC] Reading and writing off-heap data - Mailing list pgsql-jdbc

From Tom Dunstan
Subject Re: [JDBC] Reading and writing off-heap data
Date
Msg-id CAPPfruwS_2K7X9h4Cz-zGwxdAv8Z4A_0C6eU1qbDAiGK1-UznQ@mail.gmail.com
Whole thread Raw
In response to Re: [JDBC] Reading and writing off-heap data  (Vladimir Sitnikov <sitnikov.vladimir@gmail.com>)
List pgsql-jdbc
(Sorry, re-sending from address that is subscribed to the list)

On 22 September 2017 at 01:35, Vladimir Sitnikov <sitnikov.vladimir@gmail.com> wrote:
>I've submitted a PR [3] that introduces a Tuple class as a wrapper to pass around, which then allows us to do more interesting things with the data.

I wonder how would you wire things since "new Tuple" is created before "new ResultSet", so it would be not that trivial to call user code (enable user to read bytes off the wire) from there.

Code affecting where incoming data goes would have to be registered with the statement object or similar before execution.

Cheers 

Tom

pgsql-jdbc by date:

Previous
From: Tom Dunstan
Date:
Subject: Re: [JDBC] Reading and writing off-heap data
Next
From: Vladimir Sitnikov
Date:
Subject: Re: [JDBC] Timestamp parameter gets sent as date