Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oe15s-0004ja-N4 for pgsql-bugs@arkaria.postgresql.org; Thu, 29 Sep 2022 21:29:20 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1oe15r-0007jr-Fm for pgsql-bugs@arkaria.postgresql.org; Thu, 29 Sep 2022 21:29:19 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oe15r-0007eu-7D for pgsql-bugs@lists.postgresql.org; Thu, 29 Sep 2022 21:29:19 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oe15p-0007pp-4G for pgsql-bugs@lists.postgresql.org; Thu, 29 Sep 2022 21:29:18 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 28TLTE9O432065; Thu, 29 Sep 2022 17:29:14 -0400 From: Tom Lane To: Daniel Gustafsson cc: Jacob Champion , heath.lord@crunchydata.com, pgsql-bugs@lists.postgresql.org Subject: Re: BUG #17625: In PG15 PQsslAttribute returns different values than PG14 when SSL is not in use for the connection In-reply-to: References: <17625-fc47c78b7d71b534@postgresql.org> <346263.1664480998@sss.pgh.pa.us> <360379.1664482591@sss.pgh.pa.us> <395956.1664484332@sss.pgh.pa.us> Comments: In-reply-to Daniel Gustafsson message dated "Thu, 29 Sep 2022 23:10:48 +0200" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <432063.1664486954.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Thu, 29 Sep 2022 17:29:14 -0400 Message-ID: <432064.1664486954@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Daniel Gustafsson writes: > Reading a few lines further down in the docs I noticed this description = for the > compression parameter to PQsslAttribute: > "If SSL compression is in use, returns the name of the compression > algorithm, or "on" if compression is used but the algorithm is not > known. If compression is not in use, returns "off"." > AFAICT that has never been the case since 91fa7b4719ac, it has always ju= st > returned "on" or "off" and never the name of the compression algorithm. = I > propose to apply the attached backpatched to make the docs align with th= e code. Yeah, it clearly doesn't do that. +1 regards, tom lane