pgsql: Fix comments for ChangeVarNodes() and related functions - Mailing list pgsql-committers

From Richard Guo
Subject pgsql: Fix comments for ChangeVarNodes() and related functions
Date
Msg-id E1vGUFw-0055oK-2D@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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(-)


pgsql-committers by date:

Previous
From: Richard Guo
Date:
Subject: pgsql: Fix comments for ChangeVarNodes() and related functions
Next
From: Michael Paquier
Date:
Subject: pgsql: Drop unnamed portal immediately after execution to completion