From 285ed64e61efb56e72349dd70018e4ca259c8095 Mon Sep 17 00:00:00 2001
From: Steve Lau <stevelauc@outlook.com>
Date: Sun, 21 Sep 2025 22:22:27 +0800
Subject: [PATCH] Correct RangeTblEntry.join_using_alias comment to reflect
 field order

> 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

Currently, field "alias" is actually above the "join_using_alias" field,
so this comment could be updated.
---
 src/include/nodes/parsenodes.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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);
-- 
2.50.1

