OSDN Git Service

Add connection messages for streaming replication. log_connections
authorSimon Riggs <simon@2ndQuadrant.com>
Fri, 19 Mar 2010 19:19:38 +0000 (19:19 +0000)
committerSimon Riggs <simon@2ndQuadrant.com>
Fri, 19 Mar 2010 19:19:38 +0000 (19:19 +0000)
commit6a771d1d367d7e204edf78aee3f069f1b5ba36db
tree442f83f1544ea0ca7fd811d9472bcc81649801db
parent75867c528d45829c39b2aba29e0617e3c381ce52
Add connection messages for streaming replication. log_connections
was broken for a replication connection and no messages were
displayed on either standby or primary, at any debug level.
Connection messages needed to diagnose session drop/reconnect
events. Use LOG mode for now, discuss lowering in later releases.
src/backend/replication/libpqwalreceiver/libpqwalreceiver.c
src/backend/utils/init/postinit.c