Обсуждение: pgsql: Add connection messages for streaming replication.

Поиск
Список
Период
Сортировка

pgsql: Add connection messages for streaming replication.

От
sriggs@postgresql.org (Simon Riggs)
Дата:
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)