aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Geoghegan <pg@bowt.ie>2022-09-17 16:54:14 -0700
committerPeter Geoghegan <pg@bowt.ie>2022-09-17 16:54:14 -0700
commit44933010ceb3ac06d4c01b559aafed4bef16c45d (patch)
tree3f6e04d7cc59363b495c5153b9985a627bd158a0
parentb4b4b817da5a6293b17109f5a2d61f2e1ab8cf11 (diff)
downloadpostgresql-44933010ceb3ac06d4c01b559aafed4bef16c45d.tar.gz
postgresql-44933010ceb3ac06d4c01b559aafed4bef16c45d.zip
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 8d9f3821b12..e848f616b9e 100644
--- a/src/include/libpq/hba.h
+++ b/src/include/libpq/hba.h
@@ -141,7 +141,7 @@ extern const char *hba_authname(UserAuth auth_method);
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 */