Commit Graph

45 Commits (01ec41a5fe4aa590dde18a2c551432aa1925caea)

Author SHA1 Message Date
Robert Haas e997a0c642 Remove all use of ThisTimeLineID global variable outside of xlog.c 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
Fujii Masao d75288fb27 Make archiver process an auxiliary process. 4 years ago
Bruce Momjian ca3b37487b Update copyright for 2021 5 years ago
Fujii Masao a4ef0329c2 Emit log when restore_command succeeds but archived file faills to be restored. 5 years ago
Peter Eisentraut c005eb00e7 Standardize the printf format for st_size 5 years ago
Peter Eisentraut 1784f278a6 Replace remaining StrNCpy() by strlcpy() 5 years ago
Tom Lane 5cbfce562f Initial pgindent and pgperltidy run for v13. 5 years ago
Michael Paquier 4e87c4836a Fix handling of WAL segments ready to be archived during crash recovery 5 years ago
Michael Paquier 616ae3d2b0 Move routine definitions of xlogarchive.c to a new header file 5 years ago
Michael Paquier e09ad07b21 Move routine building restore_command to src/common/ 5 years ago
Bruce Momjian 7559d8ebfa Update copyrights for 2020 6 years ago
Fujii Masao 20961ceaf0 Make crash recovery ignore restore_command and recovery_end_command settings. 6 years ago
Bruce Momjian 97c39498e5 Update copyright for 2019 7 years ago
Tom Lane ade2d61ed0 Improve detection of child-process SIGPIPE failures. 7 years ago
Peter Eisentraut 2dedf4d9a8 Integrate recovery.conf into postgresql.conf 7 years ago
Michael Paquier 78ea8b5daa Fix WAL recycling on standbys depending on archive_mode 7 years ago
Michael Paquier 9226a3b89b Remove duplicated words split across lines in comments 7 years ago
Bruce Momjian 9d4649ca49 Update copyright for 2018 8 years ago
Peter Eisentraut 0e1539ba0d Add some const decorations to prototypes 8 years ago
Peter Eisentraut 2eb4a831e5 Change TRUE/FALSE to true/false 8 years ago
Andres Freund fc49e24fa6 Make WAL segment size configurable at initdb time. 8 years ago
Tom Lane 9e3755ecb2 Remove useless duplicate inclusions of system header files. 8 years ago
Bruce Momjian 1d25779284 Update copyright via script for 2017 9 years ago
Robert Haas f82ec32ac3 Rename "pg_xlog" directory to "pg_wal". 9 years ago
Andres Freund 1d4a0ab19a Avoid unlikely data-loss scenarios due to rename() without fsync. 9 years ago
Bruce Momjian ee94300446 Update copyright for 2016 10 years ago
Heikki Linnakangas 7cbee7c0a1 At promotion, don't leave behind a partial segment on the old timeline. 10 years ago
Heikki Linnakangas ffd37740ee Add archive_mode='always' option. 10 years ago
Heikki Linnakangas b2a5545bd6 Don't archive bogus recycled or preallocated files after timeline switch. 10 years ago
Bruce Momjian 4baaf863ec Update copyright for 2015 11 years ago
Noah Misch fb2aece8ae Replace a few strncmp() calls with strlcpy(). 11 years ago
Bruce Momjian 0a78320057 pgindent run for 9.4 11 years ago
Bruce Momjian 7e04792a1c Update copyright for 2014 12 years ago
Peter Eisentraut fef88b3fda Report exit code from external recovery commands properly 12 years ago
Bruce Momjian 9af4159fce pgindent run for release 9.3 12 years ago
Simon Riggs c2f79ba269 Force archive_status of .done for xlogs created by dearchival/replication. 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
Heikki Linnakangas 527668717a Make xlog_internal.h includable in frontend context. 13 years ago
Heikki Linnakangas 644a0a6379 Fix archive_cleanup_command. 13 years ago
Alvaro Herrera fa12cb7f02 Remove leftover LWLockRelease() call 13 years ago
Heikki Linnakangas 93b6d78cf0 Add #includes needed on some platforms in the new files. 13 years ago
Heikki Linnakangas d5497b95f3 Split off functions related to timeline history files and XLOG archiving. 13 years ago