Fix comments for ChangeVarNodes() and related functions
authorRichard Guo <[email protected]>
Wed, 5 Nov 2025 03:29:31 +0000 (12:29 +0900)
committerRichard Guo <[email protected]>
Wed, 5 Nov 2025 03:31:33 +0000 (12:31 +0900)
commitb166a715262e84b135f70d18020c32329038dba9
tree86c2d4e44e3165d2b3307b255d1a2a62c8f775bb
parent19e391e38a5efe1e798a0e7e3c87b3ba2208b110
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 <[email protected]>
Discussion: https://postgr.es/m/CAMbWs480j16HC1JtjKCgj5WshivT8ZJYkOfTyZAM0POjFomJkg@mail.gmail.com
Backpatch-through: 18
src/backend/optimizer/plan/analyzejoins.c
src/backend/rewrite/rewriteManip.c