Commit Graph

452 Commits (bfcf1b34805f70df48eedeec237230d0cc1154a6)

Author SHA1 Message Date
Peter Geoghegan bfcf1b3480 Harmonize parameter names in storage and AM code. 3 years ago
Robert Haas 82ac34db20 Include RelFileLocator fields individually in BufferTag. 3 years ago
David Rowley 421892a192 Further reduce warnings with -Wshadow=compatible-local 3 years ago
Robert Haas 3e63e8462f When using the WAL-logged CREATE DATABASE strategy, bulk extend. 3 years ago
Robert Haas 76733b399c Avoid using a fake relcache entry to own an SmgrRelation. 3 years ago
Tom Lane 692df425b6 Fix data-corruption hazard in WAL-logged CREATE DATABASE. 3 years ago
Robert Haas 3ac88fddd9 Convert macros to static inline functions (buf_internals.h) 3 years ago
Heikki Linnakangas 7a08f78aea Fix ReadRecentBuffer for local buffers. 3 years ago
Robert Haas 09c5acee8e Rename some functions to mention Relation instead of RelFileLocator. 3 years ago
Robert Haas b2d5b4c6e0 Fix mistake in comment. 3 years ago
Robert Haas b0a55e4329 Change internal RelFileNode references to RelFileNumber or RelFileLocator. 3 years ago
Tom Lane 23e7b38bfe Pre-beta mechanical code beautification. 3 years ago
Alvaro Herrera 24d2b2680a
Remove extraneous blank lines before block-closing braces 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
Robert Haas 9c08aea6a3 Add new block-by-block strategy for CREATE DATABASE. 4 years ago
Robert Haas 412ad7a556 Fix possible recovery trouble if TRUNCATE overlaps a checkpoint. 4 years ago
Alvaro Herrera b3d7d6e462
Remove xloginsert.h from xlog.h 4 years ago
Amit Kapila 4c004dd520 Consistently use the function name CreateCheckPoint in code and comments. 4 years ago
Bruce Momjian 27b77ecf9f Update copyright for 2022 4 years ago
Thomas Munro a13db0e164 Change ProcSendSignal() to take pgprocno. 4 years ago
Peter Eisentraut 37b2764593 Some RELKIND macro refactoring 4 years ago
Daniel Gustafsson 7111e332c5 Fix duplicate words in comments 4 years ago
Tom Lane 8481f99896 Check for relation length overrun soon enough. 4 years ago
Peter Eisentraut 0d906b2c0b Fix handling of partitioned index in RelationGetNumberOfBlocksInFork() 4 years ago
Andres Freund b406478b87 process startup: Always call Init[Auxiliary]Process() before BaseInit(). 4 years ago
Andres Freund 1bc8e7b099 pgstat: split reporting/fetching of bgwriter and checkpointer stats. 4 years ago
Heikki Linnakangas 317632f307 Move InRecovery and standbyState global vars to xlogutils.c. 4 years ago
Tom Lane f10f0ae420 Replace RelationOpenSmgr() with RelationGetSmgr(). 4 years ago
Tom Lane def5b065ff Initial pgindent and pgperltidy run for v14. 4 years ago
Thomas Munro 2f27f8c511 Provide ReadRecentBuffer() to re-pin buffers by ID. 4 years ago
Thomas Munro 1b88b8908e Specialize checkpointer sort functions. 5 years ago
Amit Kapila 519e4c9ee2 Fix size overflow in calculation introduced by commits d6ad34f3 and bea449c6. 5 years ago
Thomas Munro d87251048a Replace buffer I/O locks with condition variables. 5 years ago
Fujii Masao 39b03690b5 Log long wait time on recovery conflict when it's resolved. 5 years ago
Amit Kapila bea449c635 Optimize DropRelFileNodesAllBuffers() for recovery. 5 years ago
Amit Kapila d6ad34f341 Optimize DropRelFileNodeBuffers() for recovery. 5 years ago
Fujii Masao 0650ff2303 Add GUC to log long wait times on recovery conflicts. 5 years ago
Bruce Momjian ca3b37487b Update copyright for 2021 5 years ago
Tom Lane b3817f5f77 Improve hash_create()'s API for some added robustness. 5 years ago
Michael Paquier e152506ade Revert pg_relation_check_pages() 5 years ago
Michael Paquier 8a15e735be Fix some grammar and typos in comments and docs 5 years ago
Michael Paquier c780a7a90a Add CheckBuffer() to check on-disk pages without shared buffer loading 5 years ago
Michael Paquier d401c5769e Extend PageIsVerified() to handle more custom options 5 years ago
Thomas Munro dee663f784 Defer flushing of SLRU files. 5 years ago
Noah Misch 676a9c3cc4 Correct several behavior descriptions in comments. 5 years ago
Peter Geoghegan 4a70f829d8 Add nbtree Valgrind buffer lock checks. 5 years ago
Peter Geoghegan 6ca7cd89a2 Assert that buffer is pinned in LockBuffer(). 5 years ago
Peter Geoghegan 46ef520b95 Mark buffers as defined to Valgrind consistently. 5 years ago