pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix bogus behavior of PQsslAttribute(conn, "library").
Date: Thu, 29 Sep 2022 21:28:19 +0000
Message-ID: <E1oe14s-000BgD-Ia@gemulon.postgresql.org> (raw)

Fix bogus behavior of PQsslAttribute(conn, "library").

Commit ebc8b7d44 intended to change the behavior of
PQsslAttribute(NULL, "library"), but accidentally also changed
what happens with a non-NULL conn pointer.  Undo that so that
only the intended behavior change happens.  Clarify some
associated documentation.

Per bug #17625 from Heath Lord.  Back-patch to v15.

Discussion: https://postgr.es/m/17625-fc47c78b7d71b534@postgresql.org

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/80a05679d5a400b8f995740c175f8bdb060bb05c

Modified Files
--------------
doc/src/sgml/libpq.sgml                  | 36 +++++++++++++++++++-------------
src/interfaces/libpq/fe-secure-openssl.c | 13 +++++++++---
2 files changed, 32 insertions(+), 17 deletions(-)



view thread (2+ messages)

Message-ID: <E1oe14s-000BgD-Ia@gemulon.postgresql.org>
Permalink:  ../E1oe14s-000BgD-Ia@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1oe14s-000BgD-Ia@gemulon.postgresql.org

 · 

reply

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us
  Subject: Re: pgsql: Fix bogus behavior of PQsslAttribute(conn, "library").
  In-Reply-To: <E1oe14s-000BgD-Ia@gemulon.postgresql.org>
  References: <E1oe14s-000BgD-Ia@gemulon.postgresql.org>

* 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