Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 4274dc2

Browse files
Make check_usermap() parameter names consistent.
The function has a bool argument named "case_insensitive", but that was spelled "case_sensitive" in the declaration. Make them consistent now to avoid confusion in the future. Author: Peter Geoghegan <pg@bowt.ie> Reviewed-By: Michael Paquiër <michael@paquier.xyz> Discussion: https://postgr.es/m/CAH2-WznJt9CMM9KJTMjJh_zbL5hD9oX44qdJ4aqZtjFi-zA3Tg@mail.gmail.com Backpatch: 10-
1 parent 43fcaa3 commit 4274dc2

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
@@ -169,7 +169,7 @@ extern const char *hba_authname(UserAuth auth_method);
169169
extern void hba_getauthmethod(hbaPort *port);
170170
extern int check_usermap(const char *usermap_name,
171171
const char *pg_role, const char *auth_user,
172-
bool case_sensitive);
172+
bool case_insensitive);
173173
extern HbaLine *parse_hba_line(TokenizedAuthLine *tok_line, int elevel);
174174
extern IdentLine *parse_ident_line(TokenizedAuthLine *tok_line, int elevel);
175175
extern bool pg_isblank(const char c);

0 commit comments

Comments
 (0)