Re: Don't pass NULL pointer to strcmp().

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Don't pass NULL pointer to strcmp().
Дата
Msg-id 3123130.1698940775@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Don't pass NULL pointer to strcmp().  (Xing Guo <higuoxing@gmail.com>)
Список pgsql-hackers
Looking closer, I realized that my proposed change in RestoreGUCState
is unnecessary, because guc_free() is already permissive about being
passed a NULL.  That leaves us with one live bug in
get_explain_guc_options, two probably-unreachable hazards in
check_GUC_init and write_one_nondefault_variable, and two API changes
in GetConfigOption and GetConfigOptionResetString.  I'm dubious that
back-patching the API changes would be a good idea, so I applied
that to HEAD only.  The rest I backpatched as far as relevant.

Thanks for the report!

            regards, tom lane



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tomas Vondra
Дата:
Сообщение: Re: logical decoding and replication of sequences, take 2
Следующее
От: Nathan Bossart
Дата:
Сообщение: Re: Three commit tips