Skip to content

Missing support for INHERITS operation from PostgreSQL #1804

Closed
@LucaCappelletti94

Description

@LucaCappelletti94

Hi all,

It looks like sqlparser does not currently support the INHERITS operation.

CREATE TABLE child_table (child_column INT) INHERITS (parent_table);

as I get the following error:

CREATE TABLE child_table (child_column INT) INHERITS (parent_table);: ParserError("Expected: end of statement, found: INHERITS")

I will try to add support for this operation in a PR when I get the time, unless you tell me that for some reason you do not intend to support this syntax.

Best,
Luca

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