postgres.git / summary / log / commit / refs

commit    f01fd89b1537cbc5f6572ae6c3d45243bcd7dd14
Author:   Peter Geoghegan <pg@bowt.ie>
Date:     Sat Sep 17 23:54:08 2022 +0000
First released in: 16.0, 10.23, 11.18, 12.13, 13.9, 14.6, 15.0

    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-


src/include/libpq/hba.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/include/libpq/hba.h b/src/include/libpq/hba.h index ecdbd0114ec..a7e6a80c262 100644 --- a/src/include/libpq/hba.h +++ b/src/include/libpq/hba.h @@ -125,7 +125,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 */ [parent: 7391ab28a63f]