pgsql: Fix bug in wasender's xlogid boundary handling, reported by Erik - Mailing list pgsql-committers

From heikki@postgresql.org (Heikki Linnakangas)
Subject pgsql: Fix bug in wasender's xlogid boundary handling, reported by Erik
Date
Msg-id 20100127164109.716867541B9@cvs.postgresql.org
Whole thread Raw
List pgsql-committers
Log Message:
-----------
Fix bug in wasender's xlogid boundary handling, reported by Erik Rijkers.
LogwrtRqst.Write can be set to non-existent FF log segment, we mustn't
try to send that in XLogSend().

Also fix similar bug in ReadRecord(), which I just introduced in the
ReadRecord() refactoring patch.

Modified Files:
--------------
    pgsql/src/backend/access/transam:
        xlog.c (r1.362 -> r1.363)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/access/transam/xlog.c?r1=1.362&r2=1.363)
    pgsql/src/backend/replication:
        walsender.c (r1.3 -> r1.4)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/replication/walsender.c?r1=1.3&r2=1.4)

pgsql-committers by date:

Previous
From: heikki@postgresql.org (Heikki Linnakangas)
Date:
Subject: pgsql: Make standby server continuously retry restoring the next WAL
Next
From: itagaki@pgfoundry.org (User Itagaki)
Date:
Subject: reorg - pg_reorg: version 1.0.7.