Logging running transactions every 15 seconds.
authorRobert Haas <rhaas@postgresql.org>
Wed, 15 Jan 2014 17:41:20 +0000 (12:41 -0500)
committerRobert Haas <rhaas@postgresql.org>
Wed, 15 Jan 2014 17:41:20 +0000 (12:41 -0500)
commited46758381ff63a422fcb0b1f2763eb13273640f
treeb9c1f5c5776f4fce58aee05a8023f4f04867fa2f
parentd02c0ddb152978980ea17f9214c7ac734e4d6d8f
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
src/backend/postmaster/bgwriter.c
src/backend/storage/ipc/standby.c
src/include/storage/standby.h