Re: reallocing without oom check in pg_regress

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: reallocing without oom check in pg_regress
Дата
Msg-id 1257248.1645653915@sss.pgh.pa.us
обсуждение исходный текст
Ответ на reallocing without oom check in pg_regress  (Daniel Gustafsson <daniel@yesql.se>)
Ответы Re: reallocing without oom check in pg_regress  (Daniel Gustafsson <daniel@yesql.se>)
Список pgsql-hackers
Daniel Gustafsson <daniel@yesql.se> writes:
> 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?

Yeah, looks like oversight to me.

            regards, tom lane



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: convert libpq uri-regress tests to tap test
Следующее
От: "Euler Taveira"
Дата:
Сообщение: Re: logical decoding and replication of sequences