reallocing without oom check in pg_regress

Поиск
Список
Период
Сортировка
От Daniel Gustafsson
Тема reallocing without oom check in pg_regress
Дата
Msg-id 9FC7E603-9246-4C62-B466-A39CFAF454AE@yesql.se
обсуждение исходный текст
Ответы Re: reallocing without oom check in pg_regress  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
In pg_regress we realloc() with the destination and source pointer being equal,
without checking for OOM.  While a fairly unlikely source of errors, is there a
reason not to use pg_realloc() there for hygiene?

--
Daniel Gustafsson        https://vmware.com/


Вложения

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

Предыдущее
От: Melanie Plageman
Дата:
Сообщение: GiST index build missing smgrimmedsync()?
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: convert libpq uri-regress tests to tap test