Commit Graph

1280 Commits (6c349d83b607cfe20a685a5f66a4fa0e24dbe458)

Author SHA1 Message Date
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 20 years ago
Tom Lane 9052537325 Rewrite gather-write patch into something less obviously bolted on 20 years ago
Tom Lane d0096a41fa Fix some inconsistent choices of datatypes in xlog.c. Make buffer 20 years ago
Tom Lane 0007490e09 Convert the arithmetic for shared memory size calculation from 'int' 20 years ago
Tom Lane d90c531188 Autovacuum loose end mop-up. Provide autovacuum-specific vacuum cost 20 years ago
Bruce Momjian 5b0bfec414 Fix compile for no O_SYNC, but introduced with O_DIRECT. 20 years ago
Tom Lane 5d5f1a79e6 Clean up a number of autovacuum loose ends. Make the stats collector 20 years ago
Bruce Momjian c6b1724c67 Update O_DIRECT comment. 20 years ago
Bruce Momjian c34bb00581 Use O_DIRECT if available when using O_SYNC for wal_sync_method. 20 years ago
Bruce Momjian 9af9d674c6 Remove unintended code addition. 20 years ago
Bruce Momjian 4098c8867d Macro alignment cleanup. 20 years ago
Tom Lane d7207cfc6b Even though I'd like to see full_page_writes go away before 8.1, 20 years ago
Bruce Momjian 326a7a0788 Add GUC full_page_writes to control writing full pages to WAL. 20 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
Bruce Momjian 51746c4549 Free buffer allocated via malloc (process is short-lived, but fix it anyway). 21 years ago
Tom Lane f5b2f60bd1 Change WAL-logging scheme for multixacts to be more like regular 21 years ago
Tom Lane ee7ac7b11e Modify XLogInsert API to make callers specify whether pages to be backed 21 years ago
Tom Lane 4c8495a1f2 Remove the mostly-stubbed-out-anyway support routines for WAL UNDO. 21 years ago
Tom Lane 21fda22ec4 Change CRCs in WAL records from 64bit to 32bit for performance reasons. 21 years ago
Tom Lane a91fa39028 Add test to WAL replay to verify that xl_prev points back to the previous 21 years ago
Bruce Momjian 6dc7760ac3 Add support for wal_fsync_writethrough for Darwin, and restructure the 21 years ago
Tom Lane ee3b71f6bc Split the shared-memory array of PGPROC pointers out of the sinval 21 years ago
Bruce Momjian 35e1651508 Back out check for unreferenced files. 21 years ago
Bruce Momjian 76668e6eb4 Check the file system on postmaster startup and report any unreferenced 21 years ago
Tom Lane bedb78d386 Implement sharable row-level locks, and use them for foreign key references 21 years ago
Tom Lane 19d127548c Add comment about checkpoint panic behavior during shutdown, per 21 years ago
Bruce Momjian 1a6ad669fb Fix comment typo. 21 years ago
Tom Lane 5f0a974ea9 Reduce PANIC to ERROR in several xlog routines that are used in both 21 years ago
Tom Lane 61b861421b Modify MoveOfflineLogs/InstallXLogFileSegment to avoid O(N^2) behavior 21 years ago
Tom Lane 2193a856a2 Simplify initdb-time assignment of OIDs as I proposed yesterday, and 21 years ago
Tom Lane 8c85a34a3b Officially decouple FUNC_MAX_ARGS from INDEX_MAX_KEYS, and set the 21 years ago
Bruce Momjian b1f57d88f5 Change Win32 O_SYNC method to O_DSYNC because that is what the method 21 years ago
Bruce Momjian 7c44e57331 Move plpgsql DEBUG from DEBUG2 to DEBUG1 because it is a user-requested 21 years ago