Re: [COMMITTERS] pgsql: Speedup pgstat_report_activity by moving mb-aware truncation to - Mailing list pgsql-committers

From Tom Lane
Subject Re: [COMMITTERS] pgsql: Speedup pgstat_report_activity by moving mb-aware truncation to
Date
Msg-id 2076.1505855109@sss.pgh.pa.us
Whole thread Raw
In response to Re: [COMMITTERS] pgsql: Speedup pgstat_report_activity by movingmb-aware truncation to  (Andres Freund <andres@anarazel.de>)
List pgsql-committers
Andres Freund <andres@anarazel.de> writes:
> I'll just change things so that the pnstrdup() happens first, and then
> do a plain strlen() on that. Same paranoia, less cost.

WFM.
        regards, tom lane


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers

pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [COMMITTERS] pgsql: Make new crash restart test a bit more robust.
Next
From: Andres Freund
Date:
Subject: [COMMITTERS] pgsql: Avoid use of non-portable strnlen() in pgstat_clip_activity().