File tree Expand file tree Collapse file tree 4 files changed +23
-4
lines changed
Expand file tree Collapse file tree 4 files changed +23
-4
lines changed Original file line number Diff line number Diff line change 11# Change Log
22
33## [ Unreleased]
4+
5+ ## [ 0.4.0]
46### Added
57- Changelog.
68- Explicit type casts options.
2830### Added
2931- Initial version of the package.
3032
31- [ Unreleased ] : ../../compare/v0.3.0...HEAD
33+ [ Unreleased ] : ../../compare/v0.4.0...HEAD
34+ [ 0.4.0 ] : ../../compare/v0.3.0...v0.4.0
3235[ 0.3.0 ] : ../../compare/v0.2.1...v0.3.0
3336[ 0.2.1 ] : ../../compare/v0.2.0...v0.2.1
3437[ 0.2.0 ] : ../../compare/v0.1.0...v0.2.0
Original file line number Diff line number Diff line change @@ -122,6 +122,22 @@ There are no plans to introduce breaking changes into the current API.
122122 easier to employ this mechanism rather than write a parser from
123123 scratch.
124124
125+ ### pboExplicitCasts
126+ Some sql queries may fail due to ambiguous types. With this option
127+ enabled every expression will be explicitly casted to function
128+ argument types.
129+
130+ ### pboOlderCallSyntax
131+ Since version ` 9.5 ` PostgreSQL supports ` => ` for named notations in
132+ function calls. Older syntax ` := ` is supported for backward
133+ compatibility.
134+
135+ ### pboDebugQueries
136+ When enabled, every generated function will print to ` stdout `
137+ arguments passed to it. Note, this will fail (compile-time) for
138+ types without ` Show ` instances.
139+
140+
125141## Automated generation
126142 It can be tedious to manually maintain consistent function declarations
127143 across the codebase. More convenient way is to automatically generate module
Original file line number Diff line number Diff line change 44} :
55mkDerivation {
66 pname = "postgresql-simple-bind" ;
7- version = "0.3.0 .0" ;
7+ version = "0.4 .0" ;
88 src = ./. ;
99 libraryHaskellDepends = [
1010 attoparsec base bytestring data-default exceptions heredoc
Original file line number Diff line number Diff line change 11name : postgresql-simple-bind
2- version : 0.3.0 .0
2+ version : 0.4 .0
33synopsis : FFI-like bindings for PostgreSQL stored functions
44description : For tutorial see here : https :\/\/github.com\/zohl\/postgresql-simple-bind\/blob\/master\/README.md
55license : BSD3
@@ -88,7 +88,7 @@ test-suite examples
8888 main-is : Main.hs
8989 default-language : Haskell2010
9090
91- ghc-options : -Wall -Wno-redundant-constraints -ddump-splices
91+ ghc-options : -Wall -Wno-redundant-constraints
9292
9393 if flag(build-examples)
9494 build-depends : base >= 4.7 && < 5.0
You can’t perform that action at this time.
0 commit comments