Re: pg_plan_advice

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Alexander Lakhin <exclusion(at)gmail(dot)com>
Cc: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: pg_plan_advice
Date: 2026-03-16 17:11:16
Message-ID: CA+Tgmob4vZCh2aixNamh7p3JwAY+r-vuP1tTv-KcUH00XguicA@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sat, Mar 14, 2026 at 8:00 AM Alexander Lakhin <exclusion(at)gmail(dot)com> wrote:
> I've found a crash inside pgpa_join_path_setup(), reproduced with:
> echo "geqo_threshold = 2" >/tmp/extra.config
> TEMP_CONFIG=/tmp/extra.config make -s check -C contrib/pg_plan_advice/
> ...
>
> Could please look at this?

Thanks. Proposed fix attached.

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

Attachment Content-Type Size
0001-pg_plan_advice-Avoid-a-crash-under-GEQO.nocfbot application/octet-stream 2.6 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Melanie Plageman 2026-03-16 17:14:15 Re: EXPLAIN: showing ReadStream / prefetch stats
Previous Message Robert Haas 2026-03-16 16:52:55 Re: pg_plan_advice