Commit Graph

1251 Commits (e2dd7b2acf27336d47f78d68f4aac03f7770a6a6)

Author SHA1 Message Date
Michael Paquier 8a4237908c Fix snapshot builds during promotion of hot standby node with 2PC 4 years ago
Alvaro Herrera d186d233df
Remove unstable, unnecessary test; fix typo 4 years ago
Alvaro Herrera ff9f111bce
Fix WAL replay in presence of an incomplete record 4 years ago
Alvaro Herrera 96b665083e
Revert "Avoid creating archive status ".ready" files too early" 4 years ago
Alvaro Herrera 515e3d84a0
Avoid creating archive status ".ready" files too early 4 years ago
Michael Paquier e4ba1005c0 Refresh apply delay on reload of recovery_min_apply_delay at recovery 4 years ago
Andres Freund 1bc8e7b099 pgstat: split reporting/fetching of bgwriter and checkpointer stats. 4 years ago
Thomas Munro 8f7c8e2bef Further simplify a bit of logic in StartupXLOG(). 4 years ago
Thomas Munro 7ff23c6d27 Run checkpointer and bgwriter in crash recovery. 4 years ago
Heikki Linnakangas 317632f307 Move InRecovery and standbyState global vars to xlogutils.c. 4 years ago
Heikki Linnakangas 4fe8dcdff3 Extract code to describe recovery stop reason to a function. 4 years ago
Heikki Linnakangas 6b16532811 Remove unnecessary 'restoredFromArchive' global variable. 4 years ago
Heikki Linnakangas e9f5a0681c Don't use O_SYNC or similar when opening signal file to fsync it. 4 years ago
Robert Haas 1d919de5eb Remove unnecessary call to ReadCheckpointRecord(). 4 years ago
Heikki Linnakangas df9f0c716c Update obsolete comment that still referred to CheckpointLock 4 years ago
Alvaro Herrera ce197e91d0
Close yet another race condition in replication slot test code 4 years ago
Fujii Masao 7fcf2faf9c Make XLOG_FPI_FOR_HINT records honor full_page_writes setting. 4 years ago
Alvaro Herrera ead9e51e82
Advance old-segment horizon properly after slot invalidation 4 years ago
Tom Lane a49d081235 Replace explicit PIN entries in pg_depend with an OID range test. 4 years ago
Michael Paquier 2aca19f298 Use WaitLatch() instead of pg_usleep() at the end of backups 4 years ago
Michael Paquier 17707c059c Fix incorrect PITR message for transaction ROLLBACK PREPARED 4 years ago
Michael Paquier 4035cd5d4e Add support for LZ4 with compression of full-page writes in WAL 4 years ago
Noah Misch cc2c7d65fc Skip WAL recycling and preallocation during archive recovery. 4 years ago
Noah Misch 2b3e4672f7 Don't ERROR on PreallocXlogFiles() race condition. 4 years ago
Noah Misch 421484f79c Remove XLogFileInit() ability to unlink a pre-existing file. 4 years ago
Noah Misch 85656bc305 In XLogFileInit(), fix *use_existent postcondition to suit callers. 4 years ago
Noah Misch c53c6b98d3 Remove XLogFileInit() ability to skip ControlFileLock. 4 years ago
Heikki Linnakangas d0303bc8d2 Fix outdated comment that talked about seek position of WAL file. 4 years ago
Robert Haas caba8f0d43 Fix corner case failure of new standby to follow new primary. 4 years ago
Fujii Masao 167bd48049 Make standby promotion reset the recovery pause state to 'not paused'. 4 years ago
Tom Lane def5b065ff Initial pgindent and pgperltidy run for v14. 4 years ago
Thomas Munro c2dc19342e Revert recovery prefetching feature. 4 years ago
Thomas Munro 1d257577e0 Optionally prefetch referenced data in recovery. 4 years ago
Thomas Munro f003d9f872 Add circular WAL decoding buffer. 4 years ago
Thomas Munro 323cbe7c7d Remove read_page callback from XLogReader. 4 years ago
Fujii Masao 9de9294b0c Stop archive recovery if WAL generated with wal_level=minimal is found. 4 years ago
Tom Lane 8620a7f6db Code review for server's handling of "tablespace map" files. 5 years ago
Tom Lane a50e4fd028 Prevent buffer overrun in read_tablespace_map(). 5 years ago
Thomas Munro 600f2f50b7 Add condition variable for recovery resume. 5 years ago
Robert Haas 32fd2b57d7 Be clear about whether a recovery pause has taken effect. 5 years ago
Fujii Masao ff99918c62 Track total amounts of times spent writing and syncing WAL data to disk. 5 years ago
Peter Eisentraut 6f6f284c7e Simplify printing of LSNs 5 years ago
Peter Eisentraut 0e392fcc0d Use errmsg_internal for debug messages 5 years ago
Michael Paquier f7400823c3 Clarify some comments around SharedRecoveryState in xlog.c 5 years ago
Thomas Munro 514b411a2b Retire pg_standby. 5 years ago
Robert Haas 1f113abdf8 Move StartupCLOG() calls to just after we initialize ShmemVariableCache. 5 years ago
Robert Haas d18e75664a Remove CheckpointLock. 5 years ago
Peter Eisentraut 15251c0a60 Pause recovery for insufficient parameter settings 5 years ago
Michael Paquier 5ae1572993 Fix O(N^2) stat() calls when recycling WAL segments 5 years ago
Thomas Munro ce6a71fa53 Use vectored I/O to fill new WAL segments. 5 years ago