]> granicus.if.org Git - postgresql/commit
Further cleanup of ps_status setup code. On platforms where the
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 22 Oct 2001 19:41:38 +0000 (19:41 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 22 Oct 2001 19:41:38 +0000 (19:41 +0000)
commit94daee3cb79e5e83a8b4917b226ab4a99dea5ed7
treee5e026e5561e58c116c5260d257a6dc277e1799a
parenta19f2605ed66ba664389dacae20b3085703991b5
Further cleanup of ps_status setup code.  On platforms where the
environment strings need to be moved around, do so when called from
initial startup (main.c), not in init_ps_status.  This eliminates the
former risk of invalidating saved environment-string pointers, since
no code has yet had a chance to grab any such pointers when main.c
is running.
src/backend/main/main.c
src/backend/postmaster/pgstat.c
src/backend/postmaster/postmaster.c
src/backend/utils/misc/ps_status.c