-
- Downloads
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.)
Showing
- src/backend/access/heap/heapam.c 2 additions, 2 deletionssrc/backend/access/heap/heapam.c
- src/backend/access/transam/xlog.c 17 additions, 34 deletionssrc/backend/access/transam/xlog.c
- src/backend/bootstrap/bootstrap.c 4 additions, 3 deletionssrc/backend/bootstrap/bootstrap.c
- src/backend/postmaster/postmaster.c 5 additions, 15 deletionssrc/backend/postmaster/postmaster.c
- src/backend/utils/init/postinit.c 8 additions, 1 deletionsrc/backend/utils/init/postinit.c
- src/include/access/xlog.h 2 additions, 4 deletionssrc/include/access/xlog.h
Loading
Please register or sign in to comment