You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Parsing SELECT * FROM t AS u produces a RangeVar for "t" with an Alias for "u". The type definition for Alias says colnames is required (although the comment says it is optional):
Parsing
SELECT * FROM t AS u
produces a RangeVar for "t" with an Alias for "u". The type definition for Alias sayscolnames
is required (although the comment says it is optional):pg-parser/src/lib/ast.ts
Lines 4964 to 4969 in c613630
The actual parse produces an Alias without
colnames
:I think the type should be updated as follows:
Parse
SELECT * FROM t AS u
with @pg-nano/parserThe text was updated successfully, but these errors were encountered: