Re: pg_plan_advice

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: pg_plan_advice
Date: 2026-03-17 21:45:52
Message-ID: CA+Tgmoau7yJtvbeH-0kPt1Q=Gt_ezRdgM35Q1=LT665U_86Etg@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, Mar 12, 2026 at 1:15 PM Robert Haas <robertmhaas(at)gmail(dot)com> wrote:
> I'm still hoping to get some more feedback on the remaining patches,
> which are much smaller and conceptually simpler. While there is no
> time to redesign them at this point in the release cycle, there is
> still the opportunity to fix bugs, or decide that they're too
> half-baked to ship. So here is v20 with just those patches. Of course,
> post-commit review of the main patch is also very welcome.

I've now committed test_plan_advice, since it seems crazy to me to
have pg_plan_advice in the tree without it and reviewers evidently
agree at least with the concept test_plan_advice is something we
should have. Here are the remaining two patches, as v21.

Separately, I also committed a fix for the GEQO crash that Alexander
Lakhin found. The patch I proposed on list was missing a bms_copy() --
as proposed, it fixed the crash but was still wrong. I added that and
committed it.

--
Robert Haas
EDB: http://www.enterprisedb.com

Attachment Content-Type Size
v21-0002-Add-pg_stash_advice-contrib-module.patch application/octet-stream 55.6 KB
v21-0001-Add-pg_collect_advice-contrib-module.patch application/octet-stream 56.2 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Daniel Gustafsson 2026-03-17 22:01:13 Re: Changing the state of data checksums in a running cluster
Previous Message Tomas Vondra 2026-03-17 21:43:26 Re: EXPLAIN: showing ReadStream / prefetch stats