Commit Graph

576 Commits (c75ebc657ffce8dab76471da31aafb79fbe3fda2)

Author SHA1 Message Date
Peter Eisentraut 827b4060a8 Remove unnecessary (char *) casts [mem] 10 months ago
Tom Lane f6ff75f796 Make BufferIsExclusiveLocked and BufferIsDirty work for local buffers. 11 months ago
Tom Lane 23d7562018 Remove PrintBufferDescs() and PrintPinnedBufs(). 11 months ago
Michael Paquier f92c854cf4 Make pg_stat_io count IOs as bytes instead of blocks for some operations 11 months ago
Michael Paquier f0bf7857be Merge pgstat_count_io_op_n() and pgstat_count_io_op() 11 months ago
Bruce Momjian 50e6eb731d Update copyright for 2025 12 months ago
Peter Eisentraut 8743ea1b2e Remove useless casts to (const void *) 1 year ago
Peter Eisentraut 7f798aca1d Remove useless casts to (void *) 1 year ago
Michael Paquier 57a36e890d Fix grammar of a comment in bufmgr.c 1 year ago
Andres Freund 755a4c10d1 bufmgr/smgr: Don't cross segment boundaries in StartReadBuffers() 1 year ago
Andres Freund 488f826c72 bufmgr: Return early in ScheduleBufferTagForWriteback() if fsync=off 1 year ago
Noah Misch c582b75851 Add block_range_read_stream_cb(), to deduplicate code. 1 year ago
Daniel Gustafsson 31a98934d1 Fix typos in code comments and test data 1 year ago
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. 2 years ago
Daniel Gustafsson 950d4a2cb1 Fix typos and duplicate words 2 years ago
Masahiko Sawada 810f64a015 Revert indexed and enlargable binary heap implementation. 2 years ago
Thomas Munro 13453eedd3 Add pg_buffercache_evict() function for testing. 2 years ago
Masahiko Sawada b840508644 Add functions to binaryheap for efficient key removal and update. 2 years ago
Thomas Munro 210622c60e Provide vectored variant of ReadBuffer(). 2 years 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" 3 years ago
Andres Freund eabb22525e Remove over-eager assertion in ExtendBufferedRelTo() 3 years ago
Tom Lane 0245f8db36 Pre-beta mechanical code beautification. 3 years ago
Andres Freund 093e5c57d5 Add writeback to pg_stat_io 3 years ago
Andres Freund 52676dc2e0 Update parameter name context to wb_context 3 years ago
David Rowley b4dbf3e924 Fix various typos 3 years ago
Andres Freund 43a33ef54e Support RBM_ZERO_AND_CLEANUP_LOCK in ExtendBufferedRelTo(), add tests 3 years ago