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

From: Thomas Munro <tmunro(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Use setproctitle_fast() to update the ps status, if available.
Date: 2018-07-24 01:10:35
Message-ID: E1fhlqV-00016G-Ia@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2018-07-24 01:41:08 pgsql: Fix calculation for WAL segment recycling and removal
Previous Message Robert Haas 2018-07-23 16:03:10 pgsql: pgbench: Remove duplicate entries from table of builtin function