pgsql/src/backend main/main.c postmaster/pgsta ...
pgsql/src/backend main/main.c postmaster/pgsta ...
От:
tgl@postgresql.org
Дата:
CVSROOT: /cvsroot Module name: pgsql Changes by: tgl@postgresql.org 01/10/22 15:41:38 Modified files: src/backend/main: main.c src/backend/postmaster: pgstat.c postmaster.c src/backend/utils/misc: ps_status.c Log message: 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.