Re: [JDBC] Optimize postgres protocol for fixed size arrays - Mailing list pgsql-hackers

From Kevin Grittner
Subject Re: [JDBC] Optimize postgres protocol for fixed size arrays
Date
Msg-id 4ECD3D12020000250004347E@gw.wicourts.gov
Whole thread Raw
Responses Re: [JDBC] Optimize postgres protocol for fixed size arrays
List pgsql-hackers
Oliver Jowett  wrote:

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

I've been thinking the same thing.  Any new protocol should include a
way for each side to publish a list of what it can accept from the
other during initial handshaking.

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

Perhaps.  It would be great if both sides could recognize the case
where the "feature negotiation" was absent and use a default feature
list for the protocol available on the other end.

-Kevin

pgsql-hackers by date:

Previous
From: Oliver Jowett
Date:
Subject: Re: [JDBC] Optimize postgres protocol for fixed size arrays
Next
From: Mika Eloranta
Date:
Subject: PL/Python SQL error code pass-through