postgres/contrib/postgres_fdw/expected
Robert Haas 585e31fcb6 Don't generate fake "*SELECT*" or "*SELECT* %d" subquery aliases.
rte->alias should point only to a user-written alias, but in these
cases that principle was violated. Fixing this causes some regression
test output changes: wherever rte->alias previously had a value and
is now NULL, rte->eref is now set to a generated name rather than to
rte->alias; and the scheme used to generate eref names differs from
what we were doing for aliases.

The upshot is that instead of "*SELECT*" or "*SELECT* %d",
EXPLAIN will now emit "unnamed_subquery" or "unnamed_subquery_%d".
But that's a reasonable descriptor, and we were already producing
that in yet other cases, so this seems not too objectionable.

Author: Tom Lane <tgl@sss.pgh.pa.us>
Co-authored-by: Robert Haas <rhaas@postgresql.org>
Discussion: https://postgr.es/m/CA+TgmoYSYmDA2GvanzPMci084n+mVucv0bJ0HPbs6uhmMN6HMg@mail.gmail.com
2025-09-08 11:50:33 -04:00
..
postgres_fdw.out Don't generate fake "*SELECT*" or "*SELECT* %d" subquery aliases. 2025-09-08 11:50:33 -04:00
query_cancel_1.out postgres_fdw: Split out the query_cancel test to its own file 2024-07-22 12:49:57 +02:00
query_cancel.out postgres_fdw: re-issue cancel requests a few times if necessary. 2024-12-23 15:14:30 -05:00