Re: [JDBC] Optimize postgres protocol for fixed size arrays

From: Oliver Jowett <oliver(at)opencloud(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Merlin Moncure <mmoncure(at)gmail(dot)com>, Mikko Tiihonen <mikko(dot)tiihonen(at)nitorcreations(dot)com>, pgsql-jdbc(at)postgresql(dot)org, pgsql-hackers(at)postgresql(dot)org
Subject: Re: [JDBC] Optimize postgres protocol for fixed size arrays
Date: 2011-11-24 00:26:08
Message-ID: CA+0W9LNpLwWV36KxysG=8YHk7yxXgXTdvfsYQS+rHhDmUtRCmg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-jdbc

On 24 November 2011 05:36, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:

> Now it's possible we could do that without formally calling it a
> protocol version change, but I don't care at all for the idea of coming
> up with one-off hacks every time somebody decides that some feature is
> important enough that they have to have it Right Now instead of waiting
> for a sufficient accumulation of reasons to have a protocol flag day.
> I think "but we made arrays a bit smaller!" is a pretty lame response
> to have to give when somebody complains that Postgres 9.2 broke their
> client software.  When we do it, I want to have a *long* list of good
> reasons.

Can we get a mechanism for minor protocol changes in this future
version? Something as simple as exchanging a list of protocol features
during the initial handshake (then use only features that are present
on both sides) would be enough. The difficulty of making any protocol
changes at the moment is a big stumbling block.

(You could probably retrofit that to the current protocol version)

Oliver

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Kevin Grittner 2011-11-24 00:36:02 Re: [JDBC] Optimize postgres protocol for fixed size arrays
Previous Message Kevin Grittner 2011-11-24 00:18:16 Re: FlexLocks

Browse pgsql-jdbc by date

  From Date Subject
Next Message Kevin Grittner 2011-11-24 00:36:02 Re: [JDBC] Optimize postgres protocol for fixed size arrays
Previous Message Tom Lane 2011-11-23 16:36:28 Re: [JDBC] Optimize postgres protocol for fixed size arrays