OSDN Git Service

Fix bug in wasender's xlogid boundary handling, reported by Erik Rijkers.
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Wed, 27 Jan 2010 16:41:09 +0000 (16:41 +0000)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Wed, 27 Jan 2010 16:41:09 +0000 (16:41 +0000)
commit83cb7da7dcd11f658a7fc4aff198923bf76ff8f5
tree7b1bcffc28dc0b977c950ee6a0d021c38ceb7c04
parent1bb2558046cc8b8cb0c8f5563e8d32b3b120c9ec
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.
src/backend/access/transam/xlog.c
src/backend/replication/walsender.c