diff options
| author | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2010-11-01 09:56:45 +0200 |
|---|---|---|
| committer | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2010-11-01 10:04:45 +0200 |
| commit | 268fecc62cde08c89952c26cb01db8f04a2dc88d (patch) | |
| tree | f88b1caa5473a447600ffe3a0dbfffbbd82e8d4b /src/backend/utils/adt/tsquery_cleanup.c | |
| parent | 381d6a05aecbade0bf536325ace36f1507da042b (diff) | |
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.
Diffstat (limited to 'src/backend/utils/adt/tsquery_cleanup.c')
0 files changed, 0 insertions, 0 deletions
