Re: libpq: Remove redundant null pointer checks before free()
В списке pgsql-hackers по дате отправления:
| От | Peter Eisentraut |
|---|---|
| Тема | Re: libpq: Remove redundant null pointer checks before free() |
| Дата | |
| Msg-id | 5333caf7-7667-bc58-0fd0-2e82eaf01967@enterprisedb.com обсуждение исходный текст |
| Ответ на | Re: libpq: Remove redundant null pointer checks before free() (Michael Paquier <michael@paquier.xyz>) |
| Ответы |
Re: libpq: Remove redundant null pointer checks before free()
|
| Список | pgsql-hackers |
On 17.06.22 05:25, Michael Paquier wrote: > 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. I'm pretty sure PostgreSQL code already depends on this behavior anyway. The code just isn't consistent about it.
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера