git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 381d6a0) | patch
Fix corner-case bug in tracking of latest removed WAL segment during
Mon, 1 Nov 2010 07:56:45 +0000 (09:56 +0200)
Mon, 1 Nov 2010 08:04:45 +0000 (10:04 +0200)
commit 268fecc62cde08c89952c26cb01db8f04a2dc88d
Fix corner-case bug in tracking of latest removed WAL segment during
streaming replication. We used log/seg 0/0 to indicate that no WAL segments
have been removed since startup, but 0/0 is a valid value for the very first
WAL segment after initdb. To make that disambiguous, store
(latest removed WAL segment + 1) in the global variable.

Per report from Matt Chesler, also reproduced by Greg Smith.
src/backend/access/transam/xlog.c diff | blob | blame | history
src/backend/replication/walsender.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /