pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Richard Guo <rguo@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix comments for ChangeVarNodes() and related functions
Date: Wed, 05 Nov 2025 03:32:20 +0000
Message-ID: <E1vGUFw-0055oK-2D@gemulon.postgresql.org> (raw)

Fix comments for ChangeVarNodes() and related functions

The comment for ChangeVarNodes() refers to a parameter named
change_RangeTblRef, which does not exist in the code.

The comment for ChangeVarNodesExtended() contains an extra space,
while the comment for replace_relid_callback() has an awkward line
break and a typo.

This patch fixes these issues and revises some sentences for smoother
wording.

Oversights in commits ab42d643c and fc069a3a6.

Author: Richard Guo <guofenglinux@gmail.com>
Discussion: https://postgr.es/m/CAMbWs480j16HC1JtjKCgj5WshivT8ZJYkOfTyZAM0POjFomJkg@mail.gmail.com
Backpatch-through: 18

Branch
------
REL_18_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/b166a715262e84b135f70d18020c32329038dba9

Modified Files
--------------
src/backend/optimizer/plan/analyzejoins.c | 18 +++++++++---------
src/backend/rewrite/rewriteManip.c        | 19 ++++++++-----------
2 files changed, 17 insertions(+), 20 deletions(-)



view thread (2+ messages)

Message-ID: <E1vGUFw-0055oK-2D@gemulon.postgresql.org>
Permalink:  ../E1vGUFw-0055oK-2D@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1vGUFw-0055oK-2D@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: rguo@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Fix comments for ChangeVarNodes() and related functions
  In-Reply-To: <E1vGUFw-0055oK-2D@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