Re: Reading and writing off-heap data

From: Vladimir Sitnikov <sitnikov(dot)vladimir(at)gmail(dot)com>
To: Tom Dunstan <pgsql(at)tomd(dot)cc>
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-21 16:05:53
Message-ID: CAB=Je-FrydUogv5OOWrW9D27=GL_p7WH6SW0TKWCAVRiq7o4Jw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

>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.

On the other hand, if you postpone processing the tuple till resultSet is
fully initialized, then Tuple would not differ from byte[][] much.

Vladimir

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Dave Cramer 2017-09-21 17:58:49 Re: JDBC: logical replication and LSN feedback
Previous Message Yason TR 2017-09-21 15:31:43 Re: JDBC: logical replication and LSN feedback