Logging running transactions every 15 seconds.
Robert Haas <rhaas@postgresql.org>
Logging running transactions every 15 seconds. Previously, we did this just once per checkpoint, but that could make Hot Standby take a long time to initialize. To avoid busying an otherwise-idle system, we don't do this if no WAL has been written since we did it last. Andres Freund
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/postmaster/bgwriter.c | modified | +62 −0 |
| src/backend/storage/ipc/standby.c | modified | +23 −4 |
| src/include/storage/standby.h | modified | +1 −1 |