Nov 2025

3 commits
pg_buffercache: Add pg_buffercache_mark_dirty{,_relation,_all}()
28 Nov 2025Michael Paquiermaster19beta1REL_19_STABLE19beta1
LLM analysis, 94% surepart of a posted patchsetsignificant changesfrom patchset #171 of 7 reviewers saw the final version

Takes the dirtying SQL functions, documentation, and tests last attached in #17, with backend support committed separately. It substantially extends that work with pg_buffercache_mark_dirty_relation(), composite results distinguishing dirtied/already-dirty/skipped buffers, and use of the 1.6--1.7 upgrade script.

  • Andres Freundsaw an earlier versiontrailerAndres discussed dirtying semantics and concurrency in #2, reviewed shared API details in #16, and deferred dirtying as unready in #18, before the substantial later expansion.
  • Aidar Imamovsaw an earlier versiontrailerAidar identified loop-bound errors, proposed already-dirty success semantics, and requested tests in #5, #12, and #14, before the committed API changed substantially.
  • Amit Kapilano review foundtrailerThe commit credits Amit, but the supplied thread contains no review activity by him.
  • Joseph Koshakowsaw an earlier versiontrailerJoseph reviewed documentation and MarkUnpinnedBufferDirty locking assumptions in #6, before the later dirtying API expansion.
  • Michael Paquiersaw the final versiontrailerMichael committed the final version, establishing final coverage despite having no messages in the supplied thread.
  • Yuhang Qiuno review foundtrailerThe commit credits Yuhang, but the supplied thread contains no review activity by him.
  • Xuneng Zhouno review foundtrailerThe commit credits Xuneng, but the supplied thread contains no review activity by him.
doc: Add missing tags in pg_buffercache page
27 Nov 2025Michael Paquiermaster19beta1REL_19_STABLE19beta1
LLM analysis, 98% surewritten from the discussion, no matching patch

Adds structfield tags around buffer_evicted and buffer_flushed in doc/src/sgml/pgbuffercache.sgml; no attachment contains this cleanup. The Discussion trailer establishes the thread connection, and the commit message says it was noticed while reviewing another patch.

Add routines for marking buffers dirty efficiently
27 Nov 2025Michael Paquiermaster19beta1REL_19_STABLE19beta1
LLM analysis, 94% surepart of a posted patchsetsignificant changesfrom patchset #171 of 7 reviewers saw the final version

Extracts and substantially extends the backend dirtying portion last attached in #17, touching only bufmgr.c and bufmgr.h. The single MarkUnpinnedBufferDirty routine becomes a shared internal helper plus single-buffer, relation, and whole-pool APIs with separate already-dirty and skipped reporting.

  • Andres Freundsaw an earlier versiontrailerAndres raised exclusive-lock concurrency concerns in #2, reviewed buffer-manager API boundaries in #16, and deferred dirtying in #18, before the later backend restructuring.
  • Aidar Imamovsaw an earlier versiontrailerAidar reviewed loop bounds, already-dirty return semantics, and output-pointer handling in #5, #12, and #14, before the backend was expanded and split.
  • Amit Kapilano review foundtrailerThe commit credits Amit, but the supplied thread contains no review activity by him.
  • Joseph Koshakowsaw an earlier versiontrailerJoseph questioned whether MarkUnpinnedBufferDirty needed an already-held-lock check in #6, before the later shared-helper design.
  • Michael Paquiersaw the final versiontrailerMichael committed the final backend implementation, establishing final coverage despite having no messages in the supplied thread.
  • Yuhang Qiuno review foundtrailerThe commit credits Yuhang, but the supplied thread contains no review activity by him.
  • Xuneng Zhouno review foundtrailerThe commit credits Xuneng, but the supplied thread contains no review activity by him.

Apr 2025

1 commit
Add pg_buffercache_evict_{relation,all} functions
8 Apr 2025Andres Freundmaster18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
LLM analysis, 100% suremodified before commitlight changesfrom patchset #201 of 3 reviewers saw the final version

Applying #20 to the commit's parent reproduces the implementation apart from buffer_evicted/buffer_flushed naming and corresponding documentation and test edits, confirmed in #22. Andres sent the attachment, but its Author trailer credits Nazir.

  • Andres Freundsaw the final versiontrailerAndres reviewed the design, supplied the polished patch in #20, and committed it with final naming edits reported in #22.
  • Aidar Imamovsaw an earlier versiontrailerAidar reviewed bounds, locking, SQL declarations, and tests in #5, #12, and #14, before subsequent API refactoring and skipped-buffer reporting.
  • Joseph Koshakowsaw an earlier versiontrailerJoseph proposed exposing flush information and improving documentation in #6, before later locking, helper, and output-counter changes.

Credits across 4 commits

Author
Nazir Bilal Yavuz3
Reviewer
Aidar Imamov3
Andres Freund3
Joseph Koshakow3
Amit Kapila2
Michael Paquier2
Xuneng Zhou2
Yuhang Qiu2
Committer
Michael Paquier3
Andres Freund1