]> granicus.if.org Git - postgresql/commit
Get rid of the former rather baroque mechanism for propagating the values
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 27 May 2004 17:12:57 +0000 (17:12 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 27 May 2004 17:12:57 +0000 (17:12 +0000)
commit16974ee9103ef7908e81869687b3fc3719e64a4e
treea48db6dabaebe0cf1d255633a683bac984139420
parentbb44a7c52521bc3c5c6ee81a546ea82855690e81
Get rid of the former rather baroque mechanism for propagating the values
of ThisStartUpID and RedoRecPtr into new backends.  It's a lot easier just
to make them all grab the values out of shared memory during startup.
This helps to decouple the postmaster from checkpoint execution, which I
need since I'm intending to let the bgwriter do it instead, and it also
fixes a bug in the Win32 port: ThisStartUpID wasn't getting propagated at
all AFAICS.  (Doesn't give me a lot of faith in the amount of testing that
port has gotten.)
src/backend/access/heap/heapam.c
src/backend/access/transam/xlog.c
src/backend/bootstrap/bootstrap.c
src/backend/postmaster/postmaster.c
src/backend/utils/init/postinit.c
src/include/access/xlog.h