[PATCH] add missed tests for gist index
[PATCH] add missed tests for gist index
Hi hackers,
Two test-only patches.
gist.sql vacuums only once after deleting rows, so the emptied leaf pages
are never recycled or reused, and no test deletes every entry. Nothing
replays a GiST page deletion through recovery either.
0001 adds those steps to gist.sql. 0002 adds a recovery test that crashes
and restarts the server after the same workload, with
wal_consistency_checking set. Both compare an index scan against a
sequential scan.
Coverage of src/backend/access/gist goes from 80.3% to 87.9%; the redo side
of gistxlog.c was entirely unexecuted before.
Thanks,
Shihao
Re: [PATCH] add missed tests for gist index
От:
Sho Ito <i.sho.0628@gmail.com>
Дата:
On Thu, Oct 8, 2026 at 11:41 PM shihao zhong <zhong950419@gmail.com> wrote:
Rebase this patch with master.
Hi Shihao,
I reviewed v3 on current master. The gist regression test
passes, and the new recovery TAP test passes.
Thanks,
Sho Ito
I reviewed v3 on current master. The gist regression test
passes, and the new recovery TAP test passes.
Thanks,
Sho Ito
=======================================
Sho Ito (Sean)
E-mail: i.sho.0628@gmail.com
GitHub: https://github.com/sean0628/
=======================================