Re: Make EXPLAIN generate a generic plan for a parameterized query - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Make EXPLAIN generate a generic plan for a parameterized query
Date
Msg-id 2333485.1679678406@sss.pgh.pa.us
Whole thread Raw
In response to Re: Make EXPLAIN generate a generic plan for a parameterized query  (Laurenz Albe <laurenz.albe@cybertec.at>)
Responses Re: Make EXPLAIN generate a generic plan for a parameterized query  (Christoph Berg <myon@debian.org>)
List pgsql-hackers
Laurenz Albe <laurenz.albe@cybertec.at> writes:
> On Tue, 2023-03-21 at 16:32 +0100, Christoph Berg wrote:
>> The test involving postgres_fdw is still necessary to exercise the new
>> EXEC_FLAG_EXPLAIN_GENERIC code path, but needs to be moved elsewhere,
>> probably src/test/modules/.

> Tests for postgres_fdw are in contrib/postgres_fdw/sql/postgres_fdw.sql,
> so I added the test there.

I don't actually see why a postgres_fdw test case is needed at all?
The tests in explain.sql seem sufficient.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Mark Dilger
Date:
Subject: Re: running logical replication as the subscription owner
Next
From: Melanie Plageman
Date:
Subject: Re: Should vacuum process config file reload more often