Improve commentary about ChangeVarNodesWalkExpression().
Tom 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: https://postgr.es/m/1607553.1774017006@sss.pgh.pa.us Backpatch-through: 18
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/rewrite/rewriteManip.c | modified | +11 −4 |
Discussion
- BUG #19435: Error: "No relation entry for relid 2" Triggered by Complex Join with Self-Referencing Tables 34 messages · 2026-03-16 → 2026-05-25