Commit Graph

506 Commits (8b6b374b39d992adea42f703baf28a19909ef747)

Author SHA1 Message Date
Heikki Linnakangas 8b6b374b39 Consistency check should compare last record replayed, not last record read. 13 years ago
Tom Lane 9d1a293aba Ensure recovery pause feature doesn't pause unless users can connect. 13 years ago
Tom Lane d08fd1f849 Don't advance checkPoint.nextXid near the end of a checkpoint sequence. 13 years ago
Simon Riggs 973c011639 XidEpoch++ if wraparound during checkpoint. 13 years ago
Heikki Linnakangas db3658b34f Avoid bogus "out-of-sequence timeline ID" errors in standby-mode. 13 years ago
Tom Lane 634e148dca Fix multiple problems in WAL replay. 13 years ago
Tom Lane 18730f8d47 Fix inappropriate error messages for Hot Standby misconfiguration errors. 13 years ago
Simon Riggs efed8c0031 fsync backup_label after pg_start_backup() 14 years ago
Heikki Linnakangas b6fe2dfda0 Initialize shared memory copy of ckptXidEpoch correctly when not in recovery. 14 years ago
Simon Riggs 16222f32ed Wake WALSender to reduce data loss at failover for async commit. 14 years ago
Simon Riggs 20d98ab6e4 Correct epoch of txid_current() when executed on a Hot Standby server. 14 years ago
Simon Riggs 11c730f412 Correctly initialise shared recoveryLastRecPtr in recovery. 14 years ago
Tom Lane f1b8a84dec Avoid problems with OID wraparound during WAL replay. 14 years ago
Tom Lane b2e1eaa4a1 Fix transient clobbering of shared buffers during WAL replay. 14 years ago
Heikki Linnakangas e45057e0a7 Don't set reachedMinRecoveryPoint during crash recovery. In crash recovery, 14 years ago
Simon Riggs bf70bf4c71 Derive oldestActiveXid at correct time for Hot Standby. 14 years ago
Simon Riggs 9e5fe4d492 Fix timing of Startup CLOG and MultiXact during Hot Standby 14 years ago
Alvaro Herrera 7dc956fee3 Adjust translator comment format to xgettext expectations 15 years ago
Alvaro Herrera c729082da4 Mark some untranslatable messages with errmsg_internal 15 years ago
Heikki Linnakangas 59dd4790e2 If backup-end record is not seen, and we reach end of recovery from a 15 years ago
Tom Lane 989f530d3f Back-patch assorted latch-related fixes. 15 years ago
Tom Lane 74d099494c Measure WaitLatch's timeout parameter in milliseconds, not microseconds. 15 years ago
Peter Eisentraut 6b23ba1093 Unify spelling of "canceled", "canceling", "cancellation" 15 years ago
Tom Lane c2ba0121c7 Work around gcc 4.6.0 bug that breaks WAL replay. 15 years ago
Bruce Momjian 6560407c7d Pgindent run before 9.1 beta2. 15 years ago
Heikki Linnakangas a0c8514149 Shut down WAL receiver if it's still running at end of recovery. We used to 15 years ago
Robert Haas aea1f24c2c recoveryStopsHere() must check the resource manager ID. 15 years ago
Heikki Linnakangas 54685b1c2b Revert the patch to check if we've reached end-of-backup also when doing 15 years ago
Bruce Momjian bf50caf105 pgindent run before PG 9.1 beta 1. 15 years ago
Tom Lane 2594cf0e8c Revise the API for GUC variable assign hooks. 15 years ago
Heikki Linnakangas 1f0bab8494 Improve error message when WAL ends before reaching end of online backup. 15 years ago
Heikki Linnakangas acf4740132 Check that we've reached end-of-backup also when we're not performing 15 years ago
Simon Riggs b5f2f2a712 Minor changes to recovery pause behaviour. 15 years ago
Simon Riggs b98ac467f5 Prevent intermittent hang in recovery from bgwriter interaction. 15 years ago
Heikki Linnakangas 6d8096e2f3 When two base backups are started at the same time with pg_basebackup, 15 years ago
Robert Haas 777e8c0015 Remove bogus semicolons in recoveryPausesHere. 15 years ago
Bruce Momjian 5ca543fb2e Clarify C comment that O_SYNC/O_FSYNC are really the same settting, as 15 years ago
Robert Haas d16e290a8a Emit a LOG message when pausing at the recovery target. 15 years ago
Heikki Linnakangas 4cd3fb6e12 Truncate predicate lock manager's SLRU lazily at checkpoint. That's safer 15 years ago
Heikki Linnakangas 1a4ab9ec23 If recovery_target_timeline is set to 'latest' and standby mode is enabled, 15 years ago
Robert Haas 79ad8fc5f8 Named restore point improvements. 15 years ago
Simon Riggs bca8b7f16a Hot Standby feedback for avoidance of cleanup conflicts on standby. 15 years ago
Robert Haas 4695da5ae9 pg_ctl promote 15 years ago
Simon Riggs 5c588be729 PITR can stop at a named restore point when recovery target = time 15 years ago
Heikki Linnakangas b186523fd9 Send status updates back from standby server to master, indicating how far 15 years ago
Magnus Hagander 3144c33a2f Implement NOWAIT option for BASE_BACKUP command 15 years ago
Simon Riggs c016ce7281 Named restore points in recovery. Users can record named points, then 15 years ago
Simon Riggs 8c6e3adbf7 Basic Recovery Control functions for use in Hot Standby. Pause, Resume, 15 years ago
Simon Riggs faa0550572 Remove rare corner case for data loss when triggering standby server. 15 years ago
Robert Haas 0af695fd43 Log restartpoints in the same fashion as checkpoints. 15 years ago