Обсуждение: pgsql: Fix comments for ChangeVarNodes() and related functions

Поиск
Список
Период
Сортировка

pgsql: Fix comments for ChangeVarNodes() and related functions

От
Richard Guo
Дата:
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(-)