Commit Graph

631 Commits (ce9ab88981495d975aade8fc664f99f68fc18e2b)

Author SHA1 Message Date
Tom Lane ce9ab88981 Make REPLICATION privilege checks test current user not authenticated user. 12 years ago
Simon Riggs 593c39d156 Revoke bc5334d867 12 years ago
Simon Riggs bc5334d867 Allow external recovery_config_directory 12 years ago
Simon Riggs 96ef3b8ff1 Allow I/O reliability checks using 16-bit checksums 12 years ago
Simon Riggs bb7cc2623f Remove PageSetTLI and rename pd_tli to pd_checksum 12 years ago
Tom Lane da5aeccf64 Move pqsignal() to libpgport. 12 years ago
Heikki Linnakangas 7ccefe8610 Fix tli history file fetching, broken by the archive after crash recevery patch. 12 years ago
Heikki Linnakangas 6c4f6664b2 Fix thinko in previous commit. 13 years ago
Heikki Linnakangas abf5c5c9a4 If recovery.conf is created after "pg_ctl stop -m i", do crash recovery. 13 years ago
Heikki Linnakangas 1bd42cd70a Better fix for "unarchived WAL files get deleted on crash recovery" bug. 13 years ago
Heikki Linnakangas c9cc7e05c6 Don't delete unarchived WAL files during crash recovery. 13 years ago
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