Re: pg_plan_advice: FOREIGN_JOIN advice generated for a single-relation foreign scan is not round-trip safe

Robert Haas <robertmhaas@gmail.com>

From: Robert Haas <robertmhaas@gmail.com>
To: Richard Guo <guofenglinux@gmail.com>
Cc: Mahendra Singh Thalor <mahi6run@gmail.com>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2026-07-03T11:06:22Z
Lists: pgsql-hackers
On Thu, Jul 2, 2026 at 11:36 PM Richard Guo <guofenglinux@gmail.com> wrote:
> > Seems pgindent is needed for this commit.
>
> I've just pushed a trivial patch for the pgindent fix.

Thanks, sorry about that.

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



Commits

  1. pg_plan_advice: Don't generate FOREIGN_JOIN advice for a single relation.