Skip to content

Commit

Permalink
Revert old ColumnSpec and ColumnList, but leave commented
Browse files Browse the repository at this point in the history
  • Loading branch information
Dtenwolde committed Mar 4, 2024
1 parent 71874ff commit a2a282d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions third_party/libpg_query/grammar/statements/pgq.y
Original file line number Diff line number Diff line change
Expand Up @@ -288,11 +288,10 @@ GraphTableStmt:

/*
ColumnSpec:
target_el { $$ = list_make1($1); }
target_el { $$ = list_make2(makeInteger(PG_COLUMNSPEC_EXPR), $1); }
;
ColumnList:
ColumnSpec { $$ = $1; }
ColumnSpec { $$ = list_make1($1); }
|
ColumnList ',' ColumnSpec { $$ = lappend($1, $3); }
;
Expand Down

0 comments on commit a2a282d

Please sign in to comment.