Re: pgsql: Fix handling of HBA ldapserver with multiple hostnames.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Thomas Munro <tmunro(at)postgresql(dot)org>
Cc: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: Re: pgsql: Fix handling of HBA ldapserver with multiple hostnames.
Date: 2018-11-13 05:37:11
Message-ID: 25361.1542087431@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Thomas Munro <tmunro(at)postgresql(dot)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

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Amit Kapila 2018-11-13 05:40:55 pgsql: Fix the initialization of atomic variables introduced by the
Previous Message Thomas Munro 2018-11-13 04:50:49 pgsql: Fix handling of HBA ldapserver with multiple hostnames.