Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion ast/postgresql.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1130,7 +1130,7 @@ export type set_item = { column: ident; value: additive_expr; table?: ident;} |

export type returning_stmt = { type: 'returning'; columns: column_clause | select_stmt; };

export type insert_value_clause = value_clause | select_stmt_nake;
export type insert_value_clause = value_clause | union_stmt_node;

export type insert_partition = ident_name[] | value_item;

Expand Down Expand Up @@ -1795,6 +1795,8 @@ type KW_MACADDR = never;

type KW_MACADDR8 = never;

type KW_BIT = never;

type KW_CURRENT_DATE = never;

type KW_ADD_DATE = never;
Expand Down Expand Up @@ -2074,4 +2076,8 @@ export type record_type = data_type;

export type network_address_type = data_type;



export type bit_type = data_type;

export type custom_types = data_type;
1 change: 1 addition & 0 deletions pegjs/postgresql.pegjs
Original file line number Diff line number Diff line change
Expand Up @@ -4125,6 +4125,7 @@ returning_stmt
insert_value_clause
= value_clause
/ u:union_stmt {
// => union_stmt_node
return u.ast
}

Expand Down