Thread: pgsql/src backend/main/main.c backend/postmast ...

pgsql/src backend/main/main.c backend/postmast ...

From
tgl@postgresql.org
Date:
CVSROOT:    /cvsroot
Module name:    pgsql
Changes by:    tgl@postgresql.org    01/10/20 23:25:36

Modified files:
    src/backend/main: main.c
    src/backend/postmaster: pgstat.c postmaster.c
    src/backend/tcop: postgres.c
    src/backend/utils/init: globals.c
    src/backend/utils/misc: ps_status.c
    src/include    : miscadmin.h pgstat.h
    src/include/tcop: tcopprot.h
    src/include/utils: ps_status.h

Log message:
    Fix getopt-vs-init_ps_display problem by copying original argv[] info,
    per suggestion from Peter.  Simplify several APIs by transmitting the
    original argv location directly from main.c to ps_status.c, instead of
    passing it down through several levels of subroutines.