This repository has been archived by the owner on Feb 20, 2023. It is now read-only.
Fixed length VARCHAR isn't enforced #1380
Labels
bug
Something isn't working (correctness). Mark issues with this.
Bug Report
Summary
We don't check whether incoming VARCHAR values adhere to the length limit.
Expected Behavior
Postgres:
Actual Behavior
NoisePage:
Proposed Solution
I suspect this should be resolved in the binder. It has access to the query arguments (or prepared statement arguments) and access to the Catalog to check the schema. We should confirm what stage Postgres enforces this at if possible, and then return the same error code.
The text was updated successfully, but these errors were encountered: