pgsql: Add connection messages for streaming replication.

From: sriggs(at)postgresql(dot)org (Simon Riggs)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Add connection messages for streaming replication.
Date: 2010-03-19 19:19:38
Message-ID: 20100319191938.2996D7541D0@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

Log Message:
-----------
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.

Modified Files:
--------------
pgsql/src/backend/replication/libpqwalreceiver:
libpqwalreceiver.c (r1.6 -> r1.7)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/replication/libpqwalreceiver/libpqwalreceiver.c?r1=1.6&r2=1.7)
pgsql/src/backend/utils/init:
postinit.c (r1.204 -> r1.205)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/init/postinit.c?r1=1.204&r2=1.205)

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Simon Riggs 2010-03-19 19:31:06 pgsql: Clarify docs about database parameter in streaming replication
Previous Message Simon Riggs 2010-03-19 17:51:42 pgsql: Minor tweaks on libpqrcv_connect(): ensure conninfo_repl[] is

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2010-03-19 20:38:51 Call for translations
Previous Message Gurjeet Singh 2010-03-19 18:09:50 Repeating Append operation