use the malloc macros in pg_dump.c

Поиск
Список
Период
Сортировка
От Peter Smith
Тема use the malloc macros in pg_dump.c
Дата
Msg-id CAHut+PvpGPDLhkHAoxw_g3jdrYxA1m16a8uagbgH3TGWSKtXNQ@mail.gmail.com
обсуждение исходный текст
Ответы Re: use the malloc macros in pg_dump.c
Список pgsql-hackers
Hi.

I found that pg_dump.c has many pg_mallocs where the new object/array
macros could have been used, but currently they are not. I'm not sure
if this was a deliberate or accidental omission.

In case it was accidental, here is a patch to modify/simplify all that
allocation code.

PSA v1.

======
Kind Regards,
Peter Smith.
Fujitsu Australia

Вложения

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