git.iko.soy/typeable/postgresql-simple
on master help sign in
Merge pull request #31 from phadej/updates-2019-09-19

Updates 2019-09-19

commit46b19b35d82679638cb3a2e2bacd413a4f62285d authorOleg Grenrus <oleg.grenrus@iki.fi> dateFri 20 Sep 2019, 12:59 (7 years ago) parent15761d15e05f32
3 files changed+148−140
.travis.yml+1−1 CONTRIBUTING.md+12 postgresql-simple.cabal+135−139
.travis.yml+1−1
@@ -4,7 +4,7 @@
44#
55# For more information, see https://github.com/haskell-CI/haskell-ci
66#
7−# version: 0.5.20190908
7+# version: 0.5.20190916
88#
99language: c
1010dist: 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
2−Name: postgresql-simple
3−Version: 0.6.2
4−x-revision: 2
5−
6−Synopsis: Mid-Level PostgreSQL client library
7−Description:
8− Mid-Level PostgreSQL client library, forked from mysql-simple.
9−License: BSD3
10−License-file: LICENSE
11−Author: Bryan O'Sullivan, Leon P Smith
12−Maintainer: Oleg Grenrus <oleg.grenrus@iki.fi>
13−Copyright: (c) 2011 MailRank, Inc.
14− (c) 2011-2018 Leon P Smith
15− (c) 2018-2019 Oleg Grenrus
16−Category: Database
17−Build-type: Simple
18−
1+cabal-version: 1.12
2+name: postgresql-simple
3+version: 0.6.2
4+x-revision: 2
5+synopsis: Mid-Level PostgreSQL client library
6+description:
7+ Mid-Level PostgreSQL client library, forked from mysql-simple.
8+
9+license: BSD3
10+license-file: LICENSE
11+author: Bryan O'Sullivan, Leon P Smith
12+maintainer: Oleg Grenrus <oleg.grenrus@iki.fi>
13+copyright:
14+ (c) 2011 MailRank, Inc.
15+ (c) 2011-2018 Leon P Smith
16+ (c) 2018-2019 Oleg Grenrus
17+
18+category: Database
19+build-type: Simple
1920extra-source-files:
2021 CONTRIBUTORS
2122 CHANGES.md
@@ -23,97 +24,95 @@ extra-source-files:
2324 test/results/unique-constraint-violation.expected
2425
2526tested-with:
26− GHC == 7.6.3
27− || == 7.8.4
28− || == 7.10.3
29− || == 8.0.2
30− || == 8.2.2
31− || == 8.4.4
32− || == 8.6.5
33− || == 8.8.1
34−
35−Library
36− default-language: Haskell2010
37− hs-source-dirs: src
38− Exposed-modules:
39− Database.PostgreSQL.Simple
40− Database.PostgreSQL.Simple.Arrays
41− Database.PostgreSQL.Simple.Copy
42− Database.PostgreSQL.Simple.Cursor
43− Database.PostgreSQL.Simple.FromField
44− Database.PostgreSQL.Simple.FromRow
45− Database.PostgreSQL.Simple.LargeObjects
46− Database.PostgreSQL.Simple.HStore
47− Database.PostgreSQL.Simple.HStore.Internal
48− Database.PostgreSQL.Simple.Notification
49− Database.PostgreSQL.Simple.Ok
50− Database.PostgreSQL.Simple.Range
51− Database.PostgreSQL.Simple.SqlQQ
52− Database.PostgreSQL.Simple.Time
53− Database.PostgreSQL.Simple.Time.Internal
54− Database.PostgreSQL.Simple.ToField
55− Database.PostgreSQL.Simple.ToRow
56− Database.PostgreSQL.Simple.Transaction
57− Database.PostgreSQL.Simple.TypeInfo
58− Database.PostgreSQL.Simple.TypeInfo.Macro
59− Database.PostgreSQL.Simple.TypeInfo.Static
60− Database.PostgreSQL.Simple.Types
61− Database.PostgreSQL.Simple.Errors
62− Database.PostgreSQL.Simple.Vector
63− Database.PostgreSQL.Simple.Vector.Unboxed
64−
65−-- Other-modules:
66− Database.PostgreSQL.Simple.Internal
67−
68− Other-modules:
69− Database.PostgreSQL.Simple.Compat
70− Database.PostgreSQL.Simple.HStore.Implementation
71− Database.PostgreSQL.Simple.Internal.PQResultUtils
72− Database.PostgreSQL.Simple.Time.Implementation
73− Database.PostgreSQL.Simple.Time.Internal.Parser
74− Database.PostgreSQL.Simple.Time.Internal.Printer
75− Database.PostgreSQL.Simple.TypeInfo.Types
27+ GHC ==7.6.3
28+ || ==7.8.4
29+ || ==7.10.3
30+ || ==8.0.2
31+ || ==8.2.2
32+ || ==8.4.4
33+ || ==8.6.5
34+ || ==8.8.1
35+
36+library
37+ default-language: Haskell2010
38+ hs-source-dirs: src
39+ exposed-modules:
40+ Database.PostgreSQL.Simple
41+ Database.PostgreSQL.Simple.Arrays
42+ Database.PostgreSQL.Simple.Copy
43+ Database.PostgreSQL.Simple.Cursor
44+ Database.PostgreSQL.Simple.Errors
45+ Database.PostgreSQL.Simple.FromField
46+ Database.PostgreSQL.Simple.FromRow
47+ Database.PostgreSQL.Simple.HStore
48+ Database.PostgreSQL.Simple.HStore.Internal
49+ Database.PostgreSQL.Simple.Internal
50+ Database.PostgreSQL.Simple.LargeObjects
51+ Database.PostgreSQL.Simple.Notification
52+ Database.PostgreSQL.Simple.Ok
53+ Database.PostgreSQL.Simple.Range
54+ Database.PostgreSQL.Simple.SqlQQ
55+ Database.PostgreSQL.Simple.Time
56+ Database.PostgreSQL.Simple.Time.Internal
57+ Database.PostgreSQL.Simple.ToField
58+ Database.PostgreSQL.Simple.ToRow
59+ Database.PostgreSQL.Simple.Transaction
60+ Database.PostgreSQL.Simple.TypeInfo
61+ Database.PostgreSQL.Simple.TypeInfo.Macro
62+ Database.PostgreSQL.Simple.TypeInfo.Static
63+ Database.PostgreSQL.Simple.Types
64+ Database.PostgreSQL.Simple.Vector
65+ Database.PostgreSQL.Simple.Vector.Unboxed
66+
67+ -- Other-modules:
68+ other-modules:
69+ Database.PostgreSQL.Simple.Compat
70+ Database.PostgreSQL.Simple.HStore.Implementation
71+ Database.PostgreSQL.Simple.Internal.PQResultUtils
72+ Database.PostgreSQL.Simple.Time.Implementation
73+ Database.PostgreSQL.Simple.Time.Internal.Parser
74+ Database.PostgreSQL.Simple.Time.Internal.Printer
75+ Database.PostgreSQL.Simple.TypeInfo.Types
7676
7777 -- GHC bundled libs
78− Build-depends:
79− base >=4.6.0.0 && <4.14
80− , bytestring >=0.10.0.0 && <0.11
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
85− , text >=1.2.3.0 && <1.3
78+ build-depends:
79+ base >=4.6.0.0 && <4.14
80+ , bytestring >=0.10.0.0 && <0.11
81+ , containers >=0.5.0.0 && <0.7
82+ , template-haskell >=2.8.0.0 && <2.16
83+ , text >=1.2.3.0 && <1.3
84+ , time >=1.4.0.1 && <1.10
85+ , transformers >=0.3.0.0 && <0.6
8686
8787 -- Other dependencies
88− Build-depends:
89− aeson >=1.4.1.0 && <1.5
90− , attoparsec >=0.13.2.2 && <0.14
91− , bytestring-builder >=0.10.8.1.0 && <0.11
92− , case-insensitive >=1.2.0.11 && <1.3
93− , hashable >=1.2.7.0 && <1.4
94− , Only >=0.1 && <0.1.1
95− , postgresql-libpq >=0.9.4.2 && < 0.10
96− , uuid-types >=1.0.3 && <1.1
97− , scientific >=0.3.6.2 && <0.4
98− , vector >=0.12.0.1 && <0.13
99−
100− if !impl(ghc >= 8.0)
101− Build-depends:
102− fail >=4.9.0.0 && <4.10,
103− semigroups >=0.18.5 && <0.20
104−
105− if !impl(ghc >= 7.6)
106− Build-depends:
107− ghc-prim
88+ build-depends:
89+ aeson >=1.4.1.0 && <1.5
90+ , attoparsec >=0.13.2.2 && <0.14
91+ , bytestring-builder >=0.10.8.1.0 && <0.11
92+ , case-insensitive >=1.2.0.11 && <1.3
93+ , hashable >=1.2.7.0 && <1.4
94+ , Only >=0.1 && <0.1.1
95+ , postgresql-libpq >=0.9.4.2 && <0.10
96+ , scientific >=0.3.6.2 && <0.4
97+ , uuid-types >=1.0.3 && <1.1
98+ , vector >=0.12.0.1 && <0.13
99+
100+ if !impl(ghc >=8.0)
101+ build-depends:
102+ fail >=4.9.0.0 && <4.10
103+ , semigroups >=0.18.5 && <0.20
104+
105+ if !impl(ghc >=7.6)
106+ build-depends: ghc-prim
108107
109108 default-extensions:
109+ BangPatterns
110110 DoAndIfThenElse
111111 OverloadedStrings
112− BangPatterns
113− ViewPatterns
114112 TypeOperators
113+ ViewPatterns
115114
116− ghc-options: -Wall -fno-warn-name-shadowing
115+ ghc-options: -Wall -fno-warn-name-shadowing
117116
118117source-repository head
119118 type: git
@@ -125,71 +124,68 @@ source-repository this
125124 tag: v0.6
126125
127126test-suite inspection
128− if !impl(ghc >= 8.0)
127+ if !impl(ghc >=8.0)
129128 buildable: False
130129
131130 default-language: Haskell2010
132− type: exitcode-stdio-1.0
133− hs-source-dirs: test
134− main-is: Inspection.hs
131+ type: exitcode-stdio-1.0
132+ hs-source-dirs: test
133+ main-is: Inspection.hs
135134 build-depends:
136135 base
137136 , inspection-testing >=0.4.1.1 && <0.5
138− , postgresql-simple
139137 , postgresql-libpq
138+ , postgresql-simple
140139 , tasty
141140 , tasty-hunit
142141
143142test-suite test
144− default-language: Haskell2010
145− type: exitcode-stdio-1.0
146−
147− hs-source-dirs: test
148− main-is: Main.hs
143+ default-language: Haskell2010
144+ type: exitcode-stdio-1.0
145+ hs-source-dirs: test
146+ main-is: Main.hs
149147 other-modules:
150148 Common
151149 Notify
152150 Serializable
153151 Time
154152
155− ghc-options: -Wall -fno-warn-name-shadowing -fno-warn-unused-do-bind
156−
153+ ghc-options: -Wall -fno-warn-name-shadowing -fno-warn-unused-do-bind
157154 default-extensions:
158155 NamedFieldPuns
159156 OverloadedStrings
157+ PatternGuards
160158 Rank2Types
161159 RecordWildCards
162− PatternGuards
163160 ScopedTypeVariables
164161
165− build-depends: base
166− , aeson
167− , base16-bytestring
168− , bytestring
169− , containers
170− , cryptohash-md5 >= 0.11.100.1 && <0.12
171− , filepath
172− , tasty
173− , tasty-hunit
174− , tasty-golden
175− , HUnit
176− , postgresql-simple
177− , text
178− , time
179− , vector
180− , case-insensitive
181−
182− if !impl(ghc >= 7.6)
183− build-depends:
184− ghc-prim
162+ build-depends:
163+ aeson
164+ , base
165+ , base16-bytestring
166+ , bytestring
167+ , case-insensitive
168+ , containers
169+ , cryptohash-md5 >=0.11.100.1 && <0.12
170+ , filepath
171+ , HUnit
172+ , postgresql-simple
173+ , tasty
174+ , tasty-golden
175+ , tasty-hunit
176+ , text
177+ , time
178+ , vector
179+
180+ if !impl(ghc >=7.6)
181+ build-depends: ghc-prim
185182
186183benchmark select
187184 default-language: Haskell2010
188185 type: exitcode-stdio-1.0
189−
190− hs-source-dirs: bench
191− main-is: Select.hs
192−
193− build-depends: base
194− , postgresql-simple
195− , vector
186+ hs-source-dirs: bench
187+ main-is: Select.hs
188+ build-depends:
189+ base
190+ , postgresql-simple
191+ , vector