Fix comments for ChangeVarNodes() and related functions
authorRichard Guo <rguo@postgresql.org>
Wed, 5 Nov 2025 03:29:31 +0000 (12:29 +0900)
committerRichard Guo <rguo@postgresql.org>
Wed, 5 Nov 2025 03:29:31 +0000 (12:29 +0900)
commit59dec6c0b09f717e4ce78d54f578d56ef93bcc53
treec56a337300c154078fdb791e102716c3c5fbefbc
parent2fc31079624e16d6b1a8508958dbf81e8edce057
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
src/backend/optimizer/plan/analyzejoins.c
src/backend/rewrite/rewriteManip.c