git.iko.soy/typeable/postgresql-simple
on master help sign in
Updates 2019-09-19
5e05f32Oleg Grenrus
.travis.yml+1−1
@@ -4,7 +4,7 @@
4#
4#
5# For more information, see https://github.com/haskell-CI/haskell-ci
5# For more information, see https://github.com/haskell-CI/haskell-ci
6#
6#
7−# version: 0.5.20190908
7+# version: 0.5.20190916
8#
8#
9language: c
9language: c
10dist: xenial
10dist: xenial
CONTRIBUTING.mdnew file+12
@@ -0,0 +1,12 @@
1+Patches welcome!
2+
3+- If you are only going to bump bounds:
4+ - If it's really **only bounds**, please simply open an issue (so you'll have a URL to refer to). I have a semi-automated process to make revisions, pull requests only disturb it.
5+ - If patch includes **source code change** (i.e. I'll need to make a release), and it's a patch to support **newer base/GHC version**:
6+ - Amend `tested-with` to include that GHC
7+ - Regenerate `.travis.yml` with `haskell-ci regenerate` (get the latest from [GitHub haskell-ci/haskell-ci](https://github.com/haskell-ci/haskell-ci))
8+
9+- Don't edit `CHANGELOG.md`, rather include a copyable entry in your pull request description. I often process pull requests in bulk, and everyone editing the `CHANGELOG.md` causes unnecessary conflicts.
10+
11+- I use [`stylish-haskell`](https://github.com/jaspervdj/stylish-haskell) to format imports. I encourage you to use it too, when contributing.
12+- General code style is 4 spaces, just look around how it looks, it's not so strict.
postgresql-simple.cabal+135−139
@@ -1,21 +1,22 @@
1−Cabal-version: 1.12
1+cabal-version: 1.12
2−Name: postgresql-simple
2+name: postgresql-simple
3−Version: 0.6.2
3+version: 0.6.2
4−x-revision: 2
4+x-revision: 2
5−
6−Synopsis: Mid-Level PostgreSQL client library
5+synopsis: Mid-Level PostgreSQL client library
7−Description:
6+description:
8− Mid-Level PostgreSQL client library, forked from mysql-simple.
7+ Mid-Level PostgreSQL client library, forked from mysql-simple.
9−License: BSD3
8+
9+license: BSD3
10−License-file: LICENSE
10+license-file: LICENSE
11−Author: Bryan O'Sullivan, Leon P Smith
11+author: Bryan O'Sullivan, Leon P Smith
12−Maintainer: Oleg Grenrus <oleg.grenrus@iki.fi>
12+maintainer: Oleg Grenrus <oleg.grenrus@iki.fi>
13+copyright:
13−Copyright: (c) 2011 MailRank, Inc.
14+ (c) 2011 MailRank, Inc.
14− (c) 2011-2018 Leon P Smith
15+ (c) 2011-2018 Leon P Smith
15− (c) 2018-2019 Oleg Grenrus
16+ (c) 2018-2019 Oleg Grenrus
17+
16−Category: Database
18+category: Database
17−Build-type: Simple
19+build-type: Simple
18−
19extra-source-files:
20extra-source-files:
20 CONTRIBUTORS
21 CONTRIBUTORS
21 CHANGES.md
22 CHANGES.md
@@ -23,97 +24,95 @@ extra-source-files:
23 test/results/unique-constraint-violation.expected
24 test/results/unique-constraint-violation.expected
24
25
25tested-with:
26tested-with:
26− GHC == 7.6.3
27+ GHC ==7.6.3
27− || == 7.8.4
28+ || ==7.8.4
28− || == 7.10.3
29+ || ==7.10.3
29− || == 8.0.2
30+ || ==8.0.2
30− || == 8.2.2
31+ || ==8.2.2
31− || == 8.4.4
32+ || ==8.4.4
32− || == 8.6.5
33+ || ==8.6.5
33− || == 8.8.1
34+ || ==8.8.1
34−
35+
35−Library
36+library
36− default-language: Haskell2010
37+ default-language: Haskell2010
37− hs-source-dirs: src
38+ hs-source-dirs: src
38− Exposed-modules:
39+ exposed-modules:
39− Database.PostgreSQL.Simple
40+ Database.PostgreSQL.Simple
40− Database.PostgreSQL.Simple.Arrays
41+ Database.PostgreSQL.Simple.Arrays
41− Database.PostgreSQL.Simple.Copy
42+ Database.PostgreSQL.Simple.Copy
42− Database.PostgreSQL.Simple.Cursor
43+ Database.PostgreSQL.Simple.Cursor
44+ Database.PostgreSQL.Simple.Errors
43− Database.PostgreSQL.Simple.FromField
45+ Database.PostgreSQL.Simple.FromField
44− Database.PostgreSQL.Simple.FromRow
46+ Database.PostgreSQL.Simple.FromRow
47+ Database.PostgreSQL.Simple.HStore
48+ Database.PostgreSQL.Simple.HStore.Internal
49+ Database.PostgreSQL.Simple.Internal
45− Database.PostgreSQL.Simple.LargeObjects
50+ Database.PostgreSQL.Simple.LargeObjects
46− Database.PostgreSQL.Simple.HStore
47− Database.PostgreSQL.Simple.HStore.Internal
48− Database.PostgreSQL.Simple.Notification
51+ Database.PostgreSQL.Simple.Notification
49− Database.PostgreSQL.Simple.Ok
52+ Database.PostgreSQL.Simple.Ok
50− Database.PostgreSQL.Simple.Range
53+ Database.PostgreSQL.Simple.Range
51− Database.PostgreSQL.Simple.SqlQQ
54+ Database.PostgreSQL.Simple.SqlQQ
52− Database.PostgreSQL.Simple.Time
55+ Database.PostgreSQL.Simple.Time
53− Database.PostgreSQL.Simple.Time.Internal
56+ Database.PostgreSQL.Simple.Time.Internal
54− Database.PostgreSQL.Simple.ToField
57+ Database.PostgreSQL.Simple.ToField
55− Database.PostgreSQL.Simple.ToRow
58+ Database.PostgreSQL.Simple.ToRow
56− Database.PostgreSQL.Simple.Transaction
59+ Database.PostgreSQL.Simple.Transaction
57− Database.PostgreSQL.Simple.TypeInfo
60+ Database.PostgreSQL.Simple.TypeInfo
58− Database.PostgreSQL.Simple.TypeInfo.Macro
61+ Database.PostgreSQL.Simple.TypeInfo.Macro
59− Database.PostgreSQL.Simple.TypeInfo.Static
62+ Database.PostgreSQL.Simple.TypeInfo.Static
60− Database.PostgreSQL.Simple.Types
63+ Database.PostgreSQL.Simple.Types
61− Database.PostgreSQL.Simple.Errors
62− Database.PostgreSQL.Simple.Vector
64+ Database.PostgreSQL.Simple.Vector
63− Database.PostgreSQL.Simple.Vector.Unboxed
65+ Database.PostgreSQL.Simple.Vector.Unboxed
64−
66+
65−-- Other-modules:
67+ -- Other-modules:
66− Database.PostgreSQL.Simple.Internal
67−
68− Other-modules:
68+ other-modules:
69− Database.PostgreSQL.Simple.Compat
69+ Database.PostgreSQL.Simple.Compat
70− Database.PostgreSQL.Simple.HStore.Implementation
70+ Database.PostgreSQL.Simple.HStore.Implementation
71− Database.PostgreSQL.Simple.Internal.PQResultUtils
71+ Database.PostgreSQL.Simple.Internal.PQResultUtils
72− Database.PostgreSQL.Simple.Time.Implementation
72+ Database.PostgreSQL.Simple.Time.Implementation
73− Database.PostgreSQL.Simple.Time.Internal.Parser
73+ Database.PostgreSQL.Simple.Time.Internal.Parser
74− Database.PostgreSQL.Simple.Time.Internal.Printer
74+ Database.PostgreSQL.Simple.Time.Internal.Printer
75− Database.PostgreSQL.Simple.TypeInfo.Types
75+ Database.PostgreSQL.Simple.TypeInfo.Types
76
76
77 -- GHC bundled libs
77 -- GHC bundled libs
78− Build-depends:
78+ build-depends:
79− base >=4.6.0.0 && <4.14
79+ base >=4.6.0.0 && <4.14
80− , bytestring >=0.10.0.0 && <0.11
80+ , bytestring >=0.10.0.0 && <0.11
81− , containers >=0.5.0.0 && <0.7
81+ , containers >=0.5.0.0 && <0.7
82− , time >=1.4.0.1 && <1.10
83− , transformers >=0.3.0.0 && <0.6
84− , template-haskell >=2.8.0.0 && <2.16
82+ , template-haskell >=2.8.0.0 && <2.16
85− , text >=1.2.3.0 && <1.3
83+ , text >=1.2.3.0 && <1.3
84+ , time >=1.4.0.1 && <1.10
85+ , transformers >=0.3.0.0 && <0.6
86
86
87 -- Other dependencies
87 -- Other dependencies
88− Build-depends:
88+ build-depends:
89− aeson >=1.4.1.0 && <1.5
89+ aeson >=1.4.1.0 && <1.5
90− , attoparsec >=0.13.2.2 && <0.14
90+ , attoparsec >=0.13.2.2 && <0.14
91− , bytestring-builder >=0.10.8.1.0 && <0.11
91+ , bytestring-builder >=0.10.8.1.0 && <0.11
92− , case-insensitive >=1.2.0.11 && <1.3
92+ , case-insensitive >=1.2.0.11 && <1.3
93− , hashable >=1.2.7.0 && <1.4
93+ , hashable >=1.2.7.0 && <1.4
94− , Only >=0.1 && <0.1.1
94+ , Only >=0.1 && <0.1.1
95− , postgresql-libpq >=0.9.4.2 && < 0.10
95+ , postgresql-libpq >=0.9.4.2 && <0.10
96+ , scientific >=0.3.6.2 && <0.4
96− , uuid-types >=1.0.3 && <1.1
97+ , uuid-types >=1.0.3 && <1.1
97− , scientific >=0.3.6.2 && <0.4
98− , vector >=0.12.0.1 && <0.13
98+ , vector >=0.12.0.1 && <0.13
99−
99+
100− if !impl(ghc >= 8.0)
100+ if !impl(ghc >=8.0)
101− Build-depends:
101+ build-depends:
102− fail >=4.9.0.0 && <4.10,
102+ fail >=4.9.0.0 && <4.10
103− semigroups >=0.18.5 && <0.20
103+ , semigroups >=0.18.5 && <0.20
104−
104+
105− if !impl(ghc >= 7.6)
105+ if !impl(ghc >=7.6)
106− Build-depends:
107− ghc-prim
106+ build-depends: ghc-prim
108
107
109 default-extensions:
108 default-extensions:
109+ BangPatterns
110 DoAndIfThenElse
110 DoAndIfThenElse
111 OverloadedStrings
111 OverloadedStrings
112− BangPatterns
113− ViewPatterns
114 TypeOperators
112 TypeOperators
113+ ViewPatterns
115
114
116− ghc-options: -Wall -fno-warn-name-shadowing
115+ ghc-options: -Wall -fno-warn-name-shadowing
117
116
118source-repository head
117source-repository head
119 type: git
118 type: git
@@ -125,71 +124,68 @@ source-repository this
125 tag: v0.6
124 tag: v0.6
126
125
127test-suite inspection
126test-suite inspection
128− if !impl(ghc >= 8.0)
127+ if !impl(ghc >=8.0)
129 buildable: False
128 buildable: False
130
129
131 default-language: Haskell2010
130 default-language: Haskell2010
132− type: exitcode-stdio-1.0
131+ type: exitcode-stdio-1.0
133− hs-source-dirs: test
132+ hs-source-dirs: test
134− main-is: Inspection.hs
133+ main-is: Inspection.hs
135 build-depends:
134 build-depends:
136 base
135 base
137 , inspection-testing >=0.4.1.1 && <0.5
136 , inspection-testing >=0.4.1.1 && <0.5
138− , postgresql-simple
139 , postgresql-libpq
137 , postgresql-libpq
138+ , postgresql-simple
140 , tasty
139 , tasty
141 , tasty-hunit
140 , tasty-hunit
142
141
143test-suite test
142test-suite test
144− default-language: Haskell2010
143+ default-language: Haskell2010
145− type: exitcode-stdio-1.0
144+ type: exitcode-stdio-1.0
146−
147− hs-source-dirs: test
145+ hs-source-dirs: test
148− main-is: Main.hs
146+ main-is: Main.hs
149 other-modules:
147 other-modules:
150 Common
148 Common
151 Notify
149 Notify
152 Serializable
150 Serializable
153 Time
151 Time
154
152
155− ghc-options: -Wall -fno-warn-name-shadowing -fno-warn-unused-do-bind
153+ ghc-options: -Wall -fno-warn-name-shadowing -fno-warn-unused-do-bind
156−
157 default-extensions:
154 default-extensions:
158 NamedFieldPuns
155 NamedFieldPuns
159 OverloadedStrings
156 OverloadedStrings
157+ PatternGuards
160 Rank2Types
158 Rank2Types
161 RecordWildCards
159 RecordWildCards
162− PatternGuards
163 ScopedTypeVariables
160 ScopedTypeVariables
164
161
165− build-depends: base
162+ build-depends:
166− , aeson
163+ aeson
164+ , base
167− , base16-bytestring
165+ , base16-bytestring
168− , bytestring
166+ , bytestring
167+ , case-insensitive
169− , containers
168+ , containers
170− , cryptohash-md5 >= 0.11.100.1 && <0.12
169+ , cryptohash-md5 >=0.11.100.1 && <0.12
171− , filepath
170+ , filepath
172− , tasty
173− , tasty-hunit
174− , tasty-golden
175− , HUnit
171+ , HUnit
176− , postgresql-simple
172+ , postgresql-simple
173+ , tasty
174+ , tasty-golden
175+ , tasty-hunit
177− , text
176+ , text
178− , time
177+ , time
179− , vector
178+ , vector
180− , case-insensitive
179+
181−
182− if !impl(ghc >= 7.6)
180+ if !impl(ghc >=7.6)
183− build-depends:
181+ build-depends: ghc-prim
184− ghc-prim
185
182
186benchmark select
183benchmark select
187 default-language: Haskell2010
184 default-language: Haskell2010
188 type: exitcode-stdio-1.0
185 type: exitcode-stdio-1.0
189−
190− hs-source-dirs: bench
186+ hs-source-dirs: bench
191− main-is: Select.hs
187+ main-is: Select.hs
192−
193− build-depends: base
188+ build-depends:
189+ base
194− , postgresql-simple
190+ , postgresql-simple
195− , vector
191+ , vector