Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dzYli-0005ch-8Z for pgsql-hackers@arkaria.postgresql.org; Wed, 04 Oct 2017 01:46:38 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dzYlh-0002Sa-LX for pgsql-hackers@arkaria.postgresql.org; Wed, 04 Oct 2017 01:46:37 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dzYlh-0002SK-9N for pgsql-hackers@postgresql.org; Wed, 04 Oct 2017 01:46:37 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dzYle-00066F-46 for pgsql-hackers@postgresql.org; Wed, 04 Oct 2017 01:46:36 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id v941kQ0j002512; Tue, 3 Oct 2017 21:46:26 -0400 From: Tom Lane To: Badrul Chowdhury cc: Robert Haas , Satyanarayana Narlapuram , Craig Ringer , "Peter Eisentraut" , Magnus Hagander , PostgreSQL-development Subject: Re: Re: protocol version negotiation (Re: Libpq PGRES_COPY_BOTH - version compatibility) In-reply-to: References: Comments: In-reply-to Badrul Chowdhury message dated "Wed, 04 Oct 2017 01:35:06 -0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <2510.1507081586.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Tue, 03 Oct 2017 21:46:26 -0400 Message-ID: <2511.1507081586@sss.pgh.pa.us> List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org Badrul Chowdhury writes: > 1. Pgwire protocol v3.0 with negotiation is called v3.1. > 2. There are 2 patches for the change: a BE-specific patch that will be b= ackported and a FE-specific patch that is only for pg10 and above. TBH, anything that presupposes a backported change in the backend is broken by definition. We expect libpq to be able to connect to older servers, and that has to include servers that didn't get this memo. It would be all right for libpq to make a second connection attempt if its first one fails, as we did in the 2.0 -> 3.0 change. regards, tom lane --=20 Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers