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 bug "UNION types \"char\" and text cannot be matched" with v9.0.1.+++ versions #2413

Merged
merged 3 commits into from
Aug 17, 2022
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
- #2342, Fix inaccurate result count when an inner embed was selected after a normal embed in the query string - @laurenceisla
- #2376, OPTIONS requests no longer start an empty database transaction - @steve-chavez
- #2395, Allow using columns with dollar sign($) without double quoting in filters and `select` - @steve-chavez
- #2410, Fix loop crash error on startup in Postgres 15 beta 2. Log: "UNION types \"char\" and text cannot be matched". - @yevon

### Changed

Expand Down
2 changes: 1 addition & 1 deletion src/PostgREST/DbStructure.hs
Original file line number Diff line number Diff line change
Expand Up @@ -656,7 +656,7 @@ allViewsKeyDependencies =
pks_fks as (
-- pk + fk referencing col
select
contype,
cast(contype as text) contype,
steve-chavez marked this conversation as resolved.
Show resolved Hide resolved
conname,
conrelid as resorigtbl,
unnest(conkey) as resorigcol
Expand Down