sync process names between ps and pg_stat_activity

From: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
To: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: sync process names between ps and pg_stat_activity
Date: 2017-08-31 20:02:20
Message-ID: a4bdef86-0042-81ec-db68-c54f3ef43a8b@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

The process names shown in pg_stat_activity.backend_type as of PG10 and
the process names used in the ps display are in some cases gratuitously
different, so here is a patch to make them more alike. Of course it
could be debated in some cases which spelling was better.

As an aside, is there a reason why the archiver process is not included
in pg_stat_activity?

--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

Attachment Content-Type Size
0001-Sync-process-names-between-ps-and-pg_stat_activity.patch text/plain 6.8 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2017-08-31 20:04:45 Re: Update low-level backup documentation to match actual behavior
Previous Message Robert Haas 2017-08-31 19:51:20 Re: expanding inheritance in partition bound order