pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Thomas Munro <tmunro@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Use setproctitle_fast() to update the ps status, if available.
Date: Tue, 24 Jul 2018 01:10:35 +0000
Message-ID: <E1fhlqV-00016G-Ia@gemulon.postgresql.org> (raw)

Use setproctitle_fast() to update the ps status, if available.

FreeBSD has introduced a faster variant of setproctitle().  Use it,
where available.

Author: Thomas Munro
Discussion: https://postgr.es/m/CAEepm=1wKMTi81uodJ=1KbJAz5WedOg=cr8ewEXrUFeaxWEgww@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/1bc180cd2acc55e31b61c4cc9ab4b07670a2566e

Modified Files
--------------
configure                          |  2 +-
configure.in                       |  2 +-
src/backend/utils/misc/ps_status.c | 11 +++++++++--
src/include/pg_config.h.in         |  3 +++
4 files changed, 14 insertions(+), 4 deletions(-)



Message-ID: <E1fhlqV-00016G-Ia@gemulon.postgresql.org>
Permalink:  ../E1fhlqV-00016G-Ia@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1fhlqV-00016G-Ia@gemulon.postgresql.org

 · 

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: tmunro@postgresql.org
  Subject: Re: pgsql: Use setproctitle_fast() to update the ps status, if available.
  In-Reply-To: <E1fhlqV-00016G-Ia@gemulon.postgresql.org>
  References: <E1fhlqV-00016G-Ia@gemulon.postgresql.org>

* 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