Skip to content

interval '1 month - 1 day' is a valid PG interval but invalid in RW #22018

@stdrc

Description

@stdrc
dev=> select interval '1 month - 1 day';
ERROR:  Failed to run the query

Caused by these errors (recent errors listed first):
  1: Failed to bind expression: INTERVAL '1 month - 1 day'
  2: Bind error: Invalid interval: -

Metadata

Metadata

Assignees

Labels

A-frontendArea: Protocol, parsing, binder.good first issueGood for newcomerstype/bugType: Bug. Only for issues.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions