]> granicus.if.org Git - postgresql/commit
Automatically terminate replication connections that are idle for more
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Wed, 30 Mar 2011 07:10:32 +0000 (10:10 +0300)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Wed, 30 Mar 2011 07:20:37 +0000 (10:20 +0300)
commit754baa21f723255272c24dc5f9ab456858e361e3
treefb2b3c4abb71fd3d0786f3b67c931820b386cf7f
parentbc03c5937d103952ef4f40a3fa4514c154538d25
Automatically terminate replication connections that are idle for more
than replication_timeout (a new GUC) milliseconds. The TCP timeout is often
too long, you want the master to notice a dead connection much sooner.
People complained about that in 9.0 too, but with synchronous replication
it's even more important to notice dead connections promptly.

Fujii Masao and Heikki Linnakangas
doc/src/sgml/config.sgml
src/backend/libpq/pqcomm.c
src/backend/port/unix_latch.c
src/backend/port/win32/socket.c
src/backend/port/win32_latch.c
src/backend/replication/walsender.c
src/backend/utils/misc/guc.c
src/backend/utils/misc/postgresql.conf.sample
src/include/libpq/libpq.h
src/include/replication/walsender.h
src/include/storage/latch.h