pgsql/src/backend/utils/misc ps_status.c - Mailing list pgsql-committers

From tgl@postgresql.org
Subject pgsql/src/backend/utils/misc ps_status.c
Date
Msg-id 200112211522.fBLFMA021535@postgresql.org
Whole thread Raw
List pgsql-committers
CVSROOT:    /cvsroot
Module name:    pgsql
Changes by:    tgl@postgresql.org    01/12/21 10:22:09

Modified files:
    src/backend/utils/misc: ps_status.c

Log message:
    Use MemSet() rather than a loop to do blank-padding on PS_USE_CLOBBER_ARGV
    machines.  I have just been observing some scenarios where set_ps_display
    accounts for more than 10% of the backend CPU, and this loop has to be
    the reason.


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: Re: pgsql/doc/src/sgml datatype.sgml installation.sgml
Next
From: petere@postgresql.org
Date:
Subject: pgsql/src/backend/po hu.po