Re: [PATCH] Factor out pg_malloc and friends into port code

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: [PATCH] Factor out pg_malloc and friends into port code
Дата
Msg-id 20130212151425.GB5901@alvh.no-ip.org
обсуждение исходный текст
Ответ на [PATCH] Factor out pg_malloc and friends into port code  (Boszormenyi Zoltan <zb@cybertec.at>)
Список pgsql-hackers
Boszormenyi Zoltan wrote:
> 2013-01-02 10:12 keltezéssel, Magnus Hagander írta:

> ><mailto:zb@cybertec.at>> wrote:

> >    Actually, the unification of pg_malloc and friends wasn't dictated
> >    by this little code, it was just that pg_basebackup doesn't provide
> >    a pg_malloc implementation (only pg_malloc0) that is used by
> >    initdb's escape_quotes() function. Then I noticed how wide these
> >    almost identical functions have spread into client apps already.

> >Please do keep that one separate - let's avoid unnecessary
> >feature-creep, whether it's good or bad features.
>
> The patch is attached. There is no extra atexit() code in this one.

I have applied a patch similar in spirit to this one.

--
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services



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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: palloc unification
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Documentation: references to old versions