pgsql: Handle PlaceHolderVar case in replace_varno_walker

From: Alexander Korotkov <akorotkov(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Handle PlaceHolderVar case in replace_varno_walker
Date: 2023-12-24 23:33:56
Message-ID: E1rHXym-00Bl70-7m@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Handle PlaceHolderVar case in replace_varno_walker

This commit also retires sje_walker. This increases the generalty of replacing
varno in the parse tree and simplifies the code.

Discussion: https://postgr.es/m/18187-831da249cbd2ff8e%40postgresql.org
Author: Richard Guo
Reviewed-by: Andrei Lepikhov

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/8a8ed916f73f4f16e8eb3e0e30ac1201a7642fda

Modified Files
--------------
src/backend/optimizer/plan/analyzejoins.c | 34 +++++++++++--------------------
1 file changed, 12 insertions(+), 22 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2023-12-25 04:36:37 pgsql: Fix erroneous -Werror=missing-braces on old GCC.
Previous Message Alexander Korotkov 2023-12-24 23:13:11 pgsql: Enhance checkpointer restartpoint statistics