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

From Andres Freund
Subject Re: [COMMITTERS] pgsql: Speedup pgstat_report_activity by movingmb-aware truncation to
Date
Msg-id 20170919203239.lshzqs4fqnpeo7sg@alap3.anarazel.de
Whole thread Raw
In response to Re: [COMMITTERS] pgsql: Speedup pgstat_report_activity by moving mb-aware truncation to  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: [COMMITTERS] pgsql: Speedup pgstat_report_activity by moving mb-aware truncation to  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-committers
On 2017-09-19 16:25:31 -0400, Tom Lane wrote:
> Andres Freund <andres@anarazel.de> writes:
> > Speedup pgstat_report_activity by moving mb-aware truncation to read side.
> 
> Looks like you're going to need to not depend on strnlen().

Yup noticed - we have pg_strnlen as a static function in
src/port/snprintf. I'm tempted to just make that public, rather than
open code the equivalent?

Greetings,

Andres Freund


-- 
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: Speedup pgstat_report_activity by moving mb-aware truncation to
Next
From: Tom Lane
Date:
Subject: Re: [COMMITTERS] pgsql: Make new crash restart test a bit more robust.