pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alexander Korotkov <akorotkov@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Handle PlaceHolderVar case in replace_varno_walker
Date: Sun, 24 Dec 2023 23:33:56 +0000
Message-ID: <E1rHXym-00Bl70-7m@gemulon.postgresql.org> (raw)

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(-)



Message-ID: <E1rHXym-00Bl70-7m@gemulon.postgresql.org>
Permalink:  ../E1rHXym-00Bl70-7m@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1rHXym-00Bl70-7m@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: akorotkov@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Handle PlaceHolderVar case in replace_varno_walker
  In-Reply-To: <E1rHXym-00Bl70-7m@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox