Skip site navigation (1) Skip section navigation (2)

pgsql: Add current WAL end (as seen by walsender, ie, GetWriteRecPtr()

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Add current WAL end (as seen by walsender, ie, GetWriteRecPtr()
Date: 2010-06-03 22:17:32
Message-ID: 20100603221732.79AC17541D2@cvs.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committerspgsql-hackers
Log Message:
-----------
Add current WAL end (as seen by walsender, ie, GetWriteRecPtr() result)
and current server clock time to SR data messages.  These are not currently
used on the slave side but seem likely to be useful in future, and it'd be
better not to change the SR protocol after release.  Per discussion.
Also do some minor code review and cleanup on walsender.c, and improve the
protocol documentation.

Modified Files:
--------------
    pgsql/doc/src/sgml:
        protocol.sgml (r1.87 -> r1.88)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/doc/src/sgml/protocol.sgml?r1=1.87&r2=1.88)
    pgsql/src/backend/replication:
        walreceiver.c (r1.10 -> r1.11)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/replication/walreceiver.c?r1=1.10&r2=1.11)
        walsender.c (r1.24 -> r1.25)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/replication/walsender.c?r1=1.24&r2=1.25)
    pgsql/src/include/replication:
        walreceiver.h (r1.8 -> r1.9)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/include/replication/walreceiver.h?r1=1.8&r2=1.9)

Added Files:
-----------
    pgsql/src/include/replication:
        walprotocol.h (r1.1)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/include/replication/walprotocol.h?rev=1.1&content-type=text/x-cvsweb-markup)

Responses

pgsql-hackers by date

Next:From: Kevin GrittnerDate: 2010-06-03 22:18:17
Subject: Re: Exposing the Xact commit order to the user
Previous:From: Dan ColishDate: 2010-06-03 22:02:46
Subject: Re: SET CONSTRAINTS todo

pgsql-committers by date

Next:From: Tom LaneDate: 2010-06-03 23:00:14
Subject: pgsql: Adjust misleading comment in walsender.c.
Previous:From: Tom LaneDate: 2010-06-03 21:23:02
Subject: pgsql: Remove link that breaks HISTORY file generation.

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group