Skip to content

Commit

Permalink
fix: Make views pk and fk schema query compatible with postgres v15
Browse files Browse the repository at this point in the history
  • Loading branch information
yevon authored Aug 17, 2022
1 parent f75e77c commit 506929c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,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,
contype::text as contype,
conname,
conrelid as resorigtbl,
unnest(conkey) as resorigcol
Expand Down

0 comments on commit 506929c

Please sign in to comment.