Re: pgsql: Fix handling of HBA ldapserver with multiple hostnames. - Mailing list pgsql-committers

From Tom Lane
Subject Re: pgsql: Fix handling of HBA ldapserver with multiple hostnames.
Date
Msg-id 25361.1542087431@sss.pgh.pa.us
Whole thread Raw
In response to pgsql: Fix handling of HBA ldapserver with multiple hostnames.  (Thomas Munro <tmunro@postgresql.org>)
Responses Re: pgsql: Fix handling of HBA ldapserver with multiple hostnames.
List pgsql-committers
Thomas Munro <tmunro@postgresql.org> writes:
> Fix handling of HBA ldapserver with multiple hostnames.

longfin thinks this has a problem with const-ness:

auth.c:2380:10: error: passing 'const char *' to parameter of type 'void *' discards qualifiers
[-Werror,-Wincompatible-pointer-types-discards-qualifiers]
                        pfree(hostname);
                              ^~~~~~~~

            regards, tom lane


pgsql-committers by date:

Previous
From: Thomas Munro
Date:
Subject: pgsql: Fix handling of HBA ldapserver with multiple hostnames.
Next
From: Amit Kapila
Date:
Subject: pgsql: Fix the initialization of atomic variable introduced by the