Commit Graph

563 Commits (ff89e182d42048380dba32fee1b491893c7b4bec)

Author SHA1 Message Date
Tom Lane 58c9600a9f Remove empty function BufmgrCommit(). 3 years ago
Andres Freund 5df319f3d5 Fix memory leak and inefficiency in CREATE DATABASE ... STRATEGY WAL_LOG 3 years ago
Peter Eisentraut b9f0e54bc9 Update types in smgr API 3 years ago
David Rowley 2cb82e2acf Speedup and increase usability of set proc title functions 3 years ago
Andres Freund f30d62c2fc pgstat: Track more detailed relation IO statistics 3 years ago
Peter Eisentraut 54a177a948 Remove useless casts to (void *) in hash_search() calls 3 years ago
Andres Freund 25b2aba0c3 Zero initialize uses of instr_time about to trigger compiler warnings 3 years ago
Andres Freund 250c8ee07e Manual cleanup and pgindent of pgstat and bufmgr related code 3 years ago
Bruce Momjian c8e1ba736b Update copyright for 2023 3 years ago
Michael Paquier d9d873bac6 Clean up some inconsistencies with GUC declarations 3 years ago
Michael Paquier 65b158ae4e Remove useless argument from UnpinBuffer() 3 years ago
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. 5 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