Re: pgsql: pg_upgrade: Fix inconsistency in memory freeing

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: pgsql: pg_upgrade: Fix inconsistency in memory freeing
Дата
Msg-id Z_DoyQRKsq6XnS_F@paquier.xyz
обсуждение исходный текст
Ответ на Re: pgsql: pg_upgrade: Fix inconsistency in memory freeing  (Jeff Davis <pgsql@j-davis.com>)
Ответы Re: pgsql: pg_upgrade: Fix inconsistency in memory freeing
Список pgsql-committers
On Sun, Mar 30, 2025 at 11:12:20AM -0700, Jeff Davis wrote:
> Why pg_strdup() the "NULL" at all in that case? Usually I see that done
> so that there doesn't need to be a conditional when freeing, but here
> there's a conditional anyway.
>
> Perhaps something like the attached?

I am back to a laptop, and just noticed that you have applied
f4e51eab4eb0 into the tree to take care of this issue, affecting only
HEAD.  Why didn't you do a backpatch of this commit down to v16?
That's down to where 2a083ab807db has been applied.
--
Michael

Вложения

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