Re: pg_dump: fix memory leak

Поиск
Список
Период
Сортировка
От Daniel Gustafsson
Тема Re: pg_dump: fix memory leak
Дата
Msg-id F60FA5E1-A42A-4E4A-AD61-A7E93B854D4A@yesql.se
обсуждение исходный текст
Ответ на Re: pg_dump: fix memory leak  (Álvaro Herrera <alvherre@kurilemu.de>)
Список pgsql-hackers
> On 29 Aug 2025, at 11:52, Álvaro Herrera <alvherre@kurilemu.de> wrote:

> Hmm, this begs the question -- why do we make generate_restrict_key()
> return NULL in that case?  Maybe we should redefine its contract to be
> that it either returns a valid key, or it calls pg_fatal().  Then
> callers don't have to worry about it.

That is certainly an option.

--
Daniel Gustafsson




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