pgsql: Improve commentary about ChangeVarNodesWalkExpression().

Started by Tom Lane4 months ago1 messagescomitters
Jump to latest
#1Tom Lane
tgl@sss.pgh.pa.us

Improve commentary about ChangeVarNodesWalkExpression().

IMO the proximate cause of the bug fixed in commit 07b7a964d
was sloppy thinking about what ChangeVarNodesWalkExpression()
is to be used for. Flesh out its header comment to try to
improve that situation.

Author: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: /messages/by-id/1607553.1774017006@sss.pgh.pa.us
Backpatch-through: 18

Branch
------
REL_18_STABLE

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

Modified Files
--------------
src/backend/rewrite/rewriteManip.c | 15 +++++++++++----
1 file changed, 11 insertions(+), 4 deletions(-)