Skip to content

Fails when ':' is included in ENUM name #197

Closed
@maxhawkins

Description

@maxhawkins

This enum declaration is valid sql:

CREATE TYPE enum AS ENUM ('a:');

But running it through sqlc produces this error:

error generating code: source error: 22:7: expected ';', found ':' (and 10 more errors)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions