From: Rod Taylor <rbt@rbt.ca>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: PostgreSQL Development <pgsql-hackers@postgresql.org>
Cc: pgsql-interfaces@postgresql.org
Subject: Re: Roadmap for FE/BE protocol redesign
Date: 10 Mar 2003 14:41:36 -0500
Message-ID: <1047325296.99075.35.camel@jester> (raw)
In-Reply-To: <19294.1047324622@sss.pgh.pa.us>
References: <19041.1047322279@sss.pgh.pa.us>
<1047324016.99075.31.camel@jester>
<19294.1047324622@sss.pgh.pa.us>
On Mon, 2003-03-10 at 14:30, Tom Lane wrote:
> 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.
Yes, but that requires you know the backend is less than the latest.
If you send version A, and the backend responds don't know A, but I know
A - 2, then libpq may want to try speaking A - 2.
> types without calling it a protocol revision. The protocol need only
> specify "ignore any fields whose label you do not recognize".
This is probably just as good, if it's done for both sides.
--
Rod Taylor <rbt@rbt.ca>
PGP Key: http://www.rbt.ca/rbtpub.ascAttachments:
signature.asc (application/pgp-signature, 186B) download
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 using the --to and --cc options:
reply via email
To: pgsql-interfaces@postgresql.org
Cc: rbt@rbt.ca, tgl@sss.pgh.pa.us, pgsql-hackers@postgresql.org
Subject: Re: Roadmap for FE/BE protocol redesign
In-Reply-To: <1047325296.99075.35.camel@jester>
* 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