Skip to content

Conversation

@isaacparker0
Copy link

Fix a regression introduced in v0.59.0 by #1927:

CREATE TABLE t (c text DEFAULT (foo())::text);

fails to parse with

ParserError("Expected: ',' or ')' after column definition, found: ::")

To fix, continue parsing infix operators after the parenthesized prefix in parse_column_option_expr.

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

Successfully merging this pull request may close these issues.

1 participant