X-Original-To: pgsql-hackers@postgreSQL.org Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by postgresql.org (Postfix) with ESMTP id 2F5BA475C15; Mon, 10 Mar 2003 16:26:23 -0500 (EST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.8/8.12.8) with ESMTP id h2ALQOub020111; Mon, 10 Mar 2003 16:26:24 -0500 (EST) To: "Magnus Hagander" Cc: pgsql-hackers@postgreSQL.org, pgsql-interfaces@postgreSQL.org Subject: Re: [INTERFACES] Roadmap for FE/BE protocol redesign In-reply-to: <81124B76C0CF364EBAC6CD213ABEDEF7509DA1@ARGON.edu.sollentuna.se> References: <81124B76C0CF364EBAC6CD213ABEDEF7509DA1@ARGON.edu.sollentuna.se> Comments: In-reply-to "Magnus Hagander" message dated "Mon, 10 Mar 2003 22:13:37 +0100" Date: Mon, 10 Mar 2003 16:26:24 -0500 Message-ID: <20110.1047331584@sss.pgh.pa.us> From: Tom Lane X-Archive-Number: 200303/382 X-Sequence-Number: 36628 "Magnus Hagander" writes: > X and Y? Well, the first thing that comes to mind is SSL support. I'm > not sure if it's still that way, but at least it used to be a pretty > ugly kludge there with the connection being dropped and re-connected in > some cases. SSL support is a bad example, since it would have to be negotiated long before any more general-purpose negotiation could occur. (You do want the connection authentication exchange to happen under cover of SSL, no?) ISTM most of the other features you might want to turn on and off can be handled as SET commands: the client tries to SET a variable, the backend either accepts it or returns an error. No need for special protocol support if you do it that way. Can you point to any examples that have to have a special protocol feature instead? regards, tom lane