-
Implement interval support. #1053
-
- The QuasiQuoter now supports
OnDeleteandOnUpdatecascade options.
- The QuasiQuoter now supports
-
Handle foreign key constraint names over 63 characters. See #996 for details.
-
#1072 Refactored
test/JSONTest.hsto usehspec- added
runConn_to run a db connection and return result - Renamed
dbtorunConnAssertintest/PgInit.hsfor clarity - Ran
test/ArrayAggTest.hs(which was previously written but not being run)
- added
-
- Add proper support for
Word64.
- Add proper support for
- Fix issue with multiple foreign keys on single column. #1010
- Compatibility with latest persistent-template for test suite #1002
- Added support for the
constraint=attribute to the Postgresql backend. #979
- Added question mark operators (
(?.), (?|.), (?&.)) toDatabase.Persist.Postgresql.JSON#863 - Changes to certain types:
PersistValue: addedPersistArraydata constructorFilter: Changed thefilterValue :: Either a [a]tofilterValue :: FilterValue
- Add
openSimpleConnWithVersionfunction. #883
- Added support for SQL isolation levels to via SqlBackend. [#812]
- Fix 832:
repsertManynow matchesmapM_ (uncurry repsert)and is atomic.
Added module Database.Persist.Postgresql.JSON #793
PersistFieldandPersistFieldSqlinstances forData.Aeson.Value- Filter operators
(@>.)and(<@.)to filter on JSON values
- Added a more detailed error message when a
numericcolumn's scale and precision can't be parsed. #781
- Implemented
connPutManySqlto utilize batchedputMany. #770
- Switch from
MonadBaseControltoMonadUnliftIO
- Added new function
migrateEnableExtension, to enable Postgres extensions in migrations.
- Because
textandvarcharare synonyms in Postgresql, don't attempt to migrate between them. #762
- Fix bug where, if a custom column width was set, the field would be migrated every time #742
- Expose new functions:
withPostgresqlPoolWithVersion,withPostgresqlConnWithVersionandcreatePostgresqlPoolModifiedWithVersion.
- Match changes in persistent
- Clean up warnings
- Atomic upsert support for postgreSQL backend
- changes for read/write typeclass split
- Postgresql primary key is Int4, not Int8 #519
- Allow postgresql-simple 0.5
Query pg_catalog instead of information_schema for metadata. This helps with permission issues as reported in issue #501
-
Fix treatment of
NULLs inside arrays. For example, now you can usearray_aggon a nullable column. -
New derived instances for
PostgresConf:Read,DataandTypeable. -
New
mockMigrationfunction. Works likeprintMigrationbut doesn't need a database connection. -
Fix typo on error message of the
FromJSONinstance ofPostgresConf.
- Optimize the
insertManyfunction to insert all rows and retrieve their keys in one SQL query. #407
- Postgresql exceptions #353
Migrations for custom primary keys
Support foreign key references to composite primary keys #389
- Allow timestamp value in database to be serialized (presumes UTC timezone) Yesod #391
- Treat unknown extension types as PersistDbSpecific values #385
- Added a
Showinstance forPostgresConf. createPostgresqlPoolModifiedadded, see relevant mailing list discussion
Documentation typo fix
Added FromJSON instance for PostgresConf.