diff options
author | Peter Eisentraut <peter@eisentraut.org> | 2024-03-22 07:12:28 +0100 |
---|---|---|
committer | Peter Eisentraut <peter@eisentraut.org> | 2024-03-22 07:21:06 +0100 |
commit | 1e1eb12c25c3c38d7ff70809f958e75598ec14e2 (patch) | |
tree | 683b01c49ff990e4df3811c6196bcad8d1229ff2 | |
parent | 83d8065b1f7477f4fb49e53ece0e6e0e516993fe (diff) | |
download | postgresql-1e1eb12c25c3c38d7ff70809f958e75598ec14e2.tar.gz postgresql-1e1eb12c25c3c38d7ff70809f958e75598ec14e2.zip |
Improve comment
Clarify that RangeTblEntry.lateral reflects whether LATERAL was
specified in the statement (as opposed to whether lateralness is
implicit). Also, the list of applicable entry types was incomplete.
Reviewed-by: Andrew Dunstan <andrew@dunslane.net>
Discussion: https://www.postgresql.org/message-id/flat/4b27fc50-8cd6-46f5-ab20-88dbaadca645@eisentraut.org
-rw-r--r-- | src/include/nodes/parsenodes.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/nodes/parsenodes.h b/src/include/nodes/parsenodes.h index 9b39aaa9aac..13168d10365 100644 --- a/src/include/nodes/parsenodes.h +++ b/src/include/nodes/parsenodes.h @@ -1197,7 +1197,7 @@ typedef struct RangeTblEntry */ Alias *alias; /* user-written alias clause, if any */ Alias *eref; /* expanded reference names */ - bool lateral; /* subquery, function, or values is LATERAL? */ + bool lateral; /* was LATERAL specified? */ bool inFromCl; /* present in FROM clause? */ List *securityQuals; /* security barrier quals to apply, if any */ } RangeTblEntry; |