Re: Speedup usages of pg_*toa() functions - Mailing list pgsql-hackers

From John Naylor
Subject Re: Speedup usages of pg_*toa() functions
Date
Msg-id CACPNZCt+R_VhawHd2-KoDtv=4uVOapzs4x=xXPORouQyvdjgsg@mail.gmail.com
Whole thread Raw
In response to Re: Speedup usages of pg_*toa() functions  (David Rowley <dgrowleyml@gmail.com>)
List pgsql-hackers
On Sat, Jun 13, 2020 at 8:36 AM David Rowley <dgrowleyml@gmail.com> wrote:
> I ended up chickening out of doing the larger allocation
> unconditionally. Instead, I pushed the original idea of doing the
> palloc/memcpy of the length returned by pg_lltoa.  That gets us most
> of the gains without the change in memory usage behaviour.

This was still marked as needing review in commitfest, so I marked it
as committed.

-- 
John Naylor                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



pgsql-hackers by date:

Previous
From: Amit Kapila
Date:
Subject: Re: Backpatch b61d161c14 (Introduce vacuum errcontext ...)
Next
From: Kyotaro Horiguchi
Date:
Subject: Re: Remove page-read callback from XLogReaderState.