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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pgsql: Fix handling of HBA ldapserver with multiple hostnames.
Дата
Msg-id 25361.1542087431@sss.pgh.pa.us
обсуждение исходный текст
Ответ на pgsql: Fix handling of HBA ldapserver with multiple hostnames.  (Thomas Munro <tmunro@postgresql.org>)
Ответы Re: pgsql: Fix handling of HBA ldapserver with multiple hostnames.  (Thomas Munro <thomas.munro@enterprisedb.com>)
Список 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 по дате отправления:

Предыдущее
От: Thomas Munro
Дата:
Сообщение: pgsql: Fix handling of HBA ldapserver with multiple hostnames.
Следующее
От: Amit Kapila
Дата:
Сообщение: pgsql: Fix the initialization of atomic variable introduced by the