Skip to content

Missing support for INHERITS operation from PostgreSQL #1804

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
LucaCappelletti94 opened this issue Apr 10, 2025 · 1 comment
Closed

Missing support for INHERITS operation from PostgreSQL #1804

LucaCappelletti94 opened this issue Apr 10, 2025 · 1 comment

Comments

@LucaCappelletti94
Copy link
Contributor

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

@LucaCappelletti94
Copy link
Contributor Author

Closing issue as relevant pull request has been merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant