Re: Add test_bufmgr - algorithm-agnostic tests for the buffer manager

From: Dinesh Salve <cooltodinesh(at)gmail(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Cc: Gregory Burd <greg(at)burd(dot)me>
Subject: Re: Add test_bufmgr - algorithm-agnostic tests for the buffer manager
Date: 2026-08-05 08:35:32
Message-ID: CAP+B4TCdv7zTSQ-VqpXtaVuuax3VdwHhAQyg_3WAq6iS2wnEtw@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

A quick follow up note - I had checked which of these properties are
already covered elsewhere in the
tree. Some are, and I have kept them here deliberately to assert
them directly treating this as a complete test, please let me know if this
doesn't sound right.

New, not asserted anywhere today IMO:

- pinned_safety: a pinned shared buffer is never chosen as a victim.
- scan_no_retain: a one-touch page does not indefinitely retain its buffer.
- churn: contents stay correct across many pool-wide reload cycles.
- eviction_reload: an evicted page reloads correctly and the manager makes
progress under pressure.

>

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Smith 2026-08-05 08:45:44 Re: Add more tab=completion rules for DROP PROPERTY GRAPH
Previous Message Michael Paquier 2026-08-05 08:26:13 Re: [PATCH v1 0/3] Route crypto through the OpenSSL 3 provider API