Re: Reading and writing off-heap data

From: Tom Dunstan <tom(at)tomd(dot)cc>
To: Vladimir Sitnikov <sitnikov(dot)vladimir(at)gmail(dot)com>
Cc: Dave Cramer <pg(at)fastcrypt(dot)com>, "pgsql-jdbc(at)postgresql(dot)org" <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: Reading and writing off-heap data
Date: 2017-09-22 01:10:10
Message-ID: CAPPfruwjVe=RtX5i6y8VvfQ1=V9_MOHfAJbks3mS125ioFWPtw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

On 22 September 2017 at 01:35, Vladimir Sitnikov <
sitnikov(dot)vladimir(at)gmail(dot)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

>

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Genya 2017-09-22 13:43:40 Timestamp parameter gets sent as date
Previous Message Jorge Solorzano 2017-09-21 20:43:20 [pgjdbc/pgjdbc] ee6443: fix: ignore replication test until 11.1 to avoid r...