]> granicus.if.org Git - postgresql/commit
Move init_ps_display from postgres.c to postmaster.c, putting it
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 19 Oct 2001 00:44:08 +0000 (00:44 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 19 Oct 2001 00:44:08 +0000 (00:44 +0000)
commiteb133197b63edf84b24a529f365902c46bc92e57
tree8b0a6fba0990098a9abc2ab128bd3d4915cb4dc8
parent9047292725c6c4eb7c1a11fdbf06b4edf8477e75
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.
src/backend/postmaster/postmaster.c
src/backend/tcop/postgres.c