Fix pg_hba_file_rules for authentication method cert

Magnus Hagander <magnus@hagander.net>

Commit: 4afae689ead4ffbfdbaac1cd72794c729446596e
Author: Magnus Hagander <magnus@hagander.net>
Date: 2022-01-26T08:59:14Z
Releases: 14.2
Fix pg_hba_file_rules for authentication method cert

For authentication method cert, clientcert=verify-full is implied. But
the pg_hba_file_rules entry would incorrectly show clientcert=verify-ca.

Per bug #17354

Reported-By: Feike Steenbergen
Reviewed-By: Jonathan Katz
Backpatch-through: 12

Files

PathChange+/−
src/backend/libpq/hba.c modified +5 −1