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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix bogus behavior of PQsslAttribute(conn, "library").
Date: 2022-09-29 21:28:19
Message-ID: E1oe14s-000BgD-Ia@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Andres Freund 2022-09-30 04:08:30 pgsql: ci: Add 32bit build and test
Previous Message Tom Lane 2022-09-29 17:28:00 pgsql: Improve wording of log messages triggered by max_slot_wal_keep_s