Skip to content

An error occurs if there is a comment at the end of the insert statement. #88

@tanzaku

Description

@tanzaku
insert
into
	tbl
(
	id
)
select
	id
from
	tbl2
where
	id	=	1 -- comment
  • insert into tbl (id) select id from tbl2 where id = 1 -- comment (Handle comments after select_statement at the end of insert_statement #93)
  • insert into tbl (id) values (1) -- trailing comment
  • insert into tbl (id) (select id from tbl2 where id = 1) -- comment
  • insert into tbl (did, dname) values (1, 'n') on conflict (did) do nothing -- comment
  • insert into tbl (did, name) values (1, 'n') on conflict (did) do update set dname = excluded.dname where did != 10 -- comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions