pgsql: postgres_fdw: Add more test coverage for EvalPlanQual testing.

From: Etsuro Fujita <efujita(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: postgres_fdw: Add more test coverage for EvalPlanQual testing.
Date: 2025-11-06 03:17:23
Message-ID: E1vGqV1-005EO3-2F@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(dot)mshk(at)gmail(dot)com>
Author: Etsuro Fujita <etsuro(dot)fujita(at)gmail(dot)com>
Discussion: https://postgr.es/m/CAPmGK15%2B6H%3DkDA%3D-y3Y28OAPY7fbAdyMosVofZZ%2BNc769epVTQ%40mail.gmail.com
Backpatch-through: 13

Branch
------
REL_15_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/910409dc44c84b726e04e3349cd704ccda19cbf4

Modified Files
--------------
contrib/postgres_fdw/expected/eval_plan_qual.out | 108 +++++++++++++++++++++--
contrib/postgres_fdw/specs/eval_plan_qual.spec | 61 +++++++++++--
2 files changed, 155 insertions(+), 14 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Etsuro Fujita 2025-11-06 03:27:56 pgsql: Update obsolete comment in ExecScanReScan().
Previous Message David Rowley 2025-11-06 03:03:40 pgsql: Doc: use uppercase keywords in SQLs