Обсуждение: pgsql/src/backend/utils/misc ps_status.c

Поиск
Список
Период
Сортировка

pgsql/src/backend/utils/misc ps_status.c

От
tgl@postgresql.org
Дата:
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.