aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2023-01-12 13:49:28 +0900
committerMichael Paquier <michael@paquier.xyz>2023-01-12 13:49:28 +0900
commitbfd2542001a4a792a82a09607524e9b78a02217c (patch)
tree343b99bfd467904e86ab92cbad0149302aa74413 /src
parent5ad165d2c024ae2fdc0a5ddd17522d5c92d7aa1a (diff)
downloadpostgresql-bfd2542001a4a792a82a09607524e9b78a02217c.tar.gz
postgresql-bfd2542001a4a792a82a09607524e9b78a02217c.zip
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.
Diffstat (limited to 'src')
-rw-r--r--src/include/libpq/hba.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/libpq/hba.h b/src/include/libpq/hba.h
index 90c51ad6fa9..63b38180dca 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
{