From: | Magnus Hagander <magnus(at)hagander(dot)net> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Refactor hba_authname |
Date: | 2021-04-07 12:25:33 |
Message-ID: | E1lU7FV-0007Nt-Qr@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Refactor hba_authname
The previous implementation (from 9afffcb833) had an unnecessary check
on the boundaries of the enum which trigtered compile warnings. To clean
it up, move the pre-existing static assert to a central location and
call that.
Reported-By: Erik Rijkers
Reviewed-By: Michael Paquier
Discussion: https://postgr.es/m/1056399262.13159.1617793249020@webmailclassic.xs4all.nl
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/c1968426ba3de1fe37848863e35fff30261bf941
Modified Files
--------------
src/backend/libpq/auth.c | 2 +-
src/backend/libpq/hba.c | 25 +++++++------------------
src/include/libpq/hba.h | 2 +-
3 files changed, 9 insertions(+), 20 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Eisentraut | 2021-04-07 13:17:14 | pgsql: libpq: Set Server Name Indication (SNI) for SSL connections |
Previous Message | Peter Eisentraut | 2021-04-07 11:54:07 | pgsql: doc: Improve wording |