Re: Roadmap for FE/BE protocol redesign - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Roadmap for FE/BE protocol redesign
Date
Msg-id 19294.1047324622@sss.pgh.pa.us
Whole thread Raw
In response to Re: Roadmap for FE/BE protocol redesign  (Rod Taylor <rbt@rbt.ca>)
Responses Re: Roadmap for FE/BE protocol redesign  (Rod Taylor <rbt@rbt.ca>)
List pgsql-hackers
Rod Taylor <rbt@rbt.ca> writes:
> I'd be tempted to make a startup packet that will allow libpq to revert
> back to old protocols easily enough for the future so that we can do=20
> incremental changes to the protocol.

We already have that: you send a startup packet with a version less than
the latest, and the backend speaks that version to you.

One thing I want to do though is relax the protocol-level constraints
on certain message contents: for example, if ErrorMessage becomes a
collection of labeled fields, it should be possible to add new field
types without calling it a protocol revision.  The protocol need only
specify "ignore any fields whose label you do not recognize".
        regards, tom lane


pgsql-hackers by date:

Previous
From: Robert Treat
Date:
Subject: Re: 7.4 vs 8.0 WAS Roadmap for FE/BE protocol redesign
Next
From: "Merlin Moncure"
Date:
Subject: Re: [GENERAL] division by zero