Re: [PATCH] Correct RangeTblEntry.join_using_alias comment to reflect field order

Richard Guo <guofenglinux@gmail.com>

From: Richard Guo <guofenglinux@gmail.com>
To: Steve Lau <stevelauc@outlook.com>
Cc: pgsql-hackers@postgresql.org
Date: 2025-09-21T23:55:58Z
Lists: pgsql-hackers
On Sun, Sep 21, 2025 at 11:54 PM Steve Lau <stevelauc@outlook.com> wrote:
> Found a tiny incorrect comment of RangeTblEntry, field "alias" is actually above "join_using_alias", so the code comment could be updated to reflect the current 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

Nice catch.  Will push the patch.

- Richard



Commits

  1. Fix misleading comment in RangeTblEntry