Apr 2024

1 commit
Add pg_buffercache_evict() function for testing.
8 Apr 2024Thomas Munromaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
LLM analysis, 100% suremodified before commitlight changesfrom patchset #253 of 8 reviewers saw the final version

The commit preserves the executable logic of #25, renaming pg_buffercache_invalidate()/InvalidateUnpinnedBuffer() to pg_buffercache_evict()/EvictUnpinnedBuffer() and polishing comments and doc/src/sgml/pgbuffercache.sgml after #26 and #27. The patch header and commit credit Palak Chaturvedi as author, with Thomas Munro contributing documentation and tweaks.

  • Nitin Jadhavsaw an earlier versiontrailerIn #11, reviewed #3 and proposed the force parameter and comment fixes, before subsequent API and locking changes.
  • Andres Freundsaw the final versiontrailerIn #14, questioned buffer-ID races, privileges and InvalidateBuffer(), and in #27 reviewed the final naming and requested the adopted evict terminology.
  • Cary Huangsaw an earlier versiontrailerIn #16, reported successful builds and tests, identified the accidentally included patch file, and discussed developer-only access before the eviction implementation changed.
  • Cédric Villemainsaw an earlier versiontrailerIn #19, identified missing NULL handling and an unlock, suggested flatter control flow, and requested documentation and tests before later implementation changes.
  • Jim Nasbysaw an earlier versiontrailerIn #20, suggested named SQL arguments and STRICT NULL handling, before the force parameter was removed and eviction locking changed.
  • Maxim Orlovsaw an earlier versiontrailerIn #23, supplied a revision of #22 with refactoring, tests and earlier review fixes, before Thomas Munro reworked eviction and removed local-buffer support.
  • Thomas Munrosaw the final versiontrailerReviewed build integration in #2, rebased and revised the implementation in #22, #24 and #25, reported concurrent stress testing, and committed the final version.
  • Melanie Plagemansaw the final versiontrailerIn #26, explicitly reviewed and tested #25, reported expected behavior, and proposed documentation and comment corrections followed only by light edits.

Credits across 1 commit

Author
Palak Chaturvedi1
Thomas Munro1
Reviewer
Andres Freund1
Cary Huang1
Cédric Villemain1
Jim Nasby1
Maxim Orlov1
Melanie Plageman1
Nitin Jadhav1
Thomas Munro1
Committer
Thomas Munro1