X-Original-To: pgsql-hackers@postgresql.org Received: from jester.inquent.com (unknown [216.208.117.7]) by postgresql.org (Postfix) with ESMTP id 249FD47617F; Mon, 10 Mar 2003 14:41:38 -0500 (EST) Received: from [127.0.0.1] (localhost [127.0.0.1]) by jester.inquent.com (8.12.6/8.12.6) with ESMTP id h2AJfaee036212; Mon, 10 Mar 2003 14:41:36 -0500 (EST) (envelope-from rbt@rbt.ca) Subject: Re: Roadmap for FE/BE protocol redesign From: Rod Taylor To: Tom Lane Cc: PostgreSQL Development , pgsql-interfaces@postgresql.org 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> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-YwcFu+G4n94wGqJC8HTJ" Organization: Message-Id: <1047325296.99075.35.camel@jester> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 Date: 10 Mar 2003 14:41:36 -0500 X-Archive-Number: 200303/374 X-Sequence-Number: 36620 --=-YwcFu+G4n94wGqJC8HTJ Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Mon, 2003-03-10 at 14:30, Tom Lane wrote: > Rod Taylor 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=3D= 20 > > incremental changes to the protocol. >=20 > 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. --=20 Rod Taylor PGP Key: http://www.rbt.ca/rbtpub.asc --=-YwcFu+G4n94wGqJC8HTJ Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQA+bOpw6DETLow6vwwRArpSAJwK721vuuJ3Vvv6mEYcxE17w7jh8QCePBLh BNbcxAA5HOif6EvRkb9H+zM= =ZiM0 -----END PGP SIGNATURE----- --=-YwcFu+G4n94wGqJC8HTJ--