From bfd2542001a4a792a82a09607524e9b78a02217c Mon Sep 17 00:00:00 2001 From: Michael Paquier Date: Thu, 12 Jan 2023 13:49:28 +0900 Subject: [PATCH] Fix incorrect comment in hba.h A comment in hba.h mentioned that AuthTokens are used when building the IdentLines from pg_ident.conf, but since 8fea868 that has added support of regexps for databases and roles in pg_hba.conf, it is also the case of HBA files. This refreshes the comment to refer to both HBA and ident files. Issue spotted while going through a different patch. --- src/include/libpq/hba.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/include/libpq/hba.h b/src/include/libpq/hba.h index 90c51ad6fa..63b38180dc 100644 --- a/src/include/libpq/hba.h +++ b/src/include/libpq/hba.h @@ -82,7 +82,7 @@ typedef enum ClientCertName * (pg_ident.conf or pg_hba.conf), together with whether the token has * been quoted. If "string" begins with a slash, it may optionally * contain a regular expression (currently used for pg_ident.conf when - * building IdentLines). + * building IdentLines and for pg_hba.conf when building HbaLines). */ typedef struct AuthToken {