Skip to content

Commit

Permalink
fix: remove unneeded lower(...) from schema cache query
Browse files Browse the repository at this point in the history
  • Loading branch information
taimoorzaeem committed Apr 10, 2024
1 parent 5880e62 commit 4d7c4ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PostgREST/SchemaCache.hs
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@ funcsSqlQuery pgVer = [q|
SELECT
array_agg(row(
substr(setting, 1, strpos(setting, '=') - 1),
lower(substr(setting, strpos(setting, '=') + 1))
substr(setting, strpos(setting, '=') + 1)
)) as kvs
FROM unnest(proconfig) setting
WHERE setting not LIKE 'default_transaction_isolation%'
Expand Down

0 comments on commit 4d7c4ac

Please sign in to comment.