summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Geoghegan <pg@bowt.ie>2022-09-17 16:54:10 -0700
committerPeter Geoghegan <pg@bowt.ie>2022-09-17 16:54:10 -0700
commitc1dd5a8aedc7184d9a013721960813f7ace156ab (patch)
tree64f2301dc6499a45718a73d06d8128dc487319a8
parent5aee41e28de9d15219b97d912dea08723e938295 (diff)
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-
-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 c194d74c460..f2dc614159a 100644
--- a/src/include/libpq/hba.h
+++ b/src/include/libpq/hba.h
@@ -134,7 +134,7 @@ extern bool load_ident(void);
extern void hba_getauthmethod(hbaPort *port);
extern int check_usermap(const char *usermap_name,
const char *pg_role, const char *auth_user,
- bool case_sensitive);
+ bool case_insensitive);
extern bool pg_isblank(const char c);
#endif /* HBA_H */