packages feed

hpqtypes-extras 1.16.4.0 → 1.16.4.1

raw patch · 3 files changed

+10/−2 lines, 3 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

CHANGELOG.md view
@@ -1,3 +1,6 @@+# hpqtypes-extras-1.16.4.1 (2023-05-15)+* Relax checks around indexes related to the `REINDEX` operation.+ # hpqtypes-extras-1.16.4.0 (2023-04-20) * Add support for the `UNION ALL` clause via `sqlUnionAll`. 
hpqtypes-extras.cabal view
@@ -1,6 +1,6 @@ cabal-version:       2.2 name:                hpqtypes-extras-version:             1.16.4.0+version:             1.16.4.1 synopsis:            Extra utilities for hpqtypes library description:         The following extras for hpqtypes library:                      .
src/Database/PostgreSQL/PQTypes/Checks.hs view
@@ -542,7 +542,12 @@               ]              (localIndexes, indexes) = (`partition` allIndexes) $ \(_, name) ->-              "local_" `T.isPrefixOf` unRawSQL name+              -- Manually created indexes for ad-hoc improvements.+                 "local_" `T.isPrefixOf` unRawSQL name+              -- Indexes related to the REINDEX operation, see+              -- https://www.postgresql.org/docs/15/sql-reindex.html+              || "_ccnew" `T.isSuffixOf` unRawSQL name+              || "_ccold" `T.isSuffixOf` unRawSQL name          checkForeignKeys :: [ForeignKey] -> [(ForeignKey, RawSQL ())]                          -> ValidationResult