summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Guo <rguo@postgresql.org>2025-09-22 10:04:39 +0900
committerRichard Guo <rguo@postgresql.org>2025-09-22 10:04:39 +0900
commite3a0304eba2813821f3db8ab9d45fc584c23575b (patch)
tree0dc822b08954ac2c0d5f2367d47a7df33988d9c5
parent293a3286d764df15d834fe5ac3bac4dc513817e7 (diff)
Fix misleading comment in RangeTblEntry
The comment describing join_using_alias incorrectly referred to the alias field as being defined "below", when it actually appears earlier in the RangeTblEntry struct. This patch fixes that. Author: Steve Lau <stevelauc@outlook.com> Reviewed-by: Chao Li <li.evan.chao@gmail.com> Discussion: https://postgr.es/m/TYWPR01MB10612B020C33FD08F729415CEB613A@TYWPR01MB10612.jpnprd01.prod.outlook.com
-rw-r--r--src/include/nodes/parsenodes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/nodes/parsenodes.h b/src/include/nodes/parsenodes.h
index 86a236bd58b..4ed14fc5b78 100644
--- a/src/include/nodes/parsenodes.h
+++ b/src/include/nodes/parsenodes.h
@@ -1189,7 +1189,7 @@ typedef struct RangeTblEntry
/*
* join_using_alias is an alias clause attached directly to JOIN/USING. It
- * is different from the alias field (below) in that it does not hide the
+ * is different from the alias field (above) in that it does not hide the
* range variables of the tables being joined.
*/
Alias *join_using_alias pg_node_attr(query_jumble_ignore);