hpqtypes-extras 1.16.4.2 → 1.16.4.3
raw patch · 3 files changed
+7/−1 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
CHANGELOG.md view
@@ -1,3 +1,7 @@+# hpqtypes-extras-1.16.4.3 (2023-06-12)+* Synchronize timezone of a session with timezone of a database after changing+ the latter.+ # hpqtypes-extras-1.16.4.2 (2023-05-23) * Make order of tables during schema creation irrelevant.
hpqtypes-extras.cabal view
@@ -1,6 +1,6 @@ cabal-version: 2.2 name: hpqtypes-extras-version: 1.16.4.2+version: 1.16.4.3 synopsis: Extra utilities for hpqtypes library description: The following extras for hpqtypes library: .
src/Database/PostgreSQL/PQTypes/Checks.hs view
@@ -157,6 +157,8 @@ logInfo_ $ "Setting '" <> unRawSQL dbname <> "' database to return timestamps in UTC" runQuery_ $ "ALTER DATABASE" <+> dbname <+> "SET TIMEZONE = 'UTC'"+ -- Setting the database timezone doesn't change the session timezone.+ runSQL_ $ "SET timezone = 'UTC'" -- | Get the names of all user-defined tables that actually exist in -- the DB.