PCLT-DB 0.1 → 0.1.1
raw patch · 2 files changed
+13/−4 lines, 2 filesdep ~HDBCdep ~HDBC-postgresqldep ~convertiblePVP: major bump suggested
API removals or changes: PVP suggests a major version bump
Dependency ranges changed: HDBC, HDBC-postgresql, convertible
API changes (from Hackage documentation)
- Database.PCLT.UpdatableCatalog: runCatalogUpdatorService :: (HasStaticRawPCLTs a) => (PCLT_CatalogID, PCLT_InnerConfig, a) -> (Connection, DisconnectDBConnWhenFinished_shouldwe) -> (PCLT_Catalog -> CatalogUpdateFromDBErrors -> IO ()) -> Chan MakeIterationAndContinueCycle_shouldwe -> IO (MVar PCLT_Catalog, ThreadId)
+ Database.PCLT.UpdatableCatalog: runCatalogUpdatorService :: HasStaticRawPCLTs a => (PCLT_CatalogID, PCLT_InnerConfig, a) -> (Connection, DisconnectDBConnWhenFinished_shouldwe) -> (PCLT_Catalog -> CatalogUpdateFromDBErrors -> IO ()) -> Chan MakeIterationAndContinueCycle_shouldwe -> IO (MVar PCLT_Catalog, ThreadId)
- Database.ReadableFromDB: parseDBrow :: (ReadableFromDB readable pk) => Connection -> pk -> Map FieldName SqlValue -> IO (Either AddressedReadFromDBError readable)
+ Database.ReadableFromDB: parseDBrow :: ReadableFromDB readable pk => Connection -> pk -> Map FieldName SqlValue -> IO (Either AddressedReadFromDBError readable)
- Database.ReadableFromDB: readFromDB :: (ReadableFromDB readable pk) => Connection -> pk -> IO [Either AddressedReadFromDBError readable]
+ Database.ReadableFromDB: readFromDB :: ReadableFromDB readable pk => Connection -> pk -> IO [Either AddressedReadFromDBError readable]
- Database.ReadableFromDB: readOneFromDB :: (ReadableFromDB readable pk) => Connection -> pk -> NoMoreThanOne_shoulditbe -> IO (Either AddressedReadFromDBError readable)
+ Database.ReadableFromDB: readOneFromDB :: ReadableFromDB readable pk => Connection -> pk -> NoMoreThanOne_shoulditbe -> IO (Either AddressedReadFromDBError readable)
- Database.ReadableFromDB: takeFieldValue :: (Convertible SqlValue a) => FieldName -> Map FieldName SqlValue -> a
+ Database.ReadableFromDB: takeFieldValue :: Convertible SqlValue a => FieldName -> Map FieldName SqlValue -> a
- Database.ReadableFromDB: takeUFieldValue :: (Convertible SqlValue a) => FieldName -> Map FieldName SqlValue -> a
+ Database.ReadableFromDB: takeUFieldValue :: Convertible SqlValue a => FieldName -> Map FieldName SqlValue -> a
Files
- NEWS +6/−0
- PCLT-DB.cabal +7/−4
+ NEWS view
@@ -0,0 +1,6 @@+Changes from 0.1 to 0.1.1 +--------------------------- +* When building on GHC 6.10.4., there seems to be problems with + compatibility with convertible < 1.0.6, HDBC 2.1.0 + So I decided to set dependencies constraints (in cabal file) + on versions of convertible, HDBC, HDBC-postgresql
PCLT-DB.cabal view
@@ -18,12 +18,14 @@ . _________ .- By the base package (PCLT) the templates are provided to be stored + By the base package (PCLT <http://hackage.haskell.org/package/PCLT>) + the templates are provided to be stored statically in module declarations using 'Text.PCLT.HasStaticRawPCLTs.HasStaticRawPCLTs' class instaniations. . The PCST-DB package adds a possibility to store templates in DB - (under PostgreSQL v8.4. (not less)). + (under PostgreSQL v8.4. (not less)). ER diagram: + <http://i1.fastpic.ru/big/2009/1212/f0/5b9845716e5a6984e9bc9d62a61928f0.png> . The following units are storable in DB: .@@ -58,7 +60,7 @@ . But this limitation removal is planned as a first ToDo in the next version of PCLT-DB.-Version: 0.1+Version: 0.1.1 Copyright: Copyright (c) 2009 Andrejs Sisojevs License: LGPL License-File: COPYRIGHT@@ -74,6 +76,7 @@ Extra-Source-Files: COPYRIGHT COPYING+ NEWS doinst.sh db/db_inst.sh db/data.sql@@ -92,7 +95,7 @@ Library Build-Depends:- base >= 4 && < 5, bytestring, containers, convertible, mtl, HDBC, HDBC-postgresql, PCLT+ base >= 4 && < 5, bytestring, containers, convertible >= 1.0.6, mtl, HDBC >= 2.2.1, HDBC-postgresql >= 2.2.0.0, PCLT Exposed-Modules: Database.ReadableFromDB Database.ReadableFromDB__