]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
Make check_usermap() parameter names consistent.
authorPeter Geoghegan <pg@bowt.ie>
Sat, 17 Sep 2022 23:54:06 +0000 (16:54 -0700)
committerPeter Geoghegan <pg@bowt.ie>
Sat, 17 Sep 2022 23:54:06 +0000 (16:54 -0700)
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-

src/include/libpq/hba.h

index c20076bfbdae2a4ca6a787cb10b3f0b46735cd6d..b97bac655d193ea14f000c8f460336ed20253b01 100644 (file)
@@ -123,7 +123,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 */