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