git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5ad165d)
Fix incorrect comment in hba.h
2023年1月12日 04:49:28 +0000 (13:49 +0900)
2023年1月12日 04:49:28 +0000 (13:49 +0900)
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.


diff --git a/src/include/libpq/hba.h b/src/include/libpq/hba.h
index 90c51ad6fa9597ada56d5e201a3a7c7a0bcde490..63b38180dcade711bc37caa7ec6550064f77f5a4 100644 (file)
--- 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
{
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /