pg 0.18.4-x64-mingw32 → 0.19.0.pre20160817083826-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/ChangeLog +686 -167
- data/History.rdoc +23 -0
- data/README.rdoc +6 -6
- data/Rakefile +10 -12
- data/Rakefile.cross +6 -6
- data/ext/errorcodes.def +16 -0
- data/ext/errorcodes.txt +5 -1
- data/ext/extconf.rb +9 -1
- data/ext/gvl_wrappers.h +4 -0
- data/ext/pg.c +1 -1
- data/ext/pg.h +6 -3
- data/ext/pg_binary_decoder.c +1 -1
- data/ext/pg_binary_encoder.c +8 -8
- data/ext/pg_coder.c +30 -9
- data/ext/pg_connection.c +203 -77
- data/ext/pg_copy_coder.c +34 -4
- data/ext/pg_result.c +2 -2
- data/ext/pg_text_decoder.c +1 -1
- data/ext/pg_text_encoder.c +62 -42
- data/ext/pg_type_map.c +1 -1
- data/ext/pg_type_map_all_strings.c +1 -1
- data/ext/pg_type_map_by_class.c +1 -1
- data/ext/pg_type_map_by_column.c +1 -1
- data/ext/pg_type_map_by_mri_type.c +1 -1
- data/ext/pg_type_map_by_oid.c +1 -1
- data/ext/pg_type_map_in_ruby.c +1 -1
- data/ext/util.c +1 -1
- data/lib/2.0/pg_ext.so +0 -0
- data/lib/2.1/pg_ext.so +0 -0
- data/lib/2.2/pg_ext.so +0 -0
- data/lib/2.3/pg_ext.so +0 -0
- data/lib/libpq.dll +0 -0
- data/lib/pg.rb +3 -3
- data/lib/pg/basic_type_mapping.rb +35 -8
- data/lib/pg/connection.rb +46 -6
- data/lib/pg/result.rb +6 -2
- data/lib/pg/text_decoder.rb +7 -0
- data/lib/pg/text_encoder.rb +8 -0
- data/sample/disk_usage_report.rb +1 -1
- data/sample/pg_statistics.rb +1 -1
- data/sample/replication_monitor.rb +1 -1
- data/spec/helpers.rb +6 -9
- data/spec/pg/basic_type_mapping_spec.rb +54 -0
- data/spec/pg/connection_spec.rb +130 -23
- data/spec/pg/type_map_by_class_spec.rb +1 -1
- data/spec/pg/type_map_by_mri_type_spec.rb +1 -1
- data/spec/pg/type_spec.rb +82 -2
- metadata +33 -35
- metadata.gz.sig +0 -0
- data/lib/x64-mingw32/libpq.dll +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b604e85fd0276d2f1916b75e7dd0bbe3f17e9cb9
|
4
|
+
data.tar.gz: 66d513fa0601a2f2b6da377df12f17bcaad6f95b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e59d445f1d12feb0cafe8233d802d4858ff561d92b0965b0c930b047eb8578af6372738b144e498a56110b25b21fdca108d9b7409cee2d4eab1c32b8d84411f9
|
7
|
+
data.tar.gz: b9ce6a6135aea6517c08a4d106db5fc772fe517d78b4c70fd874c5dc8218c8bd4f0bd21d9438a3aeaa85e4ec9b6826c8c425ab026c26068919cad7d0c7765520
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/ChangeLog
CHANGED
@@ -1,13 +1,403 @@
|
|
1
|
+
2016-08-18 Lars Kanis <lars@greiz-reinsdorf.de>
|
2
|
+
|
3
|
+
* Rakefile:
|
4
|
+
Don't update ext/errorcodes.def with every run of rake gem.
|
5
|
+
|
6
|
+
This fixes the previous commit.
|
7
|
+
[43a48561adde] [tip]
|
8
|
+
|
9
|
+
2016-08-17 Lars Kanis <lars@greiz-reinsdorf.de>
|
10
|
+
|
11
|
+
* .hgignore, History.rdoc, Rakefile, ext/errorcodes.def:
|
12
|
+
Add errorcodes.def to git in order to allow build from git per
|
13
|
+
bundler.
|
14
|
+
[29ca3eed927d]
|
15
|
+
|
16
|
+
* History.rdoc:
|
17
|
+
Update History.rdoc once more.
|
18
|
+
[6874ea8622a1]
|
19
|
+
|
20
|
+
* README.rdoc:
|
21
|
+
Update README regarding to Ruby and PostgreSQL versions.
|
22
|
+
[73930bce99d9]
|
23
|
+
|
24
|
+
* spec/pg/basic_type_mapping_spec.rb:
|
25
|
+
Run JSON test on PostgreSQL-9.4+, only.
|
26
|
+
|
27
|
+
Earlier versions miss the JSONB type.
|
28
|
+
[6b23964f70c3]
|
29
|
+
|
30
|
+
* appveyor.yml:
|
31
|
+
Update Appveyor to use Ruby 2.3 and remove 2.0 and 2.1.
|
32
|
+
[8ff3d0b07cda]
|
33
|
+
|
34
|
+
* .travis.yml:
|
35
|
+
Remove ruby versions before 2.2, because hoe-deveiate isn't
|
36
|
+
compatible with these versions.
|
37
|
+
[73279f9db276]
|
38
|
+
|
39
|
+
* lib/pg/basic_type_mapping.rb, lib/pg/text_decoder.rb,
|
40
|
+
lib/pg/text_encoder.rb, spec/pg/basic_type_mapping_spec.rb:
|
41
|
+
Add JSON coders and add them to BasicTypeMapForResults and
|
42
|
+
BasicTypeMapBasedOnResult
|
43
|
+
|
44
|
+
Fixes bitbucket issue #212 .
|
45
|
+
[b76471234f7a]
|
46
|
+
|
47
|
+
2016-08-14 Lars Kanis <lars@greiz-reinsdorf.de>
|
48
|
+
|
49
|
+
* lib/pg/basic_type_mapping.rb:
|
50
|
+
Improve documentation to PG::BasicTypeMapForQueries
|
51
|
+
[e7181c452c64]
|
52
|
+
|
53
|
+
* History.rdoc:
|
54
|
+
Update History.rdoc
|
55
|
+
[9c3699255853]
|
56
|
+
|
57
|
+
* Merge git master
|
58
|
+
[9b7987626074]
|
59
|
+
|
60
|
+
2016-06-27 Michael Granger <ged@FaerieMUD.org>
|
61
|
+
|
62
|
+
* ext/extconf.rb:
|
63
|
+
Add __EXTENSIONS__ to Solaris/SmartOS for Ruby >= 2.3.x
|
64
|
+
|
65
|
+
Fixes #236.
|
66
|
+
[5979b3cba237]
|
67
|
+
|
68
|
+
2016-04-09 Michael Granger <ged@FaerieMUD.org>
|
69
|
+
|
70
|
+
* .hgignore, Rakefile, pg.gemspec:
|
71
|
+
Deprecate Ruby 1.9, fix license name
|
72
|
+
[fc5828a71f2a]
|
73
|
+
|
74
|
+
* ext/extconf.rb:
|
75
|
+
Add mechanism for trying to build without pg_config
|
76
|
+
[22a3a8ef3244]
|
77
|
+
|
78
|
+
2016-08-13 Lars Kanis <lars@greiz-reinsdorf.de>
|
79
|
+
|
80
|
+
* Rakefile.cross:
|
81
|
+
Update OpenSSL and PostgreSQL for binary Windows gems.
|
82
|
+
[edbd5b8dbb85]
|
83
|
+
|
84
|
+
* History.rdoc:
|
85
|
+
Update History.rdoc
|
86
|
+
[aca7b024ba0c]
|
87
|
+
|
88
|
+
* ext/gvl_wrappers.h, ext/pg_connection.c:
|
89
|
+
Release GVL while calling PQsetClientEncoding()
|
90
|
+
|
91
|
+
PQsetClientEncoding() is also called within PG::Connection.new which
|
92
|
+
could block due to network delay.
|
93
|
+
|
94
|
+
This fixes bitbucket issue #245 .
|
95
|
+
[41f81b72476f]
|
96
|
+
|
97
|
+
2015-12-25 Lars Kanis <lars@greiz-reinsdorf.de>
|
98
|
+
|
99
|
+
* ext/pg.h, ext/pg_binary_encoder.c, ext/pg_coder.c,
|
100
|
+
ext/pg_connection.c, ext/pg_copy_coder.c, ext/pg_text_encoder.c,
|
101
|
+
spec/pg/connection_spec.rb, spec/pg/type_map_by_class_spec.rb,
|
102
|
+
spec/pg/type_map_by_mri_type_spec.rb, spec/pg/type_spec.rb:
|
103
|
+
Respect character encoding of all strings sent to the server.
|
104
|
+
|
105
|
+
Previously all strings sent to the server were sent in their
|
106
|
+
internal binary representation, without respecting the character
|
107
|
+
encoding of strings. Now the encoding of all strings is compared
|
108
|
+
with the current connection encoding and converted if they are
|
109
|
+
different.
|
110
|
+
|
111
|
+
Since coders are independent from any database connection, this adds
|
112
|
+
a second parameter to PG::Coder#encode, that allows to define the
|
113
|
+
destination encoding, which previously was always ASCII_8BIT. This
|
114
|
+
encoding should be set to the connection encoding, in practice.
|
115
|
+
|
116
|
+
This also adds a lot of tests for encoding and decoding data.
|
117
|
+
|
118
|
+
This implements issue #231 : https://bitbucket.org/ged/ruby-
|
119
|
+
pg/issues/231
|
120
|
+
[e61a06f1f5ed]
|
121
|
+
|
122
|
+
2016-03-22 Michael Granger <ged@FaerieMUD.org>
|
123
|
+
|
124
|
+
* Rakefile, pg.gemspec:
|
125
|
+
Remove GPL from the `licenses` of the Hoespec/gemspec (fixes #72)
|
126
|
+
[14d4f1399922]
|
127
|
+
|
128
|
+
2016-01-31 Michael Granger <ged@FaerieMUD.org>
|
129
|
+
|
130
|
+
* Rakefile, pg.gemspec:
|
131
|
+
Fix `hg:precheckin` task to re-generate the gemspec.
|
132
|
+
[6294e7bdfd2b]
|
133
|
+
|
134
|
+
* .hoerc, Gemfile, Rakefile, certs/ged.pem:
|
135
|
+
Add gem cert, trying out gemspec-based setup.
|
136
|
+
|
137
|
+
Hopefully Travis and Appveyor will work this way.
|
138
|
+
[b3946987e6f4]
|
139
|
+
|
140
|
+
* lib/pg/basic_type_mapping.rb:
|
141
|
+
Fix the example for PG::BasicTypeMapForQueries.
|
142
|
+
|
143
|
+
Fixes #213.
|
144
|
+
[11f13477e4b9]
|
145
|
+
|
146
|
+
* ext/pg_connection.c, ext/pg_result.c, lib/pg/connection.rb,
|
147
|
+
lib/pg/result.rb:
|
148
|
+
Small documentation fixes.
|
149
|
+
|
150
|
+
- Make PG::Connection and PG::Result show up instead of PGconn and
|
151
|
+
PGresult.
|
152
|
+
- Add docs for PG::Result#inspect.
|
153
|
+
- Swap `PGconn.open` for `PG.connect` in an example.
|
154
|
+
- Add explicit returns to a few methods.
|
155
|
+
[982082c0d77b]
|
156
|
+
|
157
|
+
* ext/pg_connection.c:
|
158
|
+
Clarify differences between class and instance escape methods.
|
159
|
+
|
160
|
+
Borrow the wording from the PostgreSQL docs about the difference
|
161
|
+
between class and instance variants of `escape_string` and
|
162
|
+
`escape_bytea` for PG::Connection. Fixes #205.
|
163
|
+
[01a8e779edb2]
|
164
|
+
|
165
|
+
2016-01-30 Lars Kanis <lars@greiz-reinsdorf.de>
|
166
|
+
|
167
|
+
* Gemfile:
|
168
|
+
Update hoe-deveiate
|
169
|
+
[7e95a9dae248]
|
170
|
+
|
171
|
+
* Rakefile.cross:
|
172
|
+
rake-compiler-dock-0.5.1 fixes the issue with bundler while cross
|
173
|
+
compilation
|
174
|
+
|
175
|
+
So we no longer need to disable rubygems.
|
176
|
+
[7ad087272591]
|
177
|
+
|
178
|
+
2016-01-30 Lars Kanis <larskanis@gmail.com>
|
179
|
+
|
180
|
+
* Merge pull request #13 from akito19/update_openssl
|
181
|
+
|
182
|
+
update version OpenSSL
|
183
|
+
[9917a9eefcd8]
|
184
|
+
|
185
|
+
2016-01-30 Akito Kasai <a.kasai415@gmail.com>
|
186
|
+
|
187
|
+
* Rakefile.cross:
|
188
|
+
update version OpenSSL
|
189
|
+
[a9b7e8cbd788]
|
190
|
+
|
191
|
+
2016-01-30 Lars Kanis <larskanis@gmail.com>
|
192
|
+
|
193
|
+
* Merge pull request #12 from akito19/fix_indent_on_README
|
194
|
+
|
195
|
+
fix indent sample code [skip ci]
|
196
|
+
[4e0e144275a2]
|
197
|
+
|
198
|
+
2016-01-30 Akito Kasai <a.kasai415@gmail.com>
|
199
|
+
|
200
|
+
* README.rdoc:
|
201
|
+
fix indent sample code
|
202
|
+
[dec5b785d96c]
|
203
|
+
|
204
|
+
2016-01-12 Lars Kanis <lars@greiz-reinsdorf.de>
|
205
|
+
|
206
|
+
* ext/pg_connection.c:
|
207
|
+
Add missing ifdef for PostgreSQL < 9.5
|
208
|
+
[df51313f26b9]
|
209
|
+
|
210
|
+
2016-01-11 Lars Kanis <lars@greiz-reinsdorf.de>
|
211
|
+
|
212
|
+
* ext/extconf.rb, ext/pg_connection.c, lib/pg/connection.rb,
|
213
|
+
spec/pg/connection_spec.rb:
|
214
|
+
Add PostgreSQL-9.5 functions PQsslInUse(), PQsslAttribute() and
|
215
|
+
PQsslAttributeNames().
|
216
|
+
[5a437ad15148]
|
217
|
+
|
218
|
+
2016-01-12 Lars Kanis <lars@greiz-reinsdorf.de>
|
219
|
+
|
220
|
+
* spec/helpers.rb:
|
221
|
+
Add rspec filter for PostgreSQL-9.5.
|
222
|
+
[3b4857e5401c]
|
223
|
+
|
224
|
+
2016-01-11 Lars Kanis <lars@greiz-reinsdorf.de>
|
225
|
+
|
226
|
+
* ext/pg.h:
|
227
|
+
Avoid compiler warning about undeclared function gettimeofday().
|
228
|
+
|
229
|
+
../../../../ext/pg_connection.c: In function ‘wait_socket_readable’:
|
230
|
+
../../../../ext/pg_connection.c:2393:3: warning: implicit
|
231
|
+
declaration of function ‘gettimeofday’ [-Wimplicit-function-
|
232
|
+
declaration] gettimeofday(&currtime, NULL);
|
233
|
+
[bdd4f3c8fc73]
|
234
|
+
|
235
|
+
2016-01-09 Lars Kanis <lars@greiz-reinsdorf.de>
|
236
|
+
|
237
|
+
* spec/pg/connection_spec.rb:
|
238
|
+
Adjust timings in tests for better compat with Windows, which has
|
239
|
+
less exact timers.
|
240
|
+
[e51a84966ce6]
|
241
|
+
|
242
|
+
* .travis.yml:
|
243
|
+
Bundler is not installed per default on ruby-2.3.0 on travis-ci.
|
244
|
+
[d94ffc08a04f]
|
245
|
+
|
246
|
+
* .rvmrc:
|
247
|
+
Remove .rvmrc from repository.
|
248
|
+
|
249
|
+
This currently breaks the build on travis-ci.
|
250
|
+
[fbaac4e36b9e]
|
251
|
+
|
252
|
+
2015-08-29 Lars Kanis <lars@greiz-reinsdorf.de>
|
253
|
+
|
254
|
+
* .travis.yml:
|
255
|
+
Switch windows binary gem build on travis-ci to docker.
|
256
|
+
|
257
|
+
This is faster and the recommended ways to buid the gems now.
|
258
|
+
[5fa0071f377a]
|
259
|
+
|
260
|
+
2016-01-09 Lars Kanis <lars@greiz-reinsdorf.de>
|
261
|
+
|
262
|
+
* .travis.yml, appveyor.yml:
|
263
|
+
Update appveyor and travis-ci tests from 9.4 and 9.0 to 9.5 and 9.1.
|
264
|
+
[a66cd5015f50]
|
265
|
+
|
266
|
+
2015-08-29 Lars Kanis <lars@greiz-reinsdorf.de>
|
267
|
+
|
268
|
+
* Rakefile, Rakefile.cross, lib/pg.rb:
|
269
|
+
Remove needless platform specific subdirectory for libpq.dll.
|
270
|
+
[b3a270f74fdd]
|
271
|
+
|
272
|
+
* Rakefile.cross:
|
273
|
+
Don't abort 'rake gem:windows' when there are no key/certs for gem
|
274
|
+
signing.
|
275
|
+
[6c7d9a357ac3]
|
276
|
+
|
277
|
+
* Rakefile:
|
278
|
+
Don't abort the tests, if the pg_ext file is missing.
|
279
|
+
|
280
|
+
This is required to run the tests with fat binary gems.
|
281
|
+
[0115baee0e15]
|
282
|
+
|
283
|
+
2016-01-09 Lars Kanis <lars@greiz-reinsdorf.de>
|
284
|
+
|
285
|
+
* .travis.yml:
|
286
|
+
Use ruby '2.3.0' in travis-ci, since the alias '2.3' isn't
|
287
|
+
available.
|
288
|
+
[d28332e23fbc]
|
289
|
+
|
290
|
+
* .travis.yml:
|
291
|
+
Remove ruby 1.9.3 from travis-ci, since it fails anyway.
|
292
|
+
[4173b84490f0]
|
293
|
+
|
294
|
+
2016-01-08 Lars Kanis <lars@greiz-reinsdorf.de>
|
295
|
+
|
296
|
+
* ext/pg_connection.c:
|
297
|
+
PQescapeString takes size_t, so RSTRING_LEN is correct.
|
298
|
+
[9c8027a0934f]
|
299
|
+
|
300
|
+
* Rakefile.cross:
|
301
|
+
Update PostgreSQL version for cross build to 9.5.0
|
302
|
+
[8048fe08c330]
|
303
|
+
|
304
|
+
2015-12-31 Lars Kanis <lars@greiz-reinsdorf.de>
|
305
|
+
|
306
|
+
* ext/pg_connection.c:
|
307
|
+
Fix description of encoder_for_put_copy_data
|
308
|
+
[4d4de8d69dc0]
|
309
|
+
|
310
|
+
2015-12-30 Lars Kanis <lars@greiz-reinsdorf.de>
|
311
|
+
|
312
|
+
* ext/pg_connection.c:
|
313
|
+
Mark local functions as static.
|
314
|
+
[1a2c1d85a8fd]
|
315
|
+
|
316
|
+
2015-12-29 Lars Kanis <lars@greiz-reinsdorf.de>
|
317
|
+
|
318
|
+
* ext/pg_connection.c:
|
319
|
+
Improve performance of conn.escape by 50%.
|
320
|
+
|
321
|
+
Copying the string twice and calling rb_obj_is_kind_of() twice isn't
|
322
|
+
necessary.
|
323
|
+
[a8ebc0163f6b]
|
324
|
+
|
325
|
+
* ext/pg_connection.c:
|
326
|
+
Describe more exactly the difference between quote_ident and
|
327
|
+
escape_identifier.
|
328
|
+
[b458c0c3d40e]
|
329
|
+
|
330
|
+
2016-01-08 Lars Kanis <lars@greiz-reinsdorf.de>
|
331
|
+
|
332
|
+
* ext/errorcodes.txt:
|
333
|
+
Add new error codes introduced in PostgreSQL-9.5 per 'rake
|
334
|
+
update_error_codes'
|
335
|
+
[698e36b52c7d]
|
336
|
+
|
337
|
+
2015-12-26 Lars Kanis <lars@greiz-reinsdorf.de>
|
338
|
+
|
339
|
+
* .travis.yml:
|
340
|
+
Add ruby-2.3 on travis-ci.
|
341
|
+
[e53198935b4a]
|
342
|
+
|
343
|
+
* Rakefile.cross:
|
344
|
+
Update libraries for Windows cross build.
|
345
|
+
[de4fdcd96eb3]
|
346
|
+
|
347
|
+
* Gemfile, Rakefile, Rakefile.cross:
|
348
|
+
Enable Windows cross build for Ruby-2.3.
|
349
|
+
[1a6f2861f9d3]
|
350
|
+
|
351
|
+
* README.rdoc:
|
352
|
+
Merge branch 'master@1' of ../ruby-pg.git.bare
|
353
|
+
[b324f3f65a0c]
|
354
|
+
|
1
355
|
2015-11-13 Michael Granger <ged@FaerieMUD.org>
|
2
356
|
|
357
|
+
* .hgtags:
|
358
|
+
Added tag v0.18.4 for changeset f61127650cd0
|
359
|
+
[fdfa6657502e]
|
360
|
+
|
361
|
+
* .hgsigs:
|
362
|
+
Added signature for changeset 75d4f016a17f
|
363
|
+
[f61127650cd0] [v0.18.4]
|
364
|
+
|
365
|
+
* .hgtags:
|
366
|
+
Removed tag v0.18.4
|
367
|
+
[75d4f016a17f]
|
368
|
+
|
369
|
+
* README.rdoc:
|
370
|
+
Move the gitter link below the extracted links in the README
|
371
|
+
[588ea20370ff]
|
372
|
+
|
373
|
+
* .hgtags:
|
374
|
+
Added tag v0.18.4 for changeset 94ef4830540d
|
375
|
+
[81cc8a52985e]
|
376
|
+
|
377
|
+
* .hgsigs:
|
378
|
+
Added signature for changeset da42b972b5ab
|
379
|
+
[94ef4830540d]
|
380
|
+
|
381
|
+
* History.rdoc, lib/pg.rb:
|
382
|
+
Bump the version, add date to History
|
383
|
+
[da42b972b5ab]
|
384
|
+
|
3
385
|
* .hgignore:
|
4
386
|
Ignore some build artifacts
|
5
|
-
[f4bd9e53ccab]
|
387
|
+
[f4bd9e53ccab]
|
6
388
|
|
7
389
|
* Rakefile:
|
8
390
|
Only use fivefish formatter when building from repo
|
9
391
|
[6161d8eeb3f1]
|
10
392
|
|
393
|
+
2015-12-26 Lars Kanis <lars@greiz-reinsdorf.de>
|
394
|
+
|
395
|
+
* README.rdoc, ext/pg_copy_coder.c, lib/pg/basic_type_mapping.rb,
|
396
|
+
lib/pg/connection.rb:
|
397
|
+
Add a lot more of documentation, how COPY can be used with type
|
398
|
+
coders and type maps.
|
399
|
+
[256c059e4802]
|
400
|
+
|
11
401
|
2015-11-13 Lars Kanis <lars@greiz-reinsdorf.de>
|
12
402
|
|
13
403
|
* History.rdoc:
|
@@ -146,6 +536,20 @@
|
|
146
536
|
* Merge branch 'master' of github.com:larskanis/ruby-pg
|
147
537
|
[d27d6d5a6545]
|
148
538
|
|
539
|
+
2015-06-29 Lars Kanis <kanis@comcard.de>
|
540
|
+
|
541
|
+
* History.rdoc:
|
542
|
+
Merge branch 'master' of https://github.com/larskanis/ruby-pg
|
543
|
+
|
544
|
+
Conflicts: History.rdoc
|
545
|
+
[affb47533d82]
|
546
|
+
|
547
|
+
* History.rdoc, ext/util.c, spec/pg/type_spec.rb:
|
548
|
+
Fix data type resulting in wrong base64 encoding.
|
549
|
+
[5fb9170f6a7d]
|
550
|
+
|
551
|
+
2015-08-20 Lars Kanis <lars@greiz-reinsdorf.de>
|
552
|
+
|
149
553
|
* README.rdoc:
|
150
554
|
Add Appveyor status badge to the README.
|
151
555
|
[c9637c6efcfb]
|
@@ -176,18 +580,6 @@
|
|
176
580
|
Add CI-tests on appveyor.
|
177
581
|
[c2dc9e491853]
|
178
582
|
|
179
|
-
2015-06-29 Lars Kanis <kanis@comcard.de>
|
180
|
-
|
181
|
-
* History.rdoc:
|
182
|
-
Merge branch 'master' of https://github.com/larskanis/ruby-pg
|
183
|
-
|
184
|
-
Conflicts: History.rdoc
|
185
|
-
[affb47533d82]
|
186
|
-
|
187
|
-
* History.rdoc, ext/util.c, spec/pg/type_spec.rb:
|
188
|
-
Fix data type resulting in wrong base64 encoding.
|
189
|
-
[5fb9170f6a7d]
|
190
|
-
|
191
583
|
2015-06-17 Lars Kanis <lars@greiz-reinsdorf.de>
|
192
584
|
|
193
585
|
* Gemfile, Rakefile, Rakefile.cross:
|
@@ -265,6 +657,18 @@
|
|
265
657
|
* Merged
|
266
658
|
[3d56a65c78c5]
|
267
659
|
|
660
|
+
2015-05-25 Michael Granger <ged@FaerieMUD.org>
|
661
|
+
|
662
|
+
* ext/pg_connection.c:
|
663
|
+
Change instance_of checks to kind_of for subclassing [#220]
|
664
|
+
[eb4d3c003bd6]
|
665
|
+
|
666
|
+
* lib/pg/basic_type_mapping.rb:
|
667
|
+
Whitespace fixes
|
668
|
+
[4a4368e30bcf]
|
669
|
+
|
670
|
+
2015-06-08 Lars Kanis <lars@greiz-reinsdorf.de>
|
671
|
+
|
268
672
|
* Gemfile, Rakefile, Rakefile.cross:
|
269
673
|
Add rake task 'gem:windows' which makes use of the new rake-
|
270
674
|
compiler-dock.
|
@@ -277,16 +681,6 @@
|
|
277
681
|
PostgreSQL-9.4.0
|
278
682
|
[630a22437026]
|
279
683
|
|
280
|
-
2015-05-25 Michael Granger <ged@FaerieMUD.org>
|
281
|
-
|
282
|
-
* ext/pg_connection.c:
|
283
|
-
Change instance_of checks to kind_of for subclassing [#220]
|
284
|
-
[eb4d3c003bd6] [github/kind-of-fix]
|
285
|
-
|
286
|
-
* lib/pg/basic_type_mapping.rb:
|
287
|
-
Whitespace fixes
|
288
|
-
[4a4368e30bcf] [github/master]
|
289
|
-
|
290
684
|
2015-05-14 Michael Granger <ged@FaerieMUD.org>
|
291
685
|
|
292
686
|
* .hgtags:
|
@@ -384,6 +778,26 @@
|
|
384
778
|
Merge from git branch.
|
385
779
|
[b60c89ee93c8]
|
386
780
|
|
781
|
+
2015-02-03 Michael Granger <ged@FaerieMUD.org>
|
782
|
+
|
783
|
+
* README.rdoc, ext/pg.c:
|
784
|
+
Update copyright notices
|
785
|
+
[447962e0dcba]
|
786
|
+
|
787
|
+
* spec/pg/connection_spec.rb:
|
788
|
+
Whitespace fixes
|
789
|
+
[f4a85f78807d]
|
790
|
+
|
791
|
+
2014-08-22 Chris Bandy <bandy.chris@gmail.com>
|
792
|
+
|
793
|
+
* lib/pg/connection.rb, spec/pg/connection_spec.rb:
|
794
|
+
Allow URI connection string
|
795
|
+
|
796
|
+
(Imported from https://github.com/ged/ruby-pg/pull/3)
|
797
|
+
[d4579ef9eae4]
|
798
|
+
|
799
|
+
2015-02-11 Lars Kanis <lars@greiz-reinsdorf.de>
|
800
|
+
|
387
801
|
* ext/pg.h, ext/pg_text_decoder.c:
|
388
802
|
Merge branch 'non-c99-compiler'
|
389
803
|
[b111c84b8445]
|
@@ -426,24 +840,6 @@
|
|
426
840
|
implementation.
|
427
841
|
[df67241d1a4f]
|
428
842
|
|
429
|
-
2015-02-03 Michael Granger <ged@FaerieMUD.org>
|
430
|
-
|
431
|
-
* README.rdoc, ext/pg.c:
|
432
|
-
Update copyright notices
|
433
|
-
[447962e0dcba]
|
434
|
-
|
435
|
-
* spec/pg/connection_spec.rb:
|
436
|
-
Whitespace fixes
|
437
|
-
[f4a85f78807d]
|
438
|
-
|
439
|
-
2014-08-22 Chris Bandy <bandy.chris@gmail.com>
|
440
|
-
|
441
|
-
* lib/pg/connection.rb, spec/pg/connection_spec.rb:
|
442
|
-
Allow URI connection string
|
443
|
-
|
444
|
-
(Imported from https://github.com/ged/ruby-pg/pull/3)
|
445
|
-
[d4579ef9eae4]
|
446
|
-
|
447
843
|
2015-01-27 Lars Kanis <lars@greiz-reinsdorf.de>
|
448
844
|
|
449
845
|
* lib/pg/text_decoder.rb, spec/pg/type_spec.rb:
|
@@ -531,6 +927,13 @@
|
|
531
927
|
Add a Rake task for generating the gemspec
|
532
928
|
[ec6d6ce61a15]
|
533
929
|
|
930
|
+
2014-12-31 Lars Kanis <lars@greiz-reinsdorf.de>
|
931
|
+
|
932
|
+
* Rakefile.cross, lib/pg.rb, misc/postgresql-9.4.0.with-buggy-
|
933
|
+
mingw-w64.patch:
|
934
|
+
Add workaround for buggy mingw-w64 toolchain on Ubuntu-14.10
|
935
|
+
[f5c7f9158ee2]
|
936
|
+
|
534
937
|
2014-12-26 Lars Kanis <lars@greiz-reinsdorf.de>
|
535
938
|
|
536
939
|
* lib/pg/basic_type_mapping.rb:
|
@@ -869,6 +1272,16 @@
|
|
869
1272
|
Add type mapping and performance improvements
|
870
1273
|
[0da90c2b2812]
|
871
1274
|
|
1275
|
+
* spec/helpers.rb, spec/pg/connection_spec.rb:
|
1276
|
+
Merged with 4cc778c5ead7
|
1277
|
+
[67bb0f34ca05]
|
1278
|
+
|
1279
|
+
2014-08-20 Michael Granger <ged@FaerieMUD.org>
|
1280
|
+
|
1281
|
+
* spec/helpers.rb, spec/pg/connection_spec.rb:
|
1282
|
+
Check connection status with a matcher in specs
|
1283
|
+
[b32840b98e4b]
|
1284
|
+
|
872
1285
|
2014-10-09 Lars Kanis <lars@greiz-reinsdorf.de>
|
873
1286
|
|
874
1287
|
* Rakefile, Rakefile.cross, ext/extconf.rb:
|
@@ -961,6 +1374,35 @@
|
|
961
1374
|
alloc_query_params1() and avoids code duplication within type maps.
|
962
1375
|
[2afa6cc41d55]
|
963
1376
|
|
1377
|
+
2014-10-09 Lars Kanis <lars@greiz-reinsdorf.de>
|
1378
|
+
|
1379
|
+
* Rakefile, Rakefile.cross, ext/extconf.rb:
|
1380
|
+
gcc option -static-libgcc is required for i386-mingw32 build.
|
1381
|
+
|
1382
|
+
Don't use native pg_config for cross build. The paths were
|
1383
|
+
overwritten anyways until now.
|
1384
|
+
|
1385
|
+
Remove code that was only needed for static build to libpq.
|
1386
|
+
[4cc778c5ead7]
|
1387
|
+
|
1388
|
+
2014-10-09 Lars Kanis <kanis@comcard.de>
|
1389
|
+
|
1390
|
+
* Rakefile, Rakefile.cross, lib/pg.rb:
|
1391
|
+
Bundle libpq.dll into gem, because PostgreSQL-9.3 does no longer
|
1392
|
+
support static linking.
|
1393
|
+
[a37e27d356e5]
|
1394
|
+
|
1395
|
+
2014-10-04 Lars Kanis <lars@greiz-reinsdorf.de>
|
1396
|
+
|
1397
|
+
* spec/helpers.rb, spec/pg/connection_spec.rb:
|
1398
|
+
Add missing spec for hash form parameters to #exec_params .
|
1399
|
+
[04a6a0136a12]
|
1400
|
+
|
1401
|
+
* spec/pg/type_map_by_column_spec.rb:
|
1402
|
+
Fix handling of query parameters in hash form in conjunction with
|
1403
|
+
type map.
|
1404
|
+
[a5f028117537]
|
1405
|
+
|
964
1406
|
* spec/pg/connection_spec.rb:
|
965
1407
|
Add missing spec for hash form parameters to #exec_params .
|
966
1408
|
[23ad5d676b53]
|
@@ -2267,36 +2709,6 @@
|
|
2267
2709
|
integer and float values to proper ruby types.
|
2268
2710
|
[71ddc0446d26]
|
2269
2711
|
|
2270
|
-
2014-10-11 Michael Granger <ged@FaerieMUD.org>
|
2271
|
-
|
2272
|
-
* spec/helpers.rb, spec/pg/connection_spec.rb:
|
2273
|
-
Merged with 4cc778c5ead7
|
2274
|
-
[67bb0f34ca05]
|
2275
|
-
|
2276
|
-
2014-10-09 Lars Kanis <lars@greiz-reinsdorf.de>
|
2277
|
-
|
2278
|
-
* Rakefile, Rakefile.cross, ext/extconf.rb:
|
2279
|
-
gcc option -static-libgcc is required for i386-mingw32 build.
|
2280
|
-
|
2281
|
-
Don't use native pg_config for cross build. The paths were
|
2282
|
-
overwritten anyways until now.
|
2283
|
-
|
2284
|
-
Remove code that was only needed for static build to libpq.
|
2285
|
-
[4cc778c5ead7]
|
2286
|
-
|
2287
|
-
2014-10-09 Lars Kanis <kanis@comcard.de>
|
2288
|
-
|
2289
|
-
* Rakefile, Rakefile.cross, lib/pg.rb:
|
2290
|
-
Bundle libpq.dll into gem, because PostgreSQL-9.3 does no longer
|
2291
|
-
support static linking.
|
2292
|
-
[a37e27d356e5]
|
2293
|
-
|
2294
|
-
2014-10-04 Lars Kanis <lars@greiz-reinsdorf.de>
|
2295
|
-
|
2296
|
-
* spec/helpers.rb, spec/pg/connection_spec.rb:
|
2297
|
-
Add missing spec for hash form parameters to #exec_params .
|
2298
|
-
[04a6a0136a12]
|
2299
|
-
|
2300
2712
|
2014-08-24 Lars Kanis <lars@greiz-reinsdorf.de>
|
2301
2713
|
|
2302
2714
|
* ext/pg_connection.c:
|
@@ -2348,10 +2760,6 @@
|
|
2348
2760
|
|
2349
2761
|
2014-08-20 Michael Granger <ged@FaerieMUD.org>
|
2350
2762
|
|
2351
|
-
* spec/helpers.rb, spec/pg/connection_spec.rb:
|
2352
|
-
Check connection status with a matcher in specs
|
2353
|
-
[b32840b98e4b]
|
2354
|
-
|
2355
2763
|
* ext/pg_connection.c, lib/pg/connection.rb,
|
2356
2764
|
spec/pg/connection_spec.rb:
|
2357
2765
|
Implement PG::Connection#conninfo and use it to test #188
|
@@ -2376,19 +2784,17 @@
|
|
2376
2784
|
* Merge with 6c2444dc63e1
|
2377
2785
|
[d7160a9fb5dc]
|
2378
2786
|
|
2379
|
-
2013-12-30 Lars Kanis <lars@greiz-reinsdorf.de>
|
2380
|
-
|
2381
|
-
* ext/pg_connection.c:
|
2382
|
-
Fix typo in documentation.
|
2383
|
-
[6c2444dc63e1]
|
2384
|
-
|
2385
|
-
2014-06-05 Michael Granger <ged@FaerieMUD.org>
|
2386
|
-
|
2387
2787
|
* .rvm.gems, Rakefile, spec/helpers.rb, spec/lib/helpers.rb,
|
2388
2788
|
spec/pg/connection_spec.rb, spec/pg/result_spec.rb, spec/pg_spec.rb:
|
2389
2789
|
Convert specs to expect syntax for RSpec 3
|
2390
2790
|
[c9108c846ab2]
|
2391
2791
|
|
2792
|
+
2013-12-30 Lars Kanis <lars@greiz-reinsdorf.de>
|
2793
|
+
|
2794
|
+
* ext/pg_connection.c:
|
2795
|
+
Fix typo in documentation.
|
2796
|
+
[6c2444dc63e1]
|
2797
|
+
|
2392
2798
|
2013-12-18 Michael Granger <ged@FaerieMUD.org>
|
2393
2799
|
|
2394
2800
|
* .hgtags:
|
@@ -2543,15 +2949,6 @@
|
|
2543
2949
|
* merge tip
|
2544
2950
|
[90252df3c5c8]
|
2545
2951
|
|
2546
|
-
* lib/pg/connection.rb, spec/pg/connection_spec.rb:
|
2547
|
-
Add PG::Connection#copy_data as a convenience method.
|
2548
|
-
[5096385267ab]
|
2549
|
-
|
2550
|
-
* ext/pg_result.c:
|
2551
|
-
Return self from PG::Result#check instead of nil. This allowes to
|
2552
|
-
stack method calls.
|
2553
|
-
[8255d4f73334]
|
2554
|
-
|
2555
2952
|
2013-08-15 Lars Kanis <lars@greiz-reinsdorf.de>
|
2556
2953
|
|
2557
2954
|
* Rakefile.cross:
|
@@ -2561,6 +2958,17 @@
|
|
2561
2958
|
This is 'i586-mingw32msvc-gcc' versus 'i586-pc-mingw32msvc'.
|
2562
2959
|
[fbee9586e8f7]
|
2563
2960
|
|
2961
|
+
2013-08-18 Lars Kanis <lars@greiz-reinsdorf.de>
|
2962
|
+
|
2963
|
+
* lib/pg/connection.rb, spec/pg/connection_spec.rb:
|
2964
|
+
Add PG::Connection#copy_data as a convenience method.
|
2965
|
+
[5096385267ab]
|
2966
|
+
|
2967
|
+
* ext/pg_result.c:
|
2968
|
+
Return self from PG::Result#check instead of nil. This allowes to
|
2969
|
+
stack method calls.
|
2970
|
+
[8255d4f73334]
|
2971
|
+
|
2564
2972
|
2013-08-14 Lars Kanis <lars@greiz-reinsdorf.de>
|
2565
2973
|
|
2566
2974
|
* Gemfile, Rakefile:
|
@@ -2602,6 +3010,10 @@
|
|
2602
3010
|
Travis: Allow failures on rbx.
|
2603
3011
|
[7be3b156c8fb]
|
2604
3012
|
|
3013
|
+
* spec/pg/column_mapping_spec.rb:
|
3014
|
+
Too less quoting. Should fix compat with PostgreSQL 8.4.
|
3015
|
+
[45fc78971757]
|
3016
|
+
|
2605
3017
|
2013-07-18 Lars Kanis <kanis@comcard.de>
|
2606
3018
|
|
2607
3019
|
* spec/pg/connection_spec.rb:
|
@@ -2637,6 +3049,92 @@
|
|
2637
3049
|
This test failed on Windows x64.
|
2638
3050
|
[6894f73d7039]
|
2639
3051
|
|
3052
|
+
* Manifest.txt:
|
3053
|
+
Add missing files to Manifest.txt.
|
3054
|
+
[3b4bc9524bb3]
|
3055
|
+
|
3056
|
+
* Manifest.txt, ext/pg_column_mapping.c, ext/util.c, ext/util.h:
|
3057
|
+
Add compat with Windows platform.
|
3058
|
+
[3ac02d0ccf19]
|
3059
|
+
|
3060
|
+
* ext/pg_column_mapping.c, spec/pg/column_mapping_spec.rb:
|
3061
|
+
Add compat with Ruby-1.8.7.
|
3062
|
+
[7bcb3040fe34]
|
3063
|
+
|
3064
|
+
* spec/pg/column_mapping_spec.rb:
|
3065
|
+
Use old BYTEA escaping for compat with PostgreSQL 8.4
|
3066
|
+
[2fad9e274ad3]
|
3067
|
+
|
3068
|
+
2013-07-04 Lars Kanis <lars@greiz-reinsdorf.de>
|
3069
|
+
|
3070
|
+
* ext/pg_column_mapping.c, spec/pg/column_mapping_spec.rb:
|
3071
|
+
Add BinaryBolean converter.
|
3072
|
+
|
3073
|
+
Refactor converter tests.
|
3074
|
+
[06c99b04f572]
|
3075
|
+
|
3076
|
+
* ext/pg_column_mapping.c, spec/pg/column_mapping_spec.rb:
|
3077
|
+
Add BinaryFloat converter.
|
3078
|
+
[493b0354c678]
|
3079
|
+
|
3080
|
+
2013-07-03 Lars Kanis <lars@greiz-reinsdorf.de>
|
3081
|
+
|
3082
|
+
* ext/pg_column_mapping.c, lib/pg/result.rb,
|
3083
|
+
spec/pg/column_mapping_spec.rb, spec/pg/result_spec.rb:
|
3084
|
+
Change ColumnMapping#initialize to take one Array arg rather than a
|
3085
|
+
parameter list.
|
3086
|
+
|
3087
|
+
Suggested by Aaron: https://groups.google.com/d/msg/ruby-
|
3088
|
+
pg/PE5K6q9RzBs/M5prOno39DEJ
|
3089
|
+
[c2ca10bf93c5]
|
3090
|
+
|
3091
|
+
* spec/pg/result_spec.rb:
|
3092
|
+
Add test case for all value retrieving methods of PG::Result .
|
3093
|
+
[e1055f877c58]
|
3094
|
+
|
3095
|
+
* spec/pg/column_mapping_spec.rb:
|
3096
|
+
Add test case for default_mapping in Result#map_types!
|
3097
|
+
[489220119795]
|
3098
|
+
|
3099
|
+
* lib/pg/result.rb, spec/pg/column_mapping_spec.rb:
|
3100
|
+
Add convenience method PG::Result#map_types!
|
3101
|
+
[de02df7fb198]
|
3102
|
+
|
3103
|
+
* spec/pg/column_mapping_spec.rb:
|
3104
|
+
Add Boolean ColumnMapping spec and do Integer a bit more compact.
|
3105
|
+
[4256841e088f]
|
3106
|
+
|
3107
|
+
2013-07-01 Lars Kanis <kanis@comcard.de>
|
3108
|
+
|
3109
|
+
* ext/pg_column_mapping.c, spec/pg/column_mapping_spec.rb:
|
3110
|
+
Add converter BinaryInteger.
|
3111
|
+
[6f0c8f72962f]
|
3112
|
+
|
3113
|
+
* ext/pg_column_mapping.c, spec/pg/column_mapping_spec.rb,
|
3114
|
+
spec/pg/result_spec.rb:
|
3115
|
+
Use instances of PG::ColumnMapping::CConverter as representation of
|
3116
|
+
the buildin converters instead of plain symbols. Symbol arguments
|
3117
|
+
are converted to these instances, for convenience.
|
3118
|
+
|
3119
|
+
This allows to store and retrieve additional informations to the
|
3120
|
+
conversion and also which conversions are supported.
|
3121
|
+
[e4f6c37b5449]
|
3122
|
+
|
3123
|
+
* ext/pg_column_mapping.c:
|
3124
|
+
Don't depend on TYPE(obj)==T_DATA of a proc object for compat with
|
3125
|
+
rubinius.
|
3126
|
+
[c33c4ac01aaf]
|
3127
|
+
|
3128
|
+
2013-06-29 Lars Kanis <lars@greiz-reinsdorf.de>
|
3129
|
+
|
3130
|
+
* ext/pg.c, ext/pg.h, ext/pg_column_mapping.c, ext/pg_result.c,
|
3131
|
+
spec/pg/result_spec.rb:
|
3132
|
+
Add column based type mapping.
|
3133
|
+
|
3134
|
+
This allowes to speed up result retrieval by directly converting
|
3135
|
+
integer and float values to proper ruby types.
|
3136
|
+
[160c71c0b584]
|
3137
|
+
|
2640
3138
|
2013-07-06 Lars Kanis <lars@greiz-reinsdorf.de>
|
2641
3139
|
|
2642
3140
|
* ext/pg_connection.c, spec/pg/connection_spec.rb:
|
@@ -2922,14 +3420,14 @@
|
|
2922
3420
|
avoid warnings about truncated identifier.
|
2923
3421
|
|
2924
3422
|
Thanks to Svoop for this report.
|
2925
|
-
[
|
3423
|
+
[9a6791fe9409]
|
2926
3424
|
|
2927
3425
|
* lib/pg/connection.rb, spec/pg/connection_spec.rb:
|
2928
3426
|
Send a shortened $0 as application_name to the server in order to
|
2929
3427
|
avoid warnings about truncated identifier.
|
2930
3428
|
|
2931
3429
|
Thanks to Svoop for this report.
|
2932
|
-
[
|
3430
|
+
[134e067259ee] <v0.15-stable>
|
2933
3431
|
|
2934
3432
|
2013-03-26 Michael Granger <ged@FaerieMUD.org>
|
2935
3433
|
|
@@ -3017,17 +3515,6 @@
|
|
3017
3515
|
Merge with https://bitbucket.org/ged/ruby-pg
|
3018
3516
|
[3230e6c245e0]
|
3019
3517
|
|
3020
|
-
* Rakefile, Rakefile.cross:
|
3021
|
-
Add support for cross build for multiple platforms (i386-mingw32 and
|
3022
|
-
x64-mingw32).
|
3023
|
-
|
3024
|
-
Update OpenSSL for cross build to 1.0.1e Update PostgreSQL for cross
|
3025
|
-
build to 9.2.3
|
3026
|
-
|
3027
|
-
Remove -lws2_32 for PostgreSQL build. It fails to compile for
|
3028
|
-
x64-mingw32 elsewise.
|
3029
|
-
[6a2a1a53dedc]
|
3030
|
-
|
3031
3518
|
2013-03-12 Michael Granger <ged@FaerieMUD.org>
|
3032
3519
|
|
3033
3520
|
* Rakefile.cross:
|
@@ -3042,6 +3529,19 @@
|
|
3042
3529
|
Bump versions of dev dependencies
|
3043
3530
|
[cba92fb4b89e]
|
3044
3531
|
|
3532
|
+
2013-03-13 Lars Kanis <kanis@comcard.de>
|
3533
|
+
|
3534
|
+
* Rakefile, Rakefile.cross:
|
3535
|
+
Add support for cross build for multiple platforms (i386-mingw32 and
|
3536
|
+
x64-mingw32).
|
3537
|
+
|
3538
|
+
Update OpenSSL for cross build to 1.0.1e Update PostgreSQL for cross
|
3539
|
+
build to 9.2.3
|
3540
|
+
|
3541
|
+
Remove -lws2_32 for PostgreSQL build. It fails to compile for
|
3542
|
+
x64-mingw32 elsewise.
|
3543
|
+
[6a2a1a53dedc]
|
3544
|
+
|
3045
3545
|
2013-03-06 Michael Granger <ged@FaerieMUD.org>
|
3046
3546
|
|
3047
3547
|
* README.rdoc:
|
@@ -3123,13 +3623,13 @@
|
|
3123
3623
|
PQexecParams() itself.
|
3124
3624
|
|
3125
3625
|
Thanks to Aaron Patterson for the idea.
|
3126
|
-
[7c313c2355b7]
|
3626
|
+
[7c313c2355b7]
|
3127
3627
|
|
3128
3628
|
2013-01-31 Michael Granger <ged@FaerieMUD.org>
|
3129
3629
|
|
3130
3630
|
* ext/extconf.rb:
|
3131
3631
|
Add experimental -rpath to the LDFLAGS
|
3132
|
-
[8496c624dffd]
|
3632
|
+
[8496c624dffd]
|
3133
3633
|
|
3134
3634
|
2013-01-30 Michael Granger <ged@FaerieMUD.org>
|
3135
3635
|
|
@@ -3293,61 +3793,6 @@
|
|
3293
3793
|
Make source settings override TM2 defaults
|
3294
3794
|
[c5706b3f73af]
|
3295
3795
|
|
3296
|
-
2012-12-26 Lars Kanis <kanis@comcard.de>
|
3297
|
-
|
3298
|
-
* ext/extconf.rb, ext/pg_connection.c, spec/pg/connection_spec.rb:
|
3299
|
-
merge in default branch
|
3300
|
-
[ca39e311d1eb] <use_gvl_for_blocking_functions>
|
3301
|
-
|
3302
|
-
* ext/gvl_wrappers.h:
|
3303
|
-
Add some documentation to gvl_wrappers
|
3304
|
-
[ffeb6a0afd1f] <use_gvl_for_blocking_functions>
|
3305
|
-
|
3306
|
-
* spec/pg/connection_spec.rb:
|
3307
|
-
Add test case for threading with Connection#exec in ruby 1.9
|
3308
|
-
[73b9aa38e8c0] <use_gvl_for_blocking_functions>
|
3309
|
-
|
3310
|
-
* ext/extconf.rb, ext/gvl_wrappers.c, ext/gvl_wrappers.h, ext/pg.h,
|
3311
|
-
ext/pg_connection.c:
|
3312
|
-
Add wrappers to blocking functions and callbacks in order to release
|
3313
|
-
the GVL of ruby 1.9 as long as not in ruby code
|
3314
|
-
[2f2c681424ed] <use_gvl_for_blocking_functions>
|
3315
|
-
|
3316
|
-
2012-07-02 Lars Kanis <kanis@comcard.de>
|
3317
|
-
|
3318
|
-
* ext/pg_connection.c, spec/pg/connection_spec.rb:
|
3319
|
-
Fix encoding of values delivered to the row processor and add specs
|
3320
|
-
for binary and text data.
|
3321
|
-
[bb9c6625fbc9] <row_processor>
|
3322
|
-
|
3323
|
-
* ext/pg_connection.c:
|
3324
|
-
Polish the documentation a little bit
|
3325
|
-
[b7633be3c941] <row_processor>
|
3326
|
-
|
3327
|
-
2012-07-01 Lars Kanis <kanis@comcard.de>
|
3328
|
-
|
3329
|
-
* ext/pg_connection.c:
|
3330
|
-
Get rid of gcc warning about (non-)const PGresult to
|
3331
|
-
pg_new_result_for_callback()
|
3332
|
-
[1a25786ed8f3] <row_processor>
|
3333
|
-
|
3334
|
-
* ext/pg_connection.c, spec/pg/connection_spec.rb:
|
3335
|
-
Fix wrong encoding for Result object passed to a notice-receiver
|
3336
|
-
block. Add proper specs for #set_notice_receiver.
|
3337
|
-
[4280826bb9b9] <row_processor>
|
3338
|
-
|
3339
|
-
* ext/extconf.rb, ext/pg.h, ext/pg_connection.c, ext/pg_result.c,
|
3340
|
-
spec/lib/helpers.rb, spec/pg/connection_spec.rb:
|
3341
|
-
Implement PostgreSQL-9.2 functions PG::Connection#set_row_processor,
|
3342
|
-
get_row_processor, skip_result
|
3343
|
-
[b7ce4843f4d1] <row_processor>
|
3344
|
-
|
3345
|
-
2012-06-28 Lars Kanis <kanis@comcard.de>
|
3346
|
-
|
3347
|
-
* ext/pg_result.c:
|
3348
|
-
Add PGRES_COPY_BOTH to documentation of PG::Result#result_status
|
3349
|
-
[63998b47da6e] <copy_both_docu>
|
3350
|
-
|
3351
3796
|
2013-01-29 Aaron Patterson <aaron.patterson@gmail.com>
|
3352
3797
|
|
3353
3798
|
* ext/pg_result.c, lib/pg/result.rb, spec/pg/result_spec.rb:
|
@@ -3376,8 +3821,22 @@
|
|
3376
3821
|
Fix encoding of messages delivered by notice callbacks
|
3377
3822
|
[048d07d14867]
|
3378
3823
|
|
3824
|
+
2012-12-29 Lars Kanis <kanis@comcard.de>
|
3825
|
+
|
3826
|
+
* ext/gvl_wrappers.h:
|
3827
|
+
Simplify function declaration for gvl_wrappers a bit more
|
3828
|
+
[39ba7e52207e] <use_gvl_for_blocking_functions>
|
3829
|
+
|
3379
3830
|
2012-12-26 Lars Kanis <kanis@comcard.de>
|
3380
3831
|
|
3832
|
+
* ext/extconf.rb, ext/pg_connection.c, spec/pg/connection_spec.rb:
|
3833
|
+
merge in default branch
|
3834
|
+
[ca39e311d1eb] <use_gvl_for_blocking_functions>
|
3835
|
+
|
3836
|
+
* ext/gvl_wrappers.h:
|
3837
|
+
Add some documentation to gvl_wrappers
|
3838
|
+
[ffeb6a0afd1f] <use_gvl_for_blocking_functions>
|
3839
|
+
|
3381
3840
|
* ext/pg.c:
|
3382
3841
|
Use proper const check instead of implicit relation
|
3383
3842
|
[d0c5d5f7f1e8]
|
@@ -3397,12 +3856,23 @@
|
|
3397
3856
|
single row mode of PostgreSQL 9.2)
|
3398
3857
|
[49e3fe1dafdf]
|
3399
3858
|
|
3400
|
-
2012-12-
|
3859
|
+
2012-12-26 Lars Kanis <kanis@comcard.de>
|
3401
3860
|
|
3402
|
-
*
|
3403
|
-
|
3404
|
-
|
3405
|
-
|
3861
|
+
* spec/pg/connection_spec.rb:
|
3862
|
+
Add test case for threading with Connection#exec in ruby 1.9
|
3863
|
+
[73b9aa38e8c0] <use_gvl_for_blocking_functions>
|
3864
|
+
|
3865
|
+
* ext/extconf.rb, ext/gvl_wrappers.c, ext/gvl_wrappers.h, ext/pg.h,
|
3866
|
+
ext/pg_connection.c:
|
3867
|
+
Add wrappers to blocking functions and callbacks in order to release
|
3868
|
+
the GVL of ruby 1.9 as long as not in ruby code
|
3869
|
+
[2f2c681424ed] <use_gvl_for_blocking_functions>
|
3870
|
+
|
3871
|
+
* ext/extconf.rb, ext/gvl_wrappers.c, ext/gvl_wrappers.h, ext/pg.h,
|
3872
|
+
ext/pg_connection.c:
|
3873
|
+
Add wrappers to blocking functions and callbacks in order to release
|
3874
|
+
the GVL of ruby 1.9 as long as not in ruby code
|
3875
|
+
[6ad8aa8e10a5] <use_gvl_for_blocking_functions>
|
3406
3876
|
|
3407
3877
|
2012-12-19 Michael Granger <ged@FaerieMUD.org>
|
3408
3878
|
|
@@ -3426,6 +3896,14 @@
|
|
3426
3896
|
fix spacing on README.rdoc:21 to improve display on Github
|
3427
3897
|
[807f040166da]
|
3428
3898
|
|
3899
|
+
2012-12-26 Lars Kanis <kanis@comcard.de>
|
3900
|
+
|
3901
|
+
* ext/extconf.rb, ext/gvl_wrappers.c, ext/gvl_wrappers.h, ext/pg.h,
|
3902
|
+
ext/pg_connection.c:
|
3903
|
+
Add wrappers to blocking functions and callbacks in order to release
|
3904
|
+
the GVL of ruby 1.9 while not in ruby code
|
3905
|
+
[c31ea26b15e9] <use_gvl_for_blocking_functions>
|
3906
|
+
|
3429
3907
|
2012-12-19 Lars Kanis <kanis@comcard.de>
|
3430
3908
|
|
3431
3909
|
* spec/pg/connection_spec.rb:
|
@@ -3442,6 +3920,11 @@
|
|
3442
3920
|
Add spec for PG::Result#field_values
|
3443
3921
|
[3618eb238aba]
|
3444
3922
|
|
3923
|
+
* ext/extconf.rb, ext/pg.c, ext/pg_connection.c,
|
3924
|
+
spec/pg/connection_spec.rb:
|
3925
|
+
Add single row mode of PostgreSQL 9.2
|
3926
|
+
[5cf348b75c1c] <single_row_mode>
|
3927
|
+
|
3445
3928
|
* lib/pg/connection.rb, spec/lib/helpers.rb:
|
3446
3929
|
Restore compatibility with PostgreSQL down to 8.3
|
3447
3930
|
[e4900f62e56d]
|
@@ -3563,6 +4046,15 @@
|
|
3563
4046
|
Add PGRES_COPY_BOTH to documentation of PG::Result#result_status
|
3564
4047
|
[5e0e06440b1a]
|
3565
4048
|
|
4049
|
+
* ext/pg_connection.c, spec/pg/connection_spec.rb:
|
4050
|
+
Fix encoding of values delivered to the row processor and add specs
|
4051
|
+
for binary and text data.
|
4052
|
+
[bb9c6625fbc9] <row_processor>
|
4053
|
+
|
4054
|
+
* ext/pg_connection.c:
|
4055
|
+
Polish the documentation a little bit
|
4056
|
+
[b7633be3c941] <row_processor>
|
4057
|
+
|
3566
4058
|
2012-06-23 Michael Granger <ged@FaerieMUD.org>
|
3567
4059
|
|
3568
4060
|
* .hgtags:
|
@@ -3573,6 +4065,33 @@
|
|
3573
4065
|
Added signature for changeset a45710f8db30
|
3574
4066
|
[634e0a42a101] [v0.14.0]
|
3575
4067
|
|
4068
|
+
2012-07-01 Lars Kanis <kanis@comcard.de>
|
4069
|
+
|
4070
|
+
* merge copy_both_docu
|
4071
|
+
[6e8ef5d4d216]
|
4072
|
+
|
4073
|
+
* ext/pg_connection.c:
|
4074
|
+
Get rid of gcc warning about (non-)const PGresult to
|
4075
|
+
pg_new_result_for_callback()
|
4076
|
+
[1a25786ed8f3] <row_processor>
|
4077
|
+
|
4078
|
+
* ext/pg_connection.c, spec/pg/connection_spec.rb:
|
4079
|
+
Fix wrong encoding for Result object passed to a notice-receiver
|
4080
|
+
block. Add proper specs for #set_notice_receiver.
|
4081
|
+
[4280826bb9b9] <row_processor>
|
4082
|
+
|
4083
|
+
* ext/extconf.rb, ext/pg.h, ext/pg_connection.c, ext/pg_result.c,
|
4084
|
+
spec/lib/helpers.rb, spec/pg/connection_spec.rb:
|
4085
|
+
Implement PostgreSQL-9.2 functions PG::Connection#set_row_processor,
|
4086
|
+
get_row_processor, skip_result
|
4087
|
+
[b7ce4843f4d1] <row_processor>
|
4088
|
+
|
4089
|
+
2012-06-28 Lars Kanis <kanis@comcard.de>
|
4090
|
+
|
4091
|
+
* ext/pg_result.c:
|
4092
|
+
Add PGRES_COPY_BOTH to documentation of PG::Result#result_status
|
4093
|
+
[63998b47da6e] <copy_both_docu>
|
4094
|
+
|
3576
4095
|
2012-06-17 Lars Kanis <kanis@comcard.de>
|
3577
4096
|
|
3578
4097
|
* Rakefile.cross, ext/extconf.rb,
|