xmalloc => pg_malloc

Поиск
Список
Период
Сортировка
While looking around to fix the pg_malloc(0) issue, I noticed that
various other pieces of code such as pg_basebackup have essentially
identical functions, except they're called xmalloc().  I propose to
standardize all these things on this set of names:
pg_mallocpg_malloc0    (for malloc-and-zero behavior)pg_calloc    (randomly different API for
pg_malloc0)pg_reallocpg_freepg_strdup

Any objections?
        regards, tom lane



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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [ADMIN] pg_upgrade from 9.1.3 to 9.2 failed
Следующее
От: Andres Freund
Дата:
Сообщение: Re: xmalloc => pg_malloc