]> granicus.if.org Git - postgresql/commit
Fix getopt-vs-init_ps_display problem by copying original argv[] info,
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 21 Oct 2001 03:25:36 +0000 (03:25 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 21 Oct 2001 03:25:36 +0000 (03:25 +0000)
commitb2e92a712ea7316563c5115639c1e39ad6c5a09b
tree6f2a91acddea6238d72599745faa976eff947486
parent2b7206a9935c915155a2c71e4658638de98ad440
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.
src/backend/main/main.c
src/backend/postmaster/pgstat.c
src/backend/postmaster/postmaster.c
src/backend/tcop/postgres.c
src/backend/utils/init/globals.c
src/backend/utils/misc/ps_status.c
src/include/miscadmin.h
src/include/pgstat.h
src/include/tcop/tcopprot.h
src/include/utils/ps_status.h