pgsql: Check ssl_in_use flag when reporting statistics

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Check ssl_in_use flag when reporting statistics
Date: 2020-07-07 15:01:22
Message-ID: E1jsp62-0003kF-FT@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Check ssl_in_use flag when reporting statistics

Previously we checked that the ssl pointer was not null, but this puts a
requirement on there being such a pointer which may not be true in
future multi-ssl-library supporting times. This seems to have been an
oversight in 9029f4b3740, but hasn't really had any effect since we only
have one library.

Author: Daniel Gustafsson

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/6a5c750f3f72899f4f982f921d5bf5665f55651e

Modified Files
--------------
src/backend/postmaster/pgstat.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Alvaro Herrera 2020-07-07 17:09:24 pgsql: Morph pg_replication_slots.min_safe_lsn to safe_wal_size
Previous Message Peter Eisentraut 2020-07-07 08:33:28 pgsql: Resolve gratuitous tabs in test SQL file