Neil Conway <neilc@samurai.com> writes:
> Tom Lane wrote:
>> Yeah ... a protocol change is *painful*, especially if you really want
>> clients to behave in a significantly new way.
> A backward-incompatible protocol change is painful, sure, but ISTM we
> could implement what Greg describes as a straightforward extension to
> the V3 protocol. Then the backend could just avoid sending the query
> progress information to < V4 protocol clients.
You're dodging the point though. If you want the new message type to do
anything useful in V4 clients, you still have to define an API for
libpq, update psql, try to figure out what the heck JDBC and ODBC are
going to do with it, etc etc. All doable, but it's a lot more work than
just a quick hack in the backend.
regards, tom lane