Commit Graph

575 Commits (a2b02293bc65dbb2401cb19c724f52c6ee0f2faf)

Author SHA1 Message Date
Thomas Munro d4e71df6d7 Add io_direct setting (developer-only). 3 years ago
Thomas Munro faeedbcefd Introduce PG_IO_ALIGN_SIZE and align all I/O buffers. 3 years ago
Andres Freund ac8d53dae5 Track IO times in pg_stat_io 3 years ago
Andres Freund 704261ecc6 Improve IO accounting for temp relation writes 3 years ago
Andres Freund 21d7c05a5c Fix copy-paste bug in 12f3867f55 triggering an assert after a write error 3 years ago
Andres Freund 31966b151e bufmgr: Introduce infrastructure for faster relation extension 3 years ago
Andres Freund 12f3867f55 bufmgr: Support multiple in-progress IOs by using resowner 3 years ago
Andres Freund dad50f677c bufmgr: Acquire and clean victim buffer separately 3 years ago
Andres Freund 794f259447 bufmgr: Add Pin/UnpinLocalBuffer() 3 years ago
Andres Freund 819b69a81d bufmgr: Add some more error checking [infrastructure] around pinning 3 years ago
Andres Freund 8a2b1b1477 bufmgr: Remove buffer-write-dirty tracepoints 3 years ago
Andres Freund 8aaa04b32d Track shared buffer hits in pg_stat_io 3 years ago
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. 4 years ago
Tom Lane 23e7b38bfe Pre-beta mechanical code beautification. 4 years ago
Alvaro Herrera 24d2b2680a
Remove extraneous blank lines before block-closing braces 4 years ago
Robert Haas f37015a161 Rename delayChkpt to delayChkptFlags. 4 years ago
Thomas Munro 5dc0418fab Prefetch data referenced by the WAL, take II. 4 years ago
Andres Freund 5891c7a8ed pgstat: store statistics in shared memory. 4 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