postgresql/src/backend
Tom Lane d0f952691f Fix thinko in join removal.
In commit 9df8f903e I (tgl) switched join_is_removable() from
using the min relid sets of the join under consideration to
using its full syntactic relid sets.  This was a mistake,
as it allowed join removal in cases where a reference to the
join output would survive in some syntactically-lower join
condition.  Revert to the former coding.

Richard Guo

Discussion: https://postgr.es/m/CAMbWs4-EU9uBGSP7G-iTwLBhRQ=rnZKvFDhD+n+xhajokyPCKg@mail.gmail.com
2023-05-19 15:24:07 -04:00
..
access Message style improvements 2023-05-19 18:45:29 +02:00
archive Redesign archive modules 2023-02-17 14:26:42 +09:00
backup Fix various typos and incorrect/outdated name references 2023-04-19 13:50:33 +12:00
bootstrap Fix CREATE INDEX progress reporting for multi-level partitioning. 2023-03-25 15:34:03 -04:00
catalog Add writeback to pg_stat_io 2023-05-17 11:18:35 -07:00
commands Revert "Add USER SET parameter values for pg_db_role_setting" 2023-05-17 20:28:57 +03:00
executor Fix misbehavior of EvalPlanQual checks with multiple result relations. 2023-05-19 14:26:40 -04:00
foreign De-Revert "Add support for Kerberos credential delegation" 2023-04-13 08:55:07 -04:00
jit Add back SQLValueFunction for SQL keywords 2023-05-17 10:19:17 +09:00
lib Fix ILIST_DEBUG build 2023-01-18 10:26:15 -08:00
libpq Remove stray mid-sentence tabs in comments 2023-05-19 16:13:16 +02:00
main Remove obsolete defense against strxfrm() bugs. 2023-04-20 13:20:14 +12:00
nodes Add back SQLValueFunction for SQL keywords 2023-05-17 10:19:17 +09:00
optimizer Fix thinko in join removal. 2023-05-19 15:24:07 -04:00
parser Revert "Add USER SET parameter values for pg_db_role_setting" 2023-05-17 20:28:57 +03:00
partitioning Revert "Move PartitionPruneInfo out of plan nodes into PlannedStmt" 2023-05-04 12:09:59 +02:00
po meson: add install-{quiet, world} targets 2023-03-23 21:20:18 -07:00
port Update copyright for 2023 2023-01-02 15:00:37 -05:00
postmaster Fix wal_writer_flush_after initializer value. 2023-05-15 11:19:54 +12:00
regex Avoid character classification in regex escape parsing. 2023-04-21 08:19:41 -07:00
replication Fix misbehavior of EvalPlanQual checks with multiple result relations. 2023-05-19 14:26:40 -04:00
rewrite Fix various typos 2023-04-18 13:23:23 +12:00
snowball Update copyright for 2023 2023-01-02 15:00:37 -05:00
statistics Add SysCacheGetAttrNotNull for guaranteed not-null attrs 2023-03-25 22:49:33 +01:00
storage Remove stray mid-sentence tabs in comments 2023-05-19 16:13:16 +02:00
tcop Handle logical slot conflicts on standby 2023-04-08 00:05:44 -07:00
tsearch Remove stray mid-sentence tabs in comments 2023-05-19 16:13:16 +02:00
utils Allocate hash join files in a separate memory context 2023-05-19 17:17:58 +02:00
.gitignore
Makefile Redesign archive modules 2023-02-17 14:26:42 +09:00
common.mk Blind attempt to fix LLVM dependency in the backend 2022-09-15 10:53:48 +07:00
meson.build meson: Prevent installation of test files during main install 2023-03-03 07:45:52 +01:00
nls.mk Add missing gettext triggers 2023-05-10 13:51:51 +02:00