]> git.ipfire.org Git - thirdparty/postgresql.git/commit
postgres_fdw: Add more test coverage for EvalPlanQual testing.
authorEtsuro Fujita <efujita@postgresql.org>
Thu, 6 Nov 2025 03:15:05 +0000 (12:15 +0900)
committerEtsuro Fujita <efujita@postgresql.org>
Thu, 6 Nov 2025 03:15:05 +0000 (12:15 +0900)
commite7b0c814dcfb2d93f02b25fa51a327cfdfa534ad
treedb6937ffe9e5f2fa703720488c0e0329ddc5260a
parent2adf3032841b2257ecd7ec5b1b9301004e4ca538
postgres_fdw: Add more test coverage for EvalPlanQual testing.

postgres_fdw supports EvalPlanQual testing by using the infrastructure
provided by the core with the RecheckForeignScan callback routine (cf.
commits 5fc4c26db and 385f337c9), but there has been no test coverage
for that, except that recent commit 12609fbac, which fixed an issue in
commit 385f337c9, added a test case to exercise only a code path added
by that commit to the core infrastructure.  So let's add test cases to
exercise other code paths as well at this time.

Like commit 12609fbac, back-patch to all supported branches.

Reported-by: Masahiko Sawada <sawada.mshk@gmail.com>
Author: Etsuro Fujita <etsuro.fujita@gmail.com>
Discussion: https://postgr.es/m/CAPmGK15%2B6H%3DkDA%3D-y3Y28OAPY7fbAdyMosVofZZ%2BNc769epVTQ%40mail.gmail.com
Backpatch-through: 13
contrib/postgres_fdw/expected/eval_plan_qual.out
contrib/postgres_fdw/specs/eval_plan_qual.spec