Fix pg_hba_file_rules for authentication method cert
authorMagnus Hagander <magnus@hagander.net>
Wed, 26 Jan 2022 08:52:41 +0000 (09:52 +0100)
committerMagnus Hagander <magnus@hagander.net>
Wed, 26 Jan 2022 08:58:59 +0000 (09:58 +0100)
commit2dbb7b9b2279d064f66ce9008869fd0e2b794534
tree346485fd12357f52aa2fa06a09200ad938068358
parentbd233bdd8dd95ea127a921998847724c44295736
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
src/backend/libpq/hba.c