]> granicus.if.org Git - postgresql/commit
Use setproctitle_fast() to update the ps status, if available.
authorThomas Munro <tmunro@postgresql.org>
Tue, 24 Jul 2018 01:09:22 +0000 (13:09 +1200)
committerThomas Munro <tmunro@postgresql.org>
Tue, 24 Jul 2018 01:09:22 +0000 (13:09 +1200)
commit1bc180cd2acc55e31b61c4cc9ab4b07670a2566e
tree86b2f1d8a3d572755f5c811be209ee469a74db5b
parent3214463228f45df033c14ed3925a318a99d72ce2
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
configure
configure.in
src/backend/utils/misc/ps_status.c
src/include/pg_config.h.in