Skip to content
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

fix(postgres): cast VARCHAR[] columns #16481

Merged
merged 4 commits into from
Sep 11, 2023

Conversation

papandreou
Copy link
Contributor

Pull Request Checklist

  • Have you added new tests to prevent regressions?
  • If a documentation update is necessary, have you opened a PR to the documentation repository?
  • Did you update the typescript typings accordingly (if applicable)?
  • Does the description below contain a link to an existing issue (Closes #[issue]) or a description of the issue you are solving?
  • Does the name of your PR follow our conventions?

Description Of Change

Fix the issue described in #16391. Turns out #15598 introduced the concept of an unambiguous type in the Postgres dialect here, but mistakingly classified STRING arrays as unambigious so that the cast was omitted.

@WikiRik WikiRik added this pull request to the merge queue Sep 11, 2023
Merged via the queue into sequelize:main with commit df30331 Sep 11, 2023
49 checks passed
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.

Regression: operator does not exist: character varying[] = text[] when querying varchar array column by value
2 participants