| From: | Melanie Plageman <melanieplageman(at)gmail(dot)com> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Stabilize btree_gist test against on-access VM setting |
| Date: | 2026-04-21 21:34:39 |
| Message-ID: | E1wFIjv-0023qL-19@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
Stabilize btree_gist test against on-access VM setting
The btree_gist enum test expects a bitmap heap scan. Since b46e1e54d07
enabled setting the VM during on-access pruning and 378a21618 set
pd_prune_xid on INSERT, scans of enumtmp may set pages all-visible.
If autovacuum or autoanalyze then updates pg_class.relallvisible, the
planner could choose an index-only scan instead.
Make the enumtmp a temp table to exclude it from autovacuum/autoanalyze.
Reported-by: Alexander Lakhin <exclusion(at)gmail(dot)com>
Author: Melanie Plageman <melanieplageman(at)gmail(dot)com>
Discussion: https://postgr.es/m/46733d68-aec0-4d09-8120-4c66b87047a4%40gmail.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/62407d26b7c9e619ed696fced88fdacc5d1ae522
Modified Files
--------------
contrib/btree_gist/expected/enum.out | 2 +-
contrib/btree_gist/sql/enum.sql | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Melanie Plageman | 2026-04-21 21:51:11 | pgsql: bufmgr: use I/O stats arguments in FlushUnlockedBuffer() |
| Previous Message | Melanie Plageman | 2026-04-21 18:39:13 | pgsql: Stabilize plancache test against on-access VM setting |