diff options
author | Peter Geoghegan <pg@bowt.ie> | 2022-09-17 16:54:16 -0700 |
---|---|---|
committer | Peter Geoghegan <pg@bowt.ie> | 2022-09-17 16:54:16 -0700 |
commit | 1ef00afe2e457161421dc61f6bc329af3aa6cc4b (patch) | |
tree | 99e25c8a8cd55069c08983e6f44258f9f9b5f592 | |
parent | 940c1c7ed3d14ae132c9b96643be6901b2d92993 (diff) | |
download | postgresql-1ef00afe2e457161421dc61f6bc329af3aa6cc4b.tar.gz postgresql-1ef00afe2e457161421dc61f6bc329af3aa6cc4b.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.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/libpq/hba.h b/src/include/libpq/hba.h index 90036f7bcd3..d06da818060 100644 --- a/src/include/libpq/hba.h +++ b/src/include/libpq/hba.h @@ -169,7 +169,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 HbaLine *parse_hba_line(TokenizedAuthLine *tok_line, int elevel); extern IdentLine *parse_ident_line(TokenizedAuthLine *tok_line, int elevel); extern bool pg_isblank(const char c); |