Skip to content

Commit 4493301

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 b4b4b81 commit 4493301

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/include/libpq/hba.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ extern const char *hba_authname(UserAuth auth_method);
141141
extern void hba_getauthmethod(hbaPort *port);
142142
extern int check_usermap(const char *usermap_name,
143143
const char *pg_role, const char *auth_user,
144-
bool case_sensitive);
144+
bool case_insensitive);
145145
extern bool pg_isblank(const char c);
146146

147147
#endif /* HBA_H */

0 commit comments

Comments
 (0)