From: Tom Lane <tgl@sss.pgh.pa.us>
To: Oliver Jowett <oliver@opencloud.com>
Cc: Mikko Tiihonen <mikko.tiihonen@nitorcreations.com>
Cc: pgsql-jdbc@postgresql.org
Cc: pgsql-hackers@postgresql.org
Subject: Re: [JDBC] Optimize postgres protocol for fixed size arrays
Date: Tue, 22 Nov 2011 18:52:24 -0500
Message-ID: <4875.1322005944@sss.pgh.pa.us> (raw)
In-Reply-To: <CA+0W9LMJM-XjvDPcN7kQEp1O1UHtp1qoXV_n-P9nXCzZWKKg1w@mail.gmail.com>
References: <4ECC186A.30709@nitorcreations.com>
<CA+0W9LMJM-XjvDPcN7kQEp1O1UHtp1qoXV_n-P9nXCzZWKKg1w@mail.gmail.com>
Oliver Jowett <oliver@opencloud.com> writes:
> On 23 November 2011 10:47, Mikko Tiihonen
> <mikko.tiihonen@nitorcreations.com> wrote:
>> Here is a patch that adds a new flag to the protocol that is set when all
>> elements of the array are of same fixed size.
> How does a client detect that this feature is supported?
The only way that anything like this will go in is as part of a protocol
version bump, so discoverability would reduce to knowing which protocol
you're using. We should file this away as one of the things we might
want to do whenever there's sufficient critical mass for a new wire
protocol version.
Note that COPY BINARY files would be affected too, and so we'd want to
make sure that this sort of change is recognizable from a binary file's
header.
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: tgl@sss.pgh.pa.us, oliver@opencloud.com, mikko.tiihonen@nitorcreations.com, pgsql-hackers@postgresql.org
Subject: Re: [JDBC] Optimize postgres protocol for fixed size arrays
In-Reply-To: <4875.1322005944@sss.pgh.pa.us>
References: <4ECC186A.30709@nitorcreations.com> <CA+0W9LMJM-XjvDPcN7kQEp1O1UHtp1qoXV_n-P9nXCzZWKKg1w@mail.gmail.com> <4875.1322005944@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox