Skip to content

Pugsql chokes on normal comments interspersed in the sql file #62

@ou-vlakvark

Description

@ou-vlakvark

pugsql raises the following error if there are any normal comments in the sql code (unless they are between the :name special comment and the actual sql query.
ValueError: Statement must have a name.

Is this the correct behaviour? Would it not be desirable to be able to comment out sections of the sql file or add section comments etc?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions