Skip to content

Commit bfd2542

Browse files
committed
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.
1 parent 5ad165d commit bfd2542

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/include/libpq/hba.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ typedef enum ClientCertName
8282
* (pg_ident.conf or pg_hba.conf), together with whether the token has
8383
* been quoted. If "string" begins with a slash, it may optionally
8484
* contain a regular expression (currently used for pg_ident.conf when
85-
* building IdentLines).
85+
* building IdentLines and for pg_hba.conf when building HbaLines).
8686
*/
8787
typedef struct AuthToken
8888
{

0 commit comments

Comments
 (0)