Commit Graph

620 Commits (62401db45c4feff9be296fa78a8bb7b9947d69de)

Author SHA1 Message Date
Heikki Linnakangas 62401db45c Support unlogged GiST index. 13 years ago
Heikki Linnakangas b669f416ce Fix checkpoint after fast promotion. 13 years ago
Heikki Linnakangas 7803e9327d Include previous TLI in end-of-recovery and shutdown checkpoint records. 13 years ago
Simon Riggs 072521b8c8 Rely only on checkpoint 1 at end of recovery. 13 years ago
Simon Riggs 3f0ab05233 Switch timelines if we crash soon after promotion. 13 years ago
Simon Riggs fd4ced5230 Fast promote mode skips checkpoint at end of recovery. 13 years ago
Alvaro Herrera 0ac5ad5134 Improve concurrency of foreign key locking 13 years ago
Heikki Linnakangas 990fe3c4ed Fix more issues with cascading replication and timeline switches. 13 years ago
Alvaro Herrera 8c17144c75 Fix off-by-one bug in xlog reading logic 13 years ago
Heikki Linnakangas 2ff6555313 Use the right timeline when beginning to stream from master. 13 years ago
Heikki Linnakangas 0b6329130e Make pg_receivexlog and pg_basebackup -X stream work across timeline switches. 13 years ago
Heikki Linnakangas 1296d5c53c Fix a couple of error-handling bugs in the xlogreader patch. 13 years ago
Alvaro Herrera 7fcbf6a405 Split out XLog reading as an independent facility 13 years ago
Heikki Linnakangas b0daba57bb Tolerate timeline switches while "pg_basebackup -X fetch" is running. 13 years ago
Heikki Linnakangas ee994272ca Delay reading timeline history file until it's fetched from master. 13 years ago
Heikki Linnakangas d194d7a526 Fix bug in streaming replication over multiple tli switches. 13 years ago
Heikki Linnakangas 4ffd589f44 Fix silly typo in code, which broke the check for reaching consistency. 13 years ago
Bruce Momjian bd61a623ac Update copyrights for 2013 13 years ago
Heikki Linnakangas 60df192aea Keep timeline history files restored from archive in pg_xlog. 13 years ago
Alvaro Herrera 5ab3af46dd Remove obsolete XLogRecPtr macros 13 years ago
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