Commit Graph

1251 Commits (e2dd7b2acf27336d47f78d68f4aac03f7770a6a6)

Author SHA1 Message Date
Michael Paquier 7863ee4def Fix control file update done in restartpoints still running after promotion 3 years ago
Michael Paquier 55b5686511 Revert recent changes with durable_rename_excl() 3 years ago
Michael Paquier ccfbd9287d Replace existing durable_rename_excl() calls with durable_rename() 3 years ago
Tom Lane 2cb1272445 Rethink method for assigning OIDs to the template0 and postgres DBs. 3 years ago
Tom Lane 9de692c101 Remove dead code in do_pg_backup_start(). 3 years ago
Robert Haas f37015a161 Rename delayChkpt to delayChkptFlags. 3 years ago
Thomas Munro 5dc0418fab Prefetch data referenced by the WAL, take II. 3 years ago
Andres Freund 5891c7a8ed pgstat: store statistics in shared memory. 3 years ago
Stephen Frost 39969e2a1e Remove exclusive backup mode 3 years ago
Robert Haas 412ad7a556 Fix possible recovery trouble if TRUNCATE overlaps a checkpoint. 4 years ago
Thomas Munro 3f1ce97346 Add circular WAL decoding buffer, take II. 4 years ago
Thomas Munro 46d9bfb0a6 Fix race between DROP TABLESPACE and checkpointing. 4 years ago
Michael Paquier 6bdf1a1400 Fix collection of typos in the code and the documentation 4 years ago
Thomas Munro c6f2f01611 Fix pg_basebackup with in-place tablespaces. 4 years ago
Heikki Linnakangas 69639e2b5c Fix uninitialized variable. 4 years ago
Heikki Linnakangas 9ed87a78e0 Fix read beyond buffer bug introduced by the split xlog.c patch. 4 years ago
Heikki Linnakangas 70e81861fa Split xlog.c into xlog.c and xlogrecovery.c. 4 years ago
Heikki Linnakangas be1c00ab13 Move code around in StartupXLOG(). 4 years ago
Heikki Linnakangas b3a5d01c05 Refactor setting XLP_FIRST_IS_OVERWRITE_CONTRECORD. 4 years ago
Heikki Linnakangas d231be00cb Run pgindent on xlog.c. 4 years ago
Robert Haas 5ef1eefd76 Allow archiving via loadable modules. 4 years ago
Michael Paquier 741bd32933 Improve errors related to incorrect TLI on checkpoint record replay 4 years ago
Michael Paquier 410aa248e5 Fix various typos, grammar and code style in comments and docs 4 years ago
Bruce Momjian 27b77ecf9f Update copyright for 2022 4 years ago
Peter Eisentraut 113fa3945f Fix incorrect format placeholders 4 years ago
Thomas Munro a13db0e164 Change ProcSendSignal() to take pgprocno. 4 years ago
Robert Haas fa0e03c15a Remove InitXLOGAccess(). 4 years ago
Robert Haas 64da07c41a Default to log_checkpoints=on, log_autovacuum_min_duration=10m 4 years ago
Daniel Gustafsson 018b800245 Remove mention of TimeLineID update from comments 4 years ago
Michael Paquier 6fb7c5d67c Centralize timestamp computation of control file on updates 4 years ago
Andres Freund 3030903dfe Replace straggling uses of ReadRecPtr/EndRecPtr. 4 years ago
Robert Haas d2ddfa681d xlog.c: Remove global variables ReadRecPtr and EndRecPtr. 4 years ago
Robert Haas e7ea2fa342 Fix corner-case failure to detect improper timeline switch. 4 years ago
Alvaro Herrera 2fed48f48f
Be more specific about OOM in XLogReaderAllocate 4 years ago
Fujii Masao 1b06d7bac9 Report wait events for local shell commands like archive_command. 4 years ago
Michael Paquier f975fc3a35 Remove global variable "LastRec" in xlog.c 4 years ago
Robert Haas e51c46991f Move InitXLogInsert() call from InitXLOGAccess() to BaseInit(). 4 years ago
Robert Haas a27048cbcb More cleanup of 'ThisTimeLineID'. 4 years ago
Tom Lane c3ec4f8fe8 Silence uninitialized-variable warning. 4 years ago
Robert Haas 4a92a1c3d1 Change ThisTimeLineID from a global variable to a local variable. 4 years ago
Robert Haas e997a0c642 Remove all use of ThisTimeLineID global variable outside of xlog.c 4 years ago
Amit Kapila 335397456b Move MarkCurrentTransactionIdLoggedIfAny() out of the critical section. 4 years ago
Amit Kapila 71db6459e6 Replace XLOG_INCLUDE_XID flag with a more localized flag. 4 years ago
Robert Haas a030a0c5cc Initialize variable to placate compiler. 4 years ago
Robert Haas 9ce346eabf Report progress of startup operations that take a long time. 4 years ago
Robert Haas 18e0913a42 StartupXLOG: Don't repeatedly disable/enable local xlog insertion. 4 years ago
Robert Haas a75dbf7f9e StartupXLOG: Call CleanupAfterArchiveRecovery after XLogReportParameters. 4 years ago
Robert Haas 811051c2e7 Postpone some end-of-recovery operations related to allowing WAL. 4 years ago
Robert Haas 6df1543abf Refactor some end-of-recovery code out of StartupXLOG(). 4 years ago
Fujii Masao 68601985e6 Make recovery report error message when invalid page header is found. 4 years ago