Commit Graph

563 Commits (ff89e182d42048380dba32fee1b491893c7b4bec)

Author SHA1 Message Date
Heikki Linnakangas 478846e768 Rename some shared memory initialization routines 1 year ago
Masahiko Sawada c584781bcc Use pgBufferUsage for buffer usage tracking in analyze. 1 year ago
Noah Misch 840b3b5b4e Fix private struct field name to match the code using it. 1 year ago
Noah Misch 8720a15e9a Use read streams in CREATE DATABASE when STRATEGY=WAL_LOG. 1 year ago
Noah Misch af07a827b9 Refactor PinBufferForBlock() to remove checks about persistence. 1 year ago
Noah Misch e00c45f685 Remove "smgr_persistence == 0" dead code. 1 year ago
Thomas Munro e656657f2b Fix RBM_ZERO_AND_LOCK. 1 year ago
Daniel Gustafsson 950d4a2cb1 Fix typos and duplicate words 1 year ago
Masahiko Sawada 810f64a015 Revert indexed and enlargable binary heap implementation. 1 year ago
Thomas Munro 13453eedd3 Add pg_buffercache_evict() function for testing. 1 year ago
Masahiko Sawada b840508644 Add functions to binaryheap for efficient key removal and update. 1 year ago
Thomas Munro 210622c60e Provide vectored variant of ReadBuffer(). 1 year ago
Peter Eisentraut dbbca2cf29 Remove unused #include's from backend .c files 2 years ago
Heikki Linnakangas 024c521117 Replace BackendIds with 0-based ProcNumbers 2 years ago
Heikki Linnakangas 28f3915b73 Remove superfluous 'pgprocno' field from PGPROC 2 years ago
Nathan Bossart 5497daf3aa Replace calls to pg_qsort() with the qsort() macro. 2 years ago
Heikki Linnakangas 18dd9d2ed9 Fix typo in comments 2 years ago
Heikki Linnakangas 21d9c3ee4e Give SMgrRelation pointers a well-defined lifetime. 2 years ago
Bruce Momjian 29275b1d17 Update copyright for 2024 2 years ago
Michael Paquier 3c9d9acae0 Refactor pgstat_prepare_io_time() with an input argument instead of a GUC 2 years ago
Thomas Munro b485ad7f07 Provide multi-block smgrprefetch(). 2 years ago
Heikki Linnakangas b8bff07daa Make ResourceOwners more easily extensible. 2 years ago
Heikki Linnakangas b70c2143bb Move a few ResourceOwnerEnlarge() calls for safety and clarity. 2 years ago
Michael Paquier 96f052613f Introduce pg_stat_checkpointer 2 years ago
Jeff Davis 00d7fb5e2e Assert that buffers are marked dirty before XLogRegisterBuffer(). 2 years ago
Peter Eisentraut 9847ca2c79 Standardize type of extend_by counter 2 years ago
Thomas Munro 0da096d78e Fix recovery conflict SIGUSR1 handling. 2 years ago
Thomas Munro f691f5b80a Remove the "snapshot too old" feature. 2 years ago
Thomas Munro 7114791158 ExtendBufferedWhat -> BufferManagerRelation. 2 years ago
Andres Freund f3bc519288 Fix off-by-one in LimitAdditionalPins() 2 years ago
Michael Paquier 2aeaf80e57 Refactor some code related to wait events "BufferPin" and "Extension" 2 years ago
Andres Freund eabb22525e Remove over-eager assertion in ExtendBufferedRelTo() 2 years ago
Tom Lane 0245f8db36 Pre-beta mechanical code beautification. 2 years ago
Andres Freund 093e5c57d5 Add writeback to pg_stat_io 2 years ago
Andres Freund 52676dc2e0 Update parameter name context to wb_context 2 years ago
David Rowley b4dbf3e924 Fix various typos 2 years ago
Andres Freund 43a33ef54e Support RBM_ZERO_AND_CLEANUP_LOCK in ExtendBufferedRelTo(), add tests 2 years ago
Peter Geoghegan d6f0f95a6b Harmonize some more function parameter names. 2 years ago
Thomas Munro d4e71df6d7 Add io_direct setting (developer-only). 2 years ago
Thomas Munro faeedbcefd Introduce PG_IO_ALIGN_SIZE and align all I/O buffers. 2 years ago
Andres Freund ac8d53dae5 Track IO times in pg_stat_io 2 years ago
Andres Freund 704261ecc6 Improve IO accounting for temp relation writes 2 years ago
Andres Freund 21d7c05a5c Fix copy-paste bug in 12f3867f55 triggering an assert after a write error 2 years ago
Andres Freund 31966b151e bufmgr: Introduce infrastructure for faster relation extension 2 years ago
Andres Freund 12f3867f55 bufmgr: Support multiple in-progress IOs by using resowner 2 years ago
Andres Freund dad50f677c bufmgr: Acquire and clean victim buffer separately 2 years ago
Andres Freund 794f259447 bufmgr: Add Pin/UnpinLocalBuffer() 2 years ago
Andres Freund 819b69a81d bufmgr: Add some more error checking [infrastructure] around pinning 2 years ago
Andres Freund 8a2b1b1477 bufmgr: Remove buffer-write-dirty tracepoints 2 years ago
Andres Freund 8aaa04b32d Track shared buffer hits in pg_stat_io 2 years ago