pgsql/src/backend postmaster/postmaster.c tcop ...
pgsql/src/backend postmaster/postmaster.c tcop ...
От:
tgl@postgresql.org
Дата:
CVSROOT: /cvsroot Module name: pgsql Changes by: tgl@postgresql.org 01/10/18 20:44:08 Modified files: src/backend/postmaster: postmaster.c src/backend/tcop: postgres.c Log message: Move init_ps_display from postgres.c to postmaster.c, putting it just after receipt of the startup packet. Now, postmaster children that are waiting for client authentication response will show as 'postgres: user database host authentication'. Also, do an init_ps_display for startup/shutdown/checkpoint subprocesses, so that they are readily identifiable as well. Fix an obscure race condition that could lead to Assert failure in the postmaster --- attempting to start a checkpoint process before any connections have been received led to calling PostmasterRandom before setting random_seed.