Commit Graph

700 Commits (49638868f81f05e9ea4799e6c6148b76b47da83d)

Author SHA1 Message Date
Alvaro Herrera 24eca7977e Assign InvalidXLogRecPtr instead of MemSet(0) 13 years ago
Peter Eisentraut a0bfb7b36e Fix grammatical mistake in error message 13 years ago
Heikki Linnakangas 343ee00b73 Fix recycling of WAL segments after switching timeline during recovery. 13 years ago
Heikki Linnakangas af275a12df Follow TLI of last replayed record, not recovery target TLI, in walsenders. 13 years ago
Heikki Linnakangas 1a11d4609e Don't set ThisTimeLineID in checkpointer & bgwriter during recovery. 13 years ago
Heikki Linnakangas e43f947bf3 Check if we've reached end-of-backup point also if no redo is required. 13 years ago
Heikki Linnakangas abfd192b1b Allow a streaming replication standby to follow a timeline switch. 13 years ago
Heikki Linnakangas 970fb12de1 Consistency check should compare last record replayed, not last record read. 13 years ago
Heikki Linnakangas 6be799664a Fix the tracking of min recovery point timeline. 13 years ago
Tom Lane af4aba2f05 Ensure recovery pause feature doesn't pause unless users can connect. 13 years ago
Heikki Linnakangas d67b06fe3e Oops, meant to change the comment in writeTimeLineHistory. 13 years ago
Simon Riggs 6aa2e49a87 Must not reach consistency before XLOG_BACKUP_RECORD 13 years ago
Heikki Linnakangas 90991c40eb Downgrade a status message from LOG to DEBUG2. 13 years ago
Heikki Linnakangas 32f4de0adf Write exact xlog position of timeline switch in the timeline history file. 13 years ago
Heikki Linnakangas 5ce108bf32 Track the timeline associated with minRecoveryPoint, for more sanity checks. 13 years ago
Andrew Dunstan d5652e50d5 Attempt to unbreak MSVC builds broken by f21bb9cfb5. 13 years ago
Simon Riggs f21bb9cfb5 Refactor inCommit flag into generic delayChkpt flag. 13 years ago
Simon Riggs 7a764990d8 Clarify locking for PageGetLSN() in XLogCheckBuffer() 13 years ago
Heikki Linnakangas a068c391ab Refactor the code implementing standby-mode logic. 13 years ago
Tom Lane 3114cb60a1 Don't advance checkPoint.nextXid near the end of a checkpoint sequence. 13 years ago
Simon Riggs 5c11725867 Rearrange storage of data in xl_running_xacts. 13 years ago
Simon Riggs c11130690d XidEpoch++ if wraparound during checkpoint. 13 years ago
Simon Riggs 9f98704b82 Clarify operation of online checkpoints. 13 years ago
Alvaro Herrera 1577b46b7c Split out rmgr rm_desc functions into their own files 13 years ago
Heikki Linnakangas dd7353dde8 If we don't have a backup-end-location, don't claim we've reached it. 13 years ago
Heikki Linnakangas 1f67078ea3 Add OpenTransientFile, with automatic cleanup at end-of-xact. 13 years ago
Heikki Linnakangas 24c19e6bf9 Avoid bogus "out-of-sequence timeline ID" errors in standby-mode. 13 years ago
Heikki Linnakangas 644a0a6379 Fix archive_cleanup_command. 13 years ago
Tom Lane 3bbf668de9 Fix multiple problems in WAL replay. 13 years ago
Heikki Linnakangas dbdf9679d7 Use correct text domain for translating errcontext() messages. 13 years ago
Alvaro Herrera 2f1692d213 Fix erroneous choice of timeline variable, too 13 years ago
Alvaro Herrera 9b8dd7e8aa Fix erroneous choices of segNo variables 13 years ago
Heikki Linnakangas 2d8c81ac86 Fix silly bug in previous refactoring. 13 years ago
Heikki Linnakangas ff8f160bf4 Put the logic to wait for WAL in standby mode to a separate function. 13 years ago
Heikki Linnakangas 1a956481ba Fix typo in comment, and reword it slightly while we're at it. 13 years ago
Heikki Linnakangas 93b6d78cf0 Add #includes needed on some platforms in the new files. 13 years ago
Heikki Linnakangas d5497b95f3 Split off functions related to timeline history files and XLOG archiving. 13 years ago
Heikki Linnakangas ab9a14e903 Fix WAL file replacement during cascading replication on Windows. 13 years ago
Tom Lane 2e0cc1f031 Fix inappropriate error messages for Hot Standby misconfiguration errors. 13 years ago
Heikki Linnakangas 358ff99d70 Fix compiler warnings about unused variables, caused by my previous commit. 13 years ago
Heikki Linnakangas c4c227477b Fix bugs in cascading replication with recovery_target_timeline='latest' 13 years ago
Tom Lane 2a2352e07d Replace memcpy() calls in xlog.c critical sections with struct assignments. 13 years ago
Tom Lane 10685ec082 Avoid somewhat-theoretical overflow risks in RecordIsValid(). 14 years ago
Heikki Linnakangas 51fed14d73 Don't get confused if a WAL partial record header has xl_tot_len == 0. 14 years ago
Simon Riggs 8143a56854 Fix minor bug in XLogFileRead() that accidentally worked. 14 years ago
Simon Riggs 0f04fc67f7 fsync backup_label after pg_start_backup() 14 years ago
Tom Lane 4a9c30a8a1 Fix management of pendingOpsTable in auxiliary processes. 14 years ago
Robert Haas 3cf39e6ddb Fix a stupid bug I introduced into XLogFlush(). 14 years ago
Robert Haas 3bb592bb20 Fix position of WalSndWakeupRequest call. 14 years ago
Peter Eisentraut 2b44306315 Assorted message style improvements 14 years ago