diff options
author | Alexander Korotkov <akorotkov@postgresql.org> | 2023-11-10 22:46:46 +0200 |
---|---|---|
committer | Alexander Korotkov <akorotkov@postgresql.org> | 2023-11-10 22:46:46 +0200 |
commit | b7f315c9d7d839dda847b10d170ffec7c3f4dbba (patch) | |
tree | b71e44b4d33e9f273d8fa5187a57d6c7d20eecbd /src/backend/utils/adt/arrayutils.c | |
parent | eb81e8e7902f63c4d292638edc8b7e92b766a692 (diff) | |
download | postgresql-b7f315c9d7d839dda847b10d170ffec7c3f4dbba.tar.gz postgresql-b7f315c9d7d839dda847b10d170ffec7c3f4dbba.zip |
Fix how SJE checks against PHVs
It seems that a PHV evaluated/needed at or below the self join should not have
a problem if we remove the self join. But this requires further investigation.
For now, we just do not remove self joins if the rel to be removed is laterally
referenced by PHVs.
Discussion: https://postgr.es/m/CAMbWs4-ns73VF9gi37q61G3dS6Xuos+HtryMaBh37WQn=BsaJw@mail.gmail.com
Author: Richard Guo
Diffstat (limited to 'src/backend/utils/adt/arrayutils.c')
0 files changed, 0 insertions, 0 deletions