persistent-postgresql 2.6 → 2.6.1
raw patch · 3 files changed
+11/−5 lines, 3 filesdep ~persistent
Dependency ranges changed: persistent
Files
- ChangeLog.md +5/−0
- Database/Persist/Postgresql.hs +4/−3
- persistent-postgresql.cabal +2/−2
ChangeLog.md view
@@ -1,3 +1,8 @@+## 2.6.1++* Match changes in persistent+* Clean up warnings+ ## 2.6 * Atomic upsert support for postgreSQL backend
Database/Persist/Postgresql.hs view
@@ -31,7 +31,6 @@ import Data.Fixed (Pico) import qualified Database.PostgreSQL.Simple as PG-import qualified Database.PostgreSQL.Simple.TypeInfo as PG import qualified Database.PostgreSQL.Simple.TypeInfo.Static as PS import qualified Database.PostgreSQL.Simple.Internal as PG import qualified Database.PostgreSQL.Simple.ToField as PGTF@@ -91,7 +90,7 @@ -- | PostgresServerVersionError exception. This is thrown when persistent -- is unable to find the version of the postgreSQL server.-data PostgresServerVersionError = PostgresServerVersionError String deriving Typeable+data PostgresServerVersionError = PostgresServerVersionError String deriving Data.Typeable.Typeable instance Show PostgresServerVersionError where show (PostgresServerVersionError uniqueMsg) =@@ -201,6 +200,7 @@ , connRDBMS = "postgresql" , connLimitOffset = decorateSQLWithLimitOffset "LIMIT ALL" , connLogFunc = logFunc+ , connMaxParams = Nothing } prepare' :: PG.Connection -> Text -> IO Statement@@ -1111,7 +1111,8 @@ connNoLimit = undefined, connRDBMS = undefined, connLimitOffset = undefined,- connLogFunc = undefined}+ connLogFunc = undefined,+ connMaxParams = Nothing} result = runReaderT $ runWriterT $ runWriterT mig resp <- result sqlbackend mapM_ T.putStrLn $ map snd $ snd resp
persistent-postgresql.cabal view
@@ -1,5 +1,5 @@ name: persistent-postgresql-version: 2.6+version: 2.6.1 license: MIT license-file: LICENSE author: Felipe Lessa, Michael Snoyman <michael@snoyman.com>@@ -19,7 +19,7 @@ , transformers >= 0.2.1 , postgresql-simple >= 0.4.0 && < 0.6 , postgresql-libpq >= 0.6.1 && < 0.10- , persistent >= 2.6 && < 3+ , persistent >= 2.6.1 && < 3 , containers >= 0.2 , bytestring >= 0.9 , text >= 0.7