pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andres Freund <andres@anarazel.de>
Cc: pgsql-committers@postgresql.org
Subject: Re: pgsql: Speedup pgstat_report_activity by moving mb-aware truncation to
Date: Tue, 19 Sep 2017 17:05:09 -0400
Message-ID: <2076.1505855109@sss.pgh.pa.us> (raw)
In-Reply-To: <20170919210228.wfo2q6qi3dwunhaf@alap3.anarazel.de>
References: <E1duOkJ-0001Mc-U5@gemulon.postgresql.org>
	<32707.1505852731@sss.pgh.pa.us>
	<20170919203239.lshzqs4fqnpeo7sg@alap3.anarazel.de>
	<1506.1505854389@sss.pgh.pa.us>
	<20170919210228.wfo2q6qi3dwunhaf@alap3.anarazel.de>
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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



view thread (6+ messages)

Message-ID: <2076.1505855109@sss.pgh.pa.us>
Permalink:  ../2076.1505855109@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/2076.1505855109@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, andres@anarazel.de
  Subject: Re: pgsql: Speedup pgstat_report_activity by moving mb-aware truncation to
  In-Reply-To: <2076.1505855109@sss.pgh.pa.us>
  References: <E1duOkJ-0001Mc-U5@gemulon.postgresql.org> <32707.1505852731@sss.pgh.pa.us> <20170919203239.lshzqs4fqnpeo7sg@alap3.anarazel.de> <1506.1505854389@sss.pgh.pa.us> <20170919210228.wfo2q6qi3dwunhaf@alap3.anarazel.de> <2076.1505855109@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox