Further cleanup of ps_status setup code. On platforms where the

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 94daee3cb79e5e83a8b4917b226ab4a99dea5ed7
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2001-10-22T19:41:38Z
Releases: 7.2.1
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.

Files