Commit Graph

349 Commits (96ca52dbe80a90d191eafbc656f03a33e85107a8)

Author SHA1 Message Date
Tom Lane 35af5422f6 Make the server track an 'XID epoch', that is, maintain higher-order bits 20 years ago
Tom Lane e8ea9e9587 Implement archive_timeout feature to force xlog file switches to occur no more 20 years ago
Tom Lane e002836913 Make recovery from WAL be restartable, by executing a checkpoint-like 20 years ago
Tom Lane 704ddaaa09 Add support for forcing a switch to a new xlog file; cause such a switch 20 years ago
Alvaro Herrera 92c2ecc130 Modify snapshot definition so that lazy vacuums are ignored by other 20 years ago
Bruce Momjian e0522505bd Remove 576 references of include files that were not needed. 20 years ago
Bruce Momjian a22d76d96a Allow include files to compile own their own. 20 years ago
Tom Lane 3c71244b74 Put #ifdef NOT_USED around posix_fadvise call. We may want to resurrect 20 years ago
Tom Lane 3a04f53e7f pg_stop_backup was calling XLogArchiveNotify() twice for the newly created 20 years ago
Tom Lane 1e8ae13640 Don't try to call posix_fadvise() unless <fcntl.h> supplies a declaration 20 years ago
Bruce Momjian 40bc06fa16 Test for POSIX_FADV_DONTNEED to use posix_fadvise(). 20 years ago
Bruce Momjian 94a5c4a01b Use posix_fadvise() to avoid kernel caching of WAL contents on WAL file 20 years ago
Tom Lane eac825aa68 Ensure that we validate the page header of the first page of a WAL file 20 years ago
Tom Lane 0a87394956 Fix the torn-page hazard for PITR base backups by forcing full page writes 20 years ago
Tom Lane defe93463c Make the world safe for full_page_writes. Allow XLOG records that try to 20 years ago
Tom Lane 09b5271ebd Add a field to the first page of each WAL file to indicate the 20 years ago
Tom Lane e6140d9052 Don't use BLCKSZ for the physical length of the pg_control file, but 20 years ago
Tom Lane eaef111396 Define a separately configurable XLOG_BLCKSZ symbol for the page size 20 years ago
Tom Lane a8b8f4db23 Clean up WAL/buffer interactions as per my recent proposal. Get rid of the 20 years ago
Tom Lane 6d61cdec07 Clean up and document the API for XLogOpenRelation and XLogReadBuffer. 20 years ago
Tom Lane 0a971e2f20 Disable full_page_writes, because turning it off risks causing crash-recovery 20 years ago
Tom Lane 0a20207060 Arrange to emit a description of the current XLOG record as error context 20 years ago
Bruce Momjian f2f5b05655 Update copyright for 2006. Update scripts. 20 years ago
Neil Conway fb627b76cc Cosmetic code cleanup: fix a bunch of places that used "return (expr);" 20 years ago
Tom Lane 195f164228 Get rid of the SpinLockAcquire/SpinLockAcquire_NoHoldoff distinction 20 years ago
Tom Lane ab51bbaa06 Arrange to set the LC_XXX environment variables to match our locale 20 years ago
Bruce Momjian 436a2956d8 Re-run pgindent, fixing a problem where comment lines after a blank 20 years ago
Peter Eisentraut 07bb9f086b Message corrections 20 years ago
Tom Lane 6d6c3722fb Make code for selecting default WAL sync method less confusing. 20 years ago
Bruce Momjian 1dc3498251 Standard pgindent run for 8.1. 20 years ago
Tom Lane 64eea6c21d Expand pg_control information so that we can verify that the database 21 years ago
Tom Lane 9052537325 Rewrite gather-write patch into something less obviously bolted on 21 years ago
Tom Lane d0096a41fa Fix some inconsistent choices of datatypes in xlog.c. Make buffer 21 years ago
Tom Lane 0007490e09 Convert the arithmetic for shared memory size calculation from 'int' 21 years ago
Tom Lane d90c531188 Autovacuum loose end mop-up. Provide autovacuum-specific vacuum cost 21 years ago
Bruce Momjian 5b0bfec414 Fix compile for no O_SYNC, but introduced with O_DIRECT. 21 years ago
Tom Lane 5d5f1a79e6 Clean up a number of autovacuum loose ends. Make the stats collector 21 years ago
Bruce Momjian c6b1724c67 Update O_DIRECT comment. 21 years ago
Bruce Momjian c34bb00581 Use O_DIRECT if available when using O_SYNC for wal_sync_method. 21 years ago
Bruce Momjian 9af9d674c6 Remove unintended code addition. 21 years ago
Bruce Momjian 4098c8867d Macro alignment cleanup. 21 years ago
Tom Lane d7207cfc6b Even though I'd like to see full_page_writes go away before 8.1, 21 years ago
Bruce Momjian 326a7a0788 Add GUC full_page_writes to control writing full pages to WAL. 21 years ago
Tom Lane eb5949d190 Arrange for the postmaster (and standalone backends, initdb, etc) to 21 years ago
Tom Lane 401de9c8be Improve the checkpoint signaling mechanism so that the bgwriter can tell 21 years ago
Tom Lane b5f7cff84f Clean up the rather historically encumbered interface to now() and 21 years ago
Tom Lane 3f749924f8 Simplify uses of readdir() by creating a function ReadDir() that 21 years ago
Tom Lane e26b0abda3 Arrange to fsync two-phase-commit state files only during checkpoints; 21 years ago
Tom Lane d0a89683a3 Two-phase commit. Original patch by Heikki Linnakangas, with additional 21 years ago
Bruce Momjian f4d907ca85 Remove old *.backup files when we do pg_stop_backup(). This 21 years ago