Skip to content

SQLC fails for psql meta-commands like \restrict #4065

@anshum-heap

Description

@anshum-heap

What do you want to change?

With latest postgresql versions, they have added --restrict-key= and other meta-commands here

When running pg_dump command, it adds a new line \restrict <token> at the top of .sql file, which sqlc fails to parse.

What database engines need to be changed?

PostgreSQL

What programming language backends need to be changed?

Go

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions