From: | Alvaro Herrera <alvherre(at)2ndquadrant(dot)com> |
---|---|
To: | Boszormenyi Zoltan <zb(at)cybertec(dot)at> |
Cc: | Magnus Hagander <magnus(at)hagander(dot)net>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: [PATCH] Factor out pg_malloc and friends into port code |
Date: | 2013-02-12 15:14:25 |
Message-ID: | 20130212151425.GB5901@alvh.no-ip.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Boszormenyi Zoltan wrote:
> 2013-01-02 10:12 keltezéssel, Magnus Hagander írta:
> ><mailto:zb(at)cybertec(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | Satoshi Nagayasu | 2013-02-12 15:22:36 | [RFC] pgstattuple/pgstatindex enhancement |
Previous Message | Alvaro Herrera | 2013-02-12 15:08:14 | Re: palloc unification |