agora inbox for pgsql-committers@postgresql.org  
help / color / mirror / Atom feed
From: Robert Haas <rhaas@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: pg_plan_advice: Disallow empty sublists within JOIN_ORDER()
Date: Wed, 16 Sep 2026 18:57:43 +0000
Message-ID: <E1x6upD-00000000eBd-2tLr@gemulon.postgresql.org> (raw)

pg_plan_advice: Disallow empty sublists within JOIN_ORDER()

Commit 8c9c2e5c09aeda713640ccb26bfca0fdccc310d5 fixed a similar
issue for FOREIGN_JOIN(). Handle this case similar to the way that
commit handled that case.

Backpatch-through: 19
Discussion: https://postgr.es/m/CA+TgmoYmXy-jiP5qDhqNEiYFEBzQsArO6O2d9E8szNZqi1bePQ@mail.gmail.com
Reviewed-by: Ayush Tiwari <ayushtiwari.slg01@gmail.com>

Branch
------
REL_19_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/88cbbcb253a9d24bbde55420c86479ee0e068c9e

Modified Files
--------------
contrib/pg_plan_advice/expected/syntax.out | 7 +++++++
contrib/pg_plan_advice/pgpa_parser.y       | 6 ++++++
contrib/pg_plan_advice/sql/syntax.sql      | 4 ++++
3 files changed, 17 insertions(+)



view thread (2+ messages)

Message-ID: <E1x6upD-00000000eBd-2tLr@gemulon.postgresql.org>
Permalink:  ../E1x6upD-00000000eBd-2tLr@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1x6upD-00000000eBd-2tLr@gemulon.postgresql.org

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: rhaas@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: pg_plan_advice: Disallow empty sublists within JOIN_ORDER()
  In-Reply-To: <E1x6upD-00000000eBd-2tLr@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox