pgsql: Check ssl_in_use flag when reporting statistics - Mailing list pgsql-committers

From Magnus Hagander
Subject pgsql: Check ssl_in_use flag when reporting statistics
Date
Msg-id E1jsp62-0003kF-FT@gemulon.postgresql.org
Whole thread Raw
List 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(-)


pgsql-committers by date:

Previous
From: Peter Eisentraut
Date:
Subject: pgsql: Resolve gratuitous tabs in test SQL file
Next
From: Alvaro Herrera
Date:
Subject: pgsql: Morph pg_replication_slots.min_safe_lsn to safe_wal_size