Re: libpq: Remove redundant null pointer checks before free()

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: libpq: Remove redundant null pointer checks before free()
Дата
Msg-id Yqv0E7iIUfv4cpp2@paquier.xyz
обсуждение исходный текст
Ответ на libpq: Remove redundant null pointer checks before free()  (Peter Eisentraut <peter.eisentraut@enterprisedb.com>)
Ответы Re: libpq: Remove redundant null pointer checks before free()
Re: libpq: Remove redundant null pointer checks before free()
Список pgsql-hackers
On Thu, Jun 16, 2022 at 10:07:33PM +0200, Peter Eisentraut wrote:
> calls, where the "if" part is unnecessary.  This is of course pretty
> harmless, but some functions like scram_free() and freePGconn() have become
> so bulky that it becomes annoying.  So while I was doing some work in that
> area I undertook to simplify this.

Seems fine.  Would some of the buildfarm dinosaurs hiccup on that?
gaur is one that comes into mind.
--
Michael

Вложения

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

Предыдущее
От: "shiy.fnst@fujitsu.com"
Дата:
Сообщение: RE: Replica Identity check of partition table on subscriber
Следующее
От: Peter Geoghegan
Дата:
Сообщение: Re: PG 15 (and to a smaller degree 14) regression due to ExprEvalStep size