• Tom Lane's avatar
    Further cleanup of ps_status setup code. On platforms where the · 94daee3c
    Tom Lane authored
    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.
    94daee3c
main.c 6.94 KB