pg 0.18.0 → 1.1.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (80) hide show
  1. checksums.yaml +5 -5
  2. checksums.yaml.gz.sig +0 -0
  3. data/BSDL +2 -2
  4. data/ChangeLog +1221 -4
  5. data/History.rdoc +200 -0
  6. data/Manifest.txt +5 -18
  7. data/README-Windows.rdoc +15 -26
  8. data/README.rdoc +27 -10
  9. data/Rakefile +33 -24
  10. data/Rakefile.cross +57 -39
  11. data/ext/errorcodes.def +37 -0
  12. data/ext/errorcodes.rb +1 -1
  13. data/ext/errorcodes.txt +16 -1
  14. data/ext/extconf.rb +29 -35
  15. data/ext/gvl_wrappers.c +4 -0
  16. data/ext/gvl_wrappers.h +27 -39
  17. data/ext/pg.c +27 -53
  18. data/ext/pg.h +66 -83
  19. data/ext/pg_binary_decoder.c +75 -6
  20. data/ext/pg_binary_encoder.c +14 -12
  21. data/ext/pg_coder.c +83 -13
  22. data/ext/pg_connection.c +627 -351
  23. data/ext/pg_copy_coder.c +44 -9
  24. data/ext/pg_result.c +364 -134
  25. data/ext/pg_text_decoder.c +605 -46
  26. data/ext/pg_text_encoder.c +95 -76
  27. data/ext/pg_tuple.c +541 -0
  28. data/ext/pg_type_map.c +20 -13
  29. data/ext/pg_type_map_by_column.c +7 -7
  30. data/ext/pg_type_map_by_mri_type.c +2 -2
  31. data/ext/pg_type_map_in_ruby.c +4 -7
  32. data/ext/util.c +7 -7
  33. data/ext/util.h +3 -3
  34. data/lib/pg/basic_type_mapping.rb +105 -45
  35. data/lib/pg/binary_decoder.rb +22 -0
  36. data/lib/pg/coder.rb +1 -1
  37. data/lib/pg/connection.rb +109 -39
  38. data/lib/pg/constants.rb +1 -1
  39. data/lib/pg/exceptions.rb +1 -1
  40. data/lib/pg/result.rb +11 -6
  41. data/lib/pg/text_decoder.rb +25 -20
  42. data/lib/pg/text_encoder.rb +43 -1
  43. data/lib/pg/tuple.rb +30 -0
  44. data/lib/pg/type_map_by_column.rb +1 -1
  45. data/lib/pg.rb +21 -11
  46. data/spec/helpers.rb +50 -25
  47. data/spec/pg/basic_type_mapping_spec.rb +287 -30
  48. data/spec/pg/connection_spec.rb +695 -282
  49. data/spec/pg/connection_sync_spec.rb +41 -0
  50. data/spec/pg/result_spec.rb +59 -17
  51. data/spec/pg/tuple_spec.rb +280 -0
  52. data/spec/pg/type_map_by_class_spec.rb +3 -3
  53. data/spec/pg/type_map_by_column_spec.rb +1 -1
  54. data/spec/pg/type_map_by_mri_type_spec.rb +2 -2
  55. data/spec/pg/type_map_by_oid_spec.rb +1 -1
  56. data/spec/pg/type_map_in_ruby_spec.rb +1 -1
  57. data/spec/pg/type_map_spec.rb +1 -1
  58. data/spec/pg/type_spec.rb +319 -35
  59. data/spec/pg_spec.rb +2 -2
  60. data.tar.gz.sig +0 -0
  61. metadata +68 -68
  62. metadata.gz.sig +0 -0
  63. data/sample/array_insert.rb +0 -20
  64. data/sample/async_api.rb +0 -106
  65. data/sample/async_copyto.rb +0 -39
  66. data/sample/async_mixed.rb +0 -56
  67. data/sample/check_conn.rb +0 -21
  68. data/sample/copyfrom.rb +0 -81
  69. data/sample/copyto.rb +0 -19
  70. data/sample/cursor.rb +0 -21
  71. data/sample/disk_usage_report.rb +0 -186
  72. data/sample/issue-119.rb +0 -94
  73. data/sample/losample.rb +0 -69
  74. data/sample/minimal-testcase.rb +0 -17
  75. data/sample/notify_wait.rb +0 -72
  76. data/sample/pg_statistics.rb +0 -294
  77. data/sample/replication_monitor.rb +0 -231
  78. data/sample/test_binary_values.rb +0 -33
  79. data/sample/wal_shipper.rb +0 -434
  80. data/sample/warehouse_partitions.rb +0 -320
data/ChangeLog CHANGED
@@ -1,9 +1,1226 @@
1
+ 2017-06-12 Michael Granger <ged@FaerieMUD.org>
2
+
3
+ * Closing branch.
4
+ [d199582de47f] [tip] <olleolleolle/readmerdoc-use-svg-for-travis-build-badg-1489403729779>
5
+
6
+ * Merge with bitbucket upstream
7
+ [7cb095bb8e34]
8
+
9
+ 2017-06-12 Lars Kanis <lars@greiz-reinsdorf.de>
10
+
11
+ * Merged in olleolleolle/ruby-pg/olleolleolle/readmerdoc-use-svg-for-
12
+ travis-build-badg-1489403729779 (pull request #24)
13
+
14
+ README.rdoc: use SVG for Travis build badge
15
+ [97eca85fc660]
16
+
17
+ 2017-03-13 Olle Jonsson <olle.jonsson@gmail.com>
18
+
19
+ * README.rdoc:
20
+ README.rdoc: use SVG for Travis build badge
21
+ [75dcedbff32e] <olleolleolle/readmerdoc-use-svg-for-travis-build-badg-1489403729779>
22
+
23
+ 2017-06-12 Michael Granger <ged@FaerieMUD.org>
24
+
25
+ * .hgignore, .hoerc, History.rdoc, Manifest.txt, lib/pg.rb:
26
+ Bunp minor version, update history, fix manifest/ignore files
27
+ [4729196c11cb]
28
+
29
+ * Merged with bitbucket default
30
+ [f6063a34ae2b]
31
+
32
+ 2017-04-07 Lars Kanis <lars@greiz-reinsdorf.de>
33
+
34
+ * lib/pg.rb:
35
+ Move add_dll_directory to the Runtime namespace.
36
+
37
+ RubyInstaller::Runtime.add_dll_directory is deprecated with
38
+ rubyinstaller-2.4.1-1rc1.
39
+ [050a996456b1]
40
+
41
+ 2017-05-31 Michael Granger <ged@FaerieMUD.org>
42
+
43
+ * Rakefile, lib/pg.rb, lib/pg/connection.rb,
44
+ lib/pg/deprecated_constants.rb, lib/pg/result.rb, pg.gemspec:
45
+ Deprecate the old PGconn, PGresult, and PGError constants.
46
+ [3ce331d8c88e]
47
+
48
+ 2017-06-01 Michael Granger <ged@FaerieMUD.org>
49
+
50
+ * ext/pg_result.c, pg.gemspec, sample/copydata.rb:
51
+ Fix the docs for PG::Result#cmd_tuples
52
+
53
+ Also add an example of the nicer #copy_data way of doing `COPY`.
54
+ [c4a1abc36c47]
55
+
56
+ 2017-03-13 Michael Granger <ged@FaerieMUD.org>
57
+
58
+ * .gems, .rvm.gems, Rakefile, pg.gemspec:
59
+ Update dependencies to latest versions
60
+ [8a15026cfe77]
61
+
62
+ * .hgignore:
63
+ Ignore bundler vendor directory
64
+ [fff7debf0630]
65
+
66
+ * Rakefile.cross:
67
+ Bump Postgresql version for windows binary to 9.6.2
68
+ [11296e69a17f]
69
+
70
+ 2017-03-10 Michael Granger <ged@FaerieMUD.org>
71
+
72
+ * .hgtags:
73
+ Added tag v0.20.0 for changeset e5eb92cca97a
74
+ [409cae555174]
75
+
76
+ * .hgsigs:
77
+ Added signature for changeset 838985377b48
78
+ [e5eb92cca97a] [v0.20.0]
79
+
80
+ * History.rdoc, lib/pg.rb, pg.gemspec:
81
+ Bump the minor version, update history.
82
+ [838985377b48]
83
+
84
+ * .hgignore:
85
+ Ignore .lock files
86
+ [379c198c7185]
87
+
88
+ 2017-02-16 Lars Kanis <lars@greiz-reinsdorf.de>
89
+
90
+ * lib/pg.rb:
91
+ Use block.call instead of yield in proc context
92
+
93
+ yield in a proc context requires Ruby-2.2.
94
+ [aa91b4b14b5c]
95
+
96
+ 2017-01-24 Lars Kanis <lars@greiz-reinsdorf.de>
97
+
98
+ * History.rdoc:
99
+ Update History file regarding RI2 support.
100
+ [d52339653fe3]
101
+
102
+ * lib/pg.rb:
103
+ Add support for RubyInstaller2 to Windows binary gem.
104
+
105
+ RI2 ignores PATH setting for DLL search, but provides it's own API.
106
+ [87fe14131d78]
107
+
108
+ 2017-01-14 Lars Kanis <lars@greiz-reinsdorf.de>
109
+
110
+ * History.rdoc:
111
+ Update History file. [ci-skip]
112
+ [0d1921b825d7]
113
+
114
+ * Rakefile.cross:
115
+ Update Windows binary rubies to support 2.0 to 2.4
116
+ [3736e33ce71e]
117
+
118
+ * ext/pg_connection.c, ext/pg_result.c:
119
+ Change all Fixnum to Integer in documentation.
120
+
121
+ Fixnum are deprecated in Ruby-2.4.
122
+ [2e17f315848e]
123
+
124
+ * ext/pg_type_map.c:
125
+ Avoid compiler warnings about noreturn-functions:
126
+
127
+ ../../../../ext/pg_type_map.c: In function
128
+ ‘pg_typemap_fit_to_result’: ../../../../ext/pg_type_map.c:15:1:
129
+ warning: function might be candidate for attribute ‘noreturn’
130
+ [-Wsuggest-attribute=noreturn] pg_typemap_fit_to_result( VALUE self,
131
+ VALUE result )
132
+ [2af122820861]
133
+
134
+ * spec/pg/type_map_by_class_spec.rb:
135
+ Bignum,Fixnum and Integer are the same in Ruby-2.4.
136
+
137
+ Fixes #255 : https://bitbucket.org/ged/ruby-pg/issues/255
138
+ [a446dfaf9d8f]
139
+
140
+ * Rakefile, pg.gemspec:
141
+ Update rake-compiler and rake-compiler-dock
142
+
143
+ This adds support for Ruby-2.4 on Windows and Ruby version
144
+ constraints for binary gems.
145
+ [6ebcebaad39c]
146
+
147
+ * ext/pg_coder.c:
148
+ Fix method arguments for Coder#encode in documentation.
149
+ [ee79cce8b141]
150
+
151
+ 2016-12-04 Lars Kanis <lars@greiz-reinsdorf.de>
152
+
153
+ * History.rdoc, lib/pg/result.rb, spec/pg/result_spec.rb:
154
+ Fix Result#inspect on a cleared result.
155
+ [0c60865f718e]
156
+
157
+ 2016-11-09 Lars Kanis <lars@greiz-reinsdorf.de>
158
+
159
+ * Merge branch 'master' of github.com:larskanis/ruby-pg
160
+ [db7c584532e5]
161
+
162
+ 2016-11-09 Lars Kanis <kanis@comcard.de>
163
+
164
+ * Rakefile.cross:
165
+ Don't download gems in the rake-compiler-dock, but use the local
166
+ installed gems.
167
+
168
+ This saves traffic and avoids download issues.
169
+ [14e6fa84d31c]
170
+
171
+ * Rakefile.cross:
172
+ Update cross postgres and openssl versions.
173
+ [a6ec62e2b783]
174
+
175
+ * Rakefile:
176
+ Fetch the errorcodes from a specific release version.
177
+
178
+ This avoids introduction of errorcodes, which are not yet released
179
+ and possibly subject to change.
180
+ [b399dae9e988]
181
+
182
+ * ext/errorcodes.def, ext/errorcodes.txt:
183
+ Update errorcodes to PostgreSQL version 9.6.1
184
+ [c1b690f2b47d]
185
+
186
+ 2016-11-09 Michael Granger <ged@FaerieMUD.org>
187
+
188
+ * History.rdoc:
189
+ Merged with d62b04efb055
190
+ [cefe252948ed]
191
+
192
+ 2016-10-21 Lars Kanis <lars@greiz-reinsdorf.de>
193
+
194
+ * lib/pg/text_encoder.rb:
195
+ Fix typo in JSON#encode
196
+ [d62b04efb055]
197
+
198
+ * History.rdoc, lib/pg/text_decoder.rb, lib/pg/text_encoder.rb:
199
+ Use secure JSON methods for JSON (de)serialisation.
200
+
201
+ This fixes issue #248 : https://bitbucket.org/ged/ruby-pg/issues/248
202
+ [fe3e883bead2]
203
+
204
+ 2016-09-21 Michael Granger <ged@FaerieMUD.org>
205
+
206
+ * .hgtags:
207
+ Added tag v0.19.0 for changeset bd2aaa2c5797
208
+ [5ed7106cc770]
209
+
210
+ * .hgsigs:
211
+ Added signature for changeset 8beaa5d72670
212
+ [bd2aaa2c5797] [v0.19.0]
213
+
214
+ * History.rdoc, lib/pg.rb:
215
+ Bump the minor version, update history.
216
+ [8beaa5d72670]
217
+
218
+ 2016-09-04 Lars Kanis <lars@greiz-reinsdorf.de>
219
+
220
+ * ext/pg_connection.c:
221
+ Replace rb_ary_new_from_args() which is missing in Ruby-2.0
222
+
223
+ We don't really need an Array at all, but storing the values on the
224
+ stack is enough.
225
+ [4d9c4ee44d11]
226
+
227
+ * ext/pg_connection.c:
228
+ Use the asynchronous interface for setting the default_encoding.
229
+
230
+ This is another attempt to solve issue https://bitbucket.org/ged
231
+ /ruby-pg/issues/245 While setting the encoding per
232
+ PQsetClientEncoding was already adjusted to release the GVL in a
233
+ previous commit, it did not solve the particular issue with
234
+ pgbouncer.
235
+
236
+ Using the async interface has the advantage, that signals or
237
+ exception events can be processed by the given thread, while a query
238
+ is running.
239
+ [a646a1394e9d]
240
+
241
+ * spec/pg/connection_spec.rb:
242
+ Spec: Use a more effective test for default_internal.
243
+
244
+ UFT-8 is the standard for internal_encoding anyway, so that not
245
+ setting it did not result in a failure.
246
+ [08e7e13687e7]
247
+
248
+ 2016-08-20 Michael Granger <ged@FaerieMUD.org>
249
+
250
+ * certs/ged.pem, pg.gemspec:
251
+ Correct key+cert upgrade.
252
+
253
+ Refs #241.
254
+ [7431b5c1430d]
255
+
256
+ * README.rdoc:
257
+ Merged with upstream
258
+ [cf9ac513102e]
259
+
260
+ 2016-08-20 Lars Kanis <lars@greiz-reinsdorf.de>
261
+
262
+ * History.rdoc, lib/pg/connection.rb:
263
+ Fix wrong exception when running SQL while in #copy_data for output.
264
+
265
+ It raised "undefined method `result_status' for nil:NilClass"
266
+ previously and raises "no COPY in progress" now.
267
+
268
+ This also fixes the failing test of the previous commit.
269
+ [dbfc3856e543]
270
+
271
+ * spec/pg/connection_spec.rb:
272
+ Add tests for running SQL statements while in #copy_data.
273
+
274
+ The test for output currently fails.
275
+ [9b2b1cd54d49]
276
+
277
+ 2016-08-18 Lars Kanis <lars@greiz-reinsdorf.de>
278
+
279
+ * Rakefile:
280
+ Don't update ext/errorcodes.def with every run of rake gem.
281
+
282
+ This fixes the previous commit.
283
+ [43a48561adde]
284
+
285
+ 2016-08-17 Lars Kanis <lars@greiz-reinsdorf.de>
286
+
287
+ * .hgignore, History.rdoc, Rakefile, ext/errorcodes.def:
288
+ Add errorcodes.def to git in order to allow build from git per
289
+ bundler.
290
+ [29ca3eed927d]
291
+
292
+ * History.rdoc:
293
+ Update History.rdoc once more.
294
+ [6874ea8622a1]
295
+
296
+ * README.rdoc:
297
+ Update README regarding to Ruby and PostgreSQL versions.
298
+ [73930bce99d9]
299
+
300
+ * spec/pg/basic_type_mapping_spec.rb:
301
+ Run JSON test on PostgreSQL-9.4+, only.
302
+
303
+ Earlier versions miss the JSONB type.
304
+ [6b23964f70c3]
305
+
306
+ * appveyor.yml:
307
+ Update Appveyor to use Ruby 2.3 and remove 2.0 and 2.1.
308
+ [8ff3d0b07cda]
309
+
310
+ * .travis.yml:
311
+ Remove ruby versions before 2.2, because hoe-deveiate isn't
312
+ compatible with these versions.
313
+ [73279f9db276]
314
+
315
+ * lib/pg/basic_type_mapping.rb, lib/pg/text_decoder.rb,
316
+ lib/pg/text_encoder.rb, spec/pg/basic_type_mapping_spec.rb:
317
+ Add JSON coders and add them to BasicTypeMapForResults and
318
+ BasicTypeMapBasedOnResult
319
+
320
+ Fixes bitbucket issue #212 .
321
+ [b76471234f7a]
322
+
323
+ 2016-08-14 Lars Kanis <lars@greiz-reinsdorf.de>
324
+
325
+ * lib/pg/basic_type_mapping.rb:
326
+ Improve documentation to PG::BasicTypeMapForQueries
327
+ [e7181c452c64]
328
+
329
+ * History.rdoc:
330
+ Update History.rdoc
331
+ [9c3699255853]
332
+
333
+ 2016-08-20 Michael Granger <ged@FaerieMUD.org>
334
+
335
+ * BSDL, README.rdoc, ext/pg.c:
336
+ Update copyright year, license files
337
+ [c77d0997b4e4]
338
+
339
+ * README.rdoc, certs/ged.pem:
340
+ Update/upgrade my signing cert
341
+
342
+ Fixes #241.
343
+ [741c94c3bada]
344
+
345
+ 2016-08-17 Michael Granger <ged@FaerieMUD.org>
346
+
347
+ * pg.gemspec:
348
+ Bump prerelease version in the gemspec
349
+ [f7472e7a7902]
350
+
351
+ 2016-08-14 Lars Kanis <lars@greiz-reinsdorf.de>
352
+
353
+ * Merge git master
354
+ [9b7987626074]
355
+
356
+ 2016-08-13 Lars Kanis <lars@greiz-reinsdorf.de>
357
+
358
+ * Rakefile.cross:
359
+ Update OpenSSL and PostgreSQL for binary Windows gems.
360
+ [edbd5b8dbb85]
361
+
362
+ * History.rdoc:
363
+ Update History.rdoc
364
+ [aca7b024ba0c]
365
+
366
+ * ext/gvl_wrappers.h, ext/pg_connection.c:
367
+ Release GVL while calling PQsetClientEncoding()
368
+
369
+ PQsetClientEncoding() is also called within PG::Connection.new which
370
+ could block due to network delay.
371
+
372
+ This fixes bitbucket issue #245 .
373
+ [41f81b72476f]
374
+
375
+ 2016-06-27 Michael Granger <ged@FaerieMUD.org>
376
+
377
+ * ext/extconf.rb:
378
+ Add __EXTENSIONS__ to Solaris/SmartOS for Ruby >= 2.3.x
379
+
380
+ Fixes #236.
381
+ [5979b3cba237]
382
+
383
+ 2016-04-09 Michael Granger <ged@FaerieMUD.org>
384
+
385
+ * .hgignore, Rakefile, pg.gemspec:
386
+ Deprecate Ruby 1.9, fix license name
387
+ [fc5828a71f2a]
388
+
389
+ * ext/extconf.rb:
390
+ Add mechanism for trying to build without pg_config
391
+ [22a3a8ef3244]
392
+
393
+ 2015-12-25 Lars Kanis <lars@greiz-reinsdorf.de>
394
+
395
+ * ext/pg.h, ext/pg_binary_encoder.c, ext/pg_coder.c,
396
+ ext/pg_connection.c, ext/pg_copy_coder.c, ext/pg_text_encoder.c,
397
+ spec/pg/connection_spec.rb, spec/pg/type_map_by_class_spec.rb,
398
+ spec/pg/type_map_by_mri_type_spec.rb, spec/pg/type_spec.rb:
399
+ Respect character encoding of all strings sent to the server.
400
+
401
+ Previously all strings sent to the server were sent in their
402
+ internal binary representation, without respecting the character
403
+ encoding of strings. Now the encoding of all strings is compared
404
+ with the current connection encoding and converted if they are
405
+ different.
406
+
407
+ Since coders are independent from any database connection, this adds
408
+ a second parameter to PG::Coder#encode, that allows to define the
409
+ destination encoding, which previously was always ASCII_8BIT. This
410
+ encoding should be set to the connection encoding, in practice.
411
+
412
+ This also adds a lot of tests for encoding and decoding data.
413
+
414
+ This implements issue #231 : https://bitbucket.org/ged/ruby-
415
+ pg/issues/231
416
+ [e61a06f1f5ed]
417
+
418
+ 2016-03-22 Michael Granger <ged@FaerieMUD.org>
419
+
420
+ * Rakefile, pg.gemspec:
421
+ Remove GPL from the `licenses` of the Hoespec/gemspec (fixes #72)
422
+ [14d4f1399922]
423
+
424
+ 2016-01-31 Michael Granger <ged@FaerieMUD.org>
425
+
426
+ * Rakefile, pg.gemspec:
427
+ Fix `hg:precheckin` task to re-generate the gemspec.
428
+ [6294e7bdfd2b]
429
+
430
+ * .hoerc, Gemfile, Rakefile, certs/ged.pem:
431
+ Add gem cert, trying out gemspec-based setup.
432
+
433
+ Hopefully Travis and Appveyor will work this way.
434
+ [b3946987e6f4]
435
+
436
+ * lib/pg/basic_type_mapping.rb:
437
+ Fix the example for PG::BasicTypeMapForQueries.
438
+
439
+ Fixes #213.
440
+ [11f13477e4b9]
441
+
442
+ * ext/pg_connection.c, ext/pg_result.c, lib/pg/connection.rb,
443
+ lib/pg/result.rb:
444
+ Small documentation fixes.
445
+
446
+ - Make PG::Connection and PG::Result show up instead of PGconn and
447
+ PGresult.
448
+ - Add docs for PG::Result#inspect.
449
+ - Swap `PGconn.open` for `PG.connect` in an example.
450
+ - Add explicit returns to a few methods.
451
+ [982082c0d77b]
452
+
453
+ * ext/pg_connection.c:
454
+ Clarify differences between class and instance escape methods.
455
+
456
+ Borrow the wording from the PostgreSQL docs about the difference
457
+ between class and instance variants of `escape_string` and
458
+ `escape_bytea` for PG::Connection. Fixes #205.
459
+ [01a8e779edb2]
460
+
461
+ 2016-01-30 Lars Kanis <lars@greiz-reinsdorf.de>
462
+
463
+ * Gemfile:
464
+ Update hoe-deveiate
465
+ [7e95a9dae248]
466
+
467
+ * Rakefile.cross:
468
+ rake-compiler-dock-0.5.1 fixes the issue with bundler while cross
469
+ compilation
470
+
471
+ So we no longer need to disable rubygems.
472
+ [7ad087272591]
473
+
474
+ 2016-01-30 Lars Kanis <larskanis@gmail.com>
475
+
476
+ * Merge pull request #13 from akito19/update_openssl
477
+
478
+ update version OpenSSL
479
+ [9917a9eefcd8]
480
+
481
+ 2016-01-30 Akito Kasai <a.kasai415@gmail.com>
482
+
483
+ * Rakefile.cross:
484
+ update version OpenSSL
485
+ [a9b7e8cbd788]
486
+
487
+ 2016-01-30 Lars Kanis <larskanis@gmail.com>
488
+
489
+ * Merge pull request #12 from akito19/fix_indent_on_README
490
+
491
+ fix indent sample code [skip ci]
492
+ [4e0e144275a2]
493
+
494
+ 2016-01-30 Akito Kasai <a.kasai415@gmail.com>
495
+
496
+ * README.rdoc:
497
+ fix indent sample code
498
+ [dec5b785d96c]
499
+
500
+ 2016-01-12 Lars Kanis <lars@greiz-reinsdorf.de>
501
+
502
+ * ext/pg_connection.c:
503
+ Add missing ifdef for PostgreSQL < 9.5
504
+ [df51313f26b9]
505
+
506
+ 2016-01-11 Lars Kanis <lars@greiz-reinsdorf.de>
507
+
508
+ * ext/extconf.rb, ext/pg_connection.c, lib/pg/connection.rb,
509
+ spec/pg/connection_spec.rb:
510
+ Add PostgreSQL-9.5 functions PQsslInUse(), PQsslAttribute() and
511
+ PQsslAttributeNames().
512
+ [5a437ad15148]
513
+
514
+ 2016-01-12 Lars Kanis <lars@greiz-reinsdorf.de>
515
+
516
+ * spec/helpers.rb:
517
+ Add rspec filter for PostgreSQL-9.5.
518
+ [3b4857e5401c]
519
+
520
+ 2016-01-11 Lars Kanis <lars@greiz-reinsdorf.de>
521
+
522
+ * ext/pg.h:
523
+ Avoid compiler warning about undeclared function gettimeofday().
524
+
525
+ ../../../../ext/pg_connection.c: In function ‘wait_socket_readable’:
526
+ ../../../../ext/pg_connection.c:2393:3: warning: implicit
527
+ declaration of function ‘gettimeofday’ [-Wimplicit-function-
528
+ declaration] gettimeofday(&currtime, NULL);
529
+ [bdd4f3c8fc73]
530
+
531
+ 2016-01-09 Lars Kanis <lars@greiz-reinsdorf.de>
532
+
533
+ * spec/pg/connection_spec.rb:
534
+ Adjust timings in tests for better compat with Windows, which has
535
+ less exact timers.
536
+ [e51a84966ce6]
537
+
538
+ * .travis.yml:
539
+ Bundler is not installed per default on ruby-2.3.0 on travis-ci.
540
+ [d94ffc08a04f]
541
+
542
+ * .rvmrc:
543
+ Remove .rvmrc from repository.
544
+
545
+ This currently breaks the build on travis-ci.
546
+ [fbaac4e36b9e]
547
+
548
+ 2015-08-29 Lars Kanis <lars@greiz-reinsdorf.de>
549
+
550
+ * .travis.yml:
551
+ Switch windows binary gem build on travis-ci to docker.
552
+
553
+ This is faster and the recommended ways to buid the gems now.
554
+ [5fa0071f377a]
555
+
556
+ 2016-01-09 Lars Kanis <lars@greiz-reinsdorf.de>
557
+
558
+ * .travis.yml, appveyor.yml:
559
+ Update appveyor and travis-ci tests from 9.4 and 9.0 to 9.5 and 9.1.
560
+ [a66cd5015f50]
561
+
562
+ 2015-08-29 Lars Kanis <lars@greiz-reinsdorf.de>
563
+
564
+ * Rakefile, Rakefile.cross, lib/pg.rb:
565
+ Remove needless platform specific subdirectory for libpq.dll.
566
+ [b3a270f74fdd]
567
+
568
+ * Rakefile.cross:
569
+ Don't abort 'rake gem:windows' when there are no key/certs for gem
570
+ signing.
571
+ [6c7d9a357ac3]
572
+
573
+ * Rakefile:
574
+ Don't abort the tests, if the pg_ext file is missing.
575
+
576
+ This is required to run the tests with fat binary gems.
577
+ [0115baee0e15]
578
+
579
+ 2016-01-09 Lars Kanis <lars@greiz-reinsdorf.de>
580
+
581
+ * .travis.yml:
582
+ Use ruby '2.3.0' in travis-ci, since the alias '2.3' isn't
583
+ available.
584
+ [d28332e23fbc]
585
+
586
+ * .travis.yml:
587
+ Remove ruby 1.9.3 from travis-ci, since it fails anyway.
588
+ [4173b84490f0]
589
+
590
+ 2016-01-08 Lars Kanis <lars@greiz-reinsdorf.de>
591
+
592
+ * ext/pg_connection.c:
593
+ PQescapeString takes size_t, so RSTRING_LEN is correct.
594
+ [9c8027a0934f]
595
+
596
+ * Rakefile.cross:
597
+ Update PostgreSQL version for cross build to 9.5.0
598
+ [8048fe08c330]
599
+
600
+ 2015-12-31 Lars Kanis <lars@greiz-reinsdorf.de>
601
+
602
+ * ext/pg_connection.c:
603
+ Fix description of encoder_for_put_copy_data
604
+ [4d4de8d69dc0]
605
+
606
+ 2015-12-30 Lars Kanis <lars@greiz-reinsdorf.de>
607
+
608
+ * ext/pg_connection.c:
609
+ Mark local functions as static.
610
+ [1a2c1d85a8fd]
611
+
612
+ 2015-12-29 Lars Kanis <lars@greiz-reinsdorf.de>
613
+
614
+ * ext/pg_connection.c:
615
+ Improve performance of conn.escape by 50%.
616
+
617
+ Copying the string twice and calling rb_obj_is_kind_of() twice isn't
618
+ necessary.
619
+ [a8ebc0163f6b]
620
+
621
+ * ext/pg_connection.c:
622
+ Describe more exactly the difference between quote_ident and
623
+ escape_identifier.
624
+ [b458c0c3d40e]
625
+
626
+ 2016-01-08 Lars Kanis <lars@greiz-reinsdorf.de>
627
+
628
+ * ext/errorcodes.txt:
629
+ Add new error codes introduced in PostgreSQL-9.5 per 'rake
630
+ update_error_codes'
631
+ [698e36b52c7d]
632
+
633
+ 2015-12-26 Lars Kanis <lars@greiz-reinsdorf.de>
634
+
635
+ * .travis.yml:
636
+ Add ruby-2.3 on travis-ci.
637
+ [e53198935b4a]
638
+
639
+ * Rakefile.cross:
640
+ Update libraries for Windows cross build.
641
+ [de4fdcd96eb3]
642
+
643
+ * Gemfile, Rakefile, Rakefile.cross:
644
+ Enable Windows cross build for Ruby-2.3.
645
+ [1a6f2861f9d3]
646
+
647
+ * README.rdoc:
648
+ Merge branch 'master@1' of ../ruby-pg.git.bare
649
+ [b324f3f65a0c]
650
+
651
+ * README.rdoc, ext/pg_copy_coder.c, lib/pg/basic_type_mapping.rb,
652
+ lib/pg/connection.rb:
653
+ Add a lot more of documentation, how COPY can be used with type
654
+ coders and type maps.
655
+ [256c059e4802]
656
+
657
+ 2015-11-13 Michael Granger <ged@FaerieMUD.org>
658
+
659
+ * .hgtags:
660
+ Added tag v0.18.4 for changeset f61127650cd0
661
+ [fdfa6657502e]
662
+
663
+ * .hgsigs:
664
+ Added signature for changeset 75d4f016a17f
665
+ [f61127650cd0] [v0.18.4]
666
+
667
+ * .hgtags:
668
+ Removed tag v0.18.4
669
+ [75d4f016a17f]
670
+
671
+ * README.rdoc:
672
+ Move the gitter link below the extracted links in the README
673
+ [588ea20370ff]
674
+
675
+ * .hgtags:
676
+ Added tag v0.18.4 for changeset 94ef4830540d
677
+ [81cc8a52985e]
678
+
679
+ * .hgsigs:
680
+ Added signature for changeset da42b972b5ab
681
+ [94ef4830540d]
682
+
683
+ * History.rdoc, lib/pg.rb:
684
+ Bump the version, add date to History
685
+ [da42b972b5ab]
686
+
687
+ * .hgignore:
688
+ Ignore some build artifacts
689
+ [f4bd9e53ccab]
690
+
691
+ * Rakefile:
692
+ Only use fivefish formatter when building from repo
693
+ [6161d8eeb3f1]
694
+
695
+ 2015-11-13 Lars Kanis <lars@greiz-reinsdorf.de>
696
+
697
+ * History.rdoc:
698
+ Update History.rdoc regarding PR#22.
699
+ [e4a8a1d41104]
700
+
701
+ * Merge ../ruby-pg.git.bare
702
+ [810c1e4dad4d]
703
+
704
+ 2015-10-08 Lars Kanis <larskanis@gmail.com>
705
+
706
+ * README.rdoc:
707
+ Fix link to appveyor CI tests in the README.
708
+ [604f4dd3d5bd]
709
+
710
+ 2015-11-04 Lars Kanis <lars@greiz-reinsdorf.de>
711
+
712
+ * ext/pg_binary_encoder.c:
713
+ Merged in t-richards/ruby-pg/jemalloc-native-ext (pull request #22)
714
+
715
+ Fix build against jemalloc 4.0.0
716
+ [72168db5fb7b]
717
+
718
+ 2015-09-10 Tom Richards <tom@tomrichards.net>
719
+
720
+ * ext/pg_binary_encoder.c:
721
+ Fix build against jemalloc 4.0.0
722
+ [fe05106909f7] <jemalloc-native-ext>
723
+
724
+ 2015-09-24 Lars Kanis <lars@greiz-reinsdorf.de>
725
+
726
+ * History.rdoc:
727
+ Add latest changes to History.rdoc.
728
+ [11b978b08d63]
729
+
730
+ * History.rdoc:
731
+ Add missing entry in History.rdoc.
732
+
733
+ This fixes bitbucket issue #225 : https://bitbucket.org/ged/ruby-
734
+ pg/issues/225
735
+ [132d674d999f]
736
+
737
+ * Merge ../ruby-pg.git.bare
738
+ [479799a98cfa]
739
+
740
+ * ext/pg_text_encoder.c, spec/pg/connection_spec.rb,
741
+ spec/pg/type_spec.rb:
742
+ Avoid segfault, when quote_ident is called with Array containing
743
+ non-strings.
744
+
745
+ This fixes bitbucket issue #226 : https://bitbucket.org/ged/ruby-
746
+ pg/issues/226
747
+ [4f0bd19e9111]
748
+
749
+ 2015-09-08 Lars Kanis <lars@greiz-reinsdorf.de>
750
+
751
+ * Merge pull request #10 from PuzzleFlow/master
752
+
753
+ Fixing compilation problems with Microsoft Visual Studio 2008.
754
+ [dfb62954f2d6]
755
+
756
+ 2015-09-08 jfali <jfali@puzzleflow.com>
757
+
758
+ * ext/extconf.rb, ext/pg_binary_decoder.c, ext/pg_binary_encoder.c,
759
+ ext/pg_text_decoder.c, ext/pg_text_encoder.c, ext/pg_type_map.c,
760
+ ext/pg_type_map_by_column.c:
761
+ Fixing compilation problems with Microsoft Visual Studio 2008.
762
+ - inttypes.h is not available in MSVC 2008
763
+ - Structs members must be initialized implicitly
764
+ [fcf731d3dff7]
765
+
766
+ 2015-09-07 Lars Kanis <lars@greiz-reinsdorf.de>
767
+
768
+ * README.rdoc:
769
+ Merge pull request #8 from gitter-badger/gitter-badge
770
+
771
+ Add a Gitter chat badge to README.rdoc
772
+ [ab4d5656abce]
773
+
774
+ 2015-03-09 The Gitter Badger <badger@gitter.im>
775
+
776
+ * README.rdoc:
777
+ Added Gitter badge
778
+ [beb02a90f948]
779
+
780
+ 2015-09-03 Michael Granger <ged@FaerieMUD.org>
781
+
782
+ * .hgtags:
783
+ Added tag v0.18.3 for changeset 01c42c68797e
784
+ [4c8df76aff6f]
785
+
786
+ * .hgsigs:
787
+ Added signature for changeset 57291f1e96b9
788
+ [01c42c68797e] [v0.18.3]
789
+
790
+ * .hoerc:
791
+ Exclude some generated files from the Manifest
792
+ [57291f1e96b9]
793
+
794
+ * History.rdoc, lib/pg.rb:
795
+ Bump patch version, update history
796
+ [3b49541c9f12]
797
+
798
+ 2015-09-01 Lars Kanis <lars@greiz-reinsdorf.de>
799
+
800
+ * lib/pg/text_decoder.rb:
801
+ Add missing require
802
+ [d0ba6a2cb10f]
803
+
804
+ * Merge pull request #9 from ramfjord/date-decoder-return-dates
805
+
806
+ Date decoder to return real Dates
807
+ [676def89b826]
808
+
809
+ 2015-06-21 Thomas Ramfjord <thomas.ramfjord@gmail.com>
810
+
811
+ * lib/pg/text_decoder.rb, spec/pg/basic_type_mapping_spec.rb:
812
+ modified TextDecoder::Date to return an actual ruby Date instead of
813
+ a Time
814
+ [c50593d12ba2]
815
+
816
+ 2015-08-20 Lars Kanis <lars@greiz-reinsdorf.de>
817
+
818
+ * Rakefile:
819
+ Add include for Hoe::MercurialHelpers as a temporary solution for
820
+ the error:
821
+
822
+ Packaging tasks require the hoe-mercurial plugin (gem install hoe-
823
+ mercurial)
824
+ [a84f83ff5b31]
825
+
826
+ * History.rdoc:
827
+ Update History.rdoc
828
+ [cadfac537e73]
829
+
830
+ * Merge branch 'master' of github.com:larskanis/ruby-pg
831
+ [d27d6d5a6545]
832
+
833
+ * README.rdoc:
834
+ Add Appveyor status badge to the README.
835
+ [c9637c6efcfb]
836
+
837
+ * appveyor.yml:
838
+ Use 9.3 because 9.0, 9.1 and 9.2 segfault in PG.init_openssl
839
+ [158f6649b7b8]
840
+
841
+ * spec/pg/connection_spec.rb:
842
+ Skip conn#host test on Windows-x64, because it segfaults, currently.
843
+ [04110aad7fc6]
844
+
845
+ * spec/pg/connection_spec.rb:
846
+ libpq on Windows doesn't respect the PGPORT env variable, so we
847
+ accept both.
848
+ [b4b666011f3f]
849
+
850
+ * spec/helpers.rb:
851
+ Older versions of PostgreSQL don't have a pid column, so this could
852
+ raise an exception: TypeError: can't convert nil into Integer
853
+ [48f1145fa631]
854
+
855
+ * Rakefile.cross:
856
+ Update OpenSSL version for Windows cross build.
857
+ [be6b75fef0ff]
858
+
859
+ * appveyor.yml:
860
+ Add CI-tests on appveyor.
861
+ [c2dc9e491853]
862
+
863
+ 2015-06-29 Lars Kanis <kanis@comcard.de>
864
+
865
+ * History.rdoc:
866
+ Merge branch 'master' of https://github.com/larskanis/ruby-pg
867
+
868
+ Conflicts: History.rdoc
869
+ [affb47533d82]
870
+
871
+ * History.rdoc, ext/util.c, spec/pg/type_spec.rb:
872
+ Fix data type resulting in wrong base64 encoding.
873
+ [5fb9170f6a7d]
874
+
875
+ 2015-06-17 Lars Kanis <lars@greiz-reinsdorf.de>
876
+
877
+ * Gemfile, Rakefile, Rakefile.cross:
878
+ Update versions of rake-compiler-dock, OpenSSL and PostgreSQL.
879
+ [10c6b496314c]
880
+
881
+ 2015-06-12 Lars Kanis <lars@greiz-reinsdorf.de>
882
+
883
+ * Rakefile.cross:
884
+ Update OpenSSL and PostgreSQL versions for cross build.
885
+ [02094cca1cf8]
886
+
887
+ 2015-06-11 Lars Kanis <lars@greiz-reinsdorf.de>
888
+
889
+ * History.rdoc, README-Windows.rdoc:
890
+ Update README-Windows in regards to rake-compiler-dock.
891
+ [4d9fd821ec1e]
892
+
893
+ 2015-06-09 Lars Kanis <kanis@comcard.de>
894
+
895
+ * Rakefile.cross:
896
+ Cross build: Ensure ChangeLog file is built on the host side before
897
+ entering the docker container.
898
+ [d32412acff38]
899
+
900
+ * Rakefile.cross:
901
+ Cross build: Add workaround for missing symlink support on Windows.
902
+ [52bb3eef00f0]
903
+
904
+ * Rakefile.cross:
905
+ Explicitly set the gcc-toolchain, instead of deriving from the rake-
906
+ compiler config.
907
+
908
+ Now, that we use the libpq.dll (instead of static linking), we can
909
+ mix the gcc-toolchains. So we better build the dll with the newer
910
+ mingw-w64 toolchain (instead of the old mingw32) and build only the
911
+ extension for ruby-1.9 with the old mingw32-gcc.
912
+ [b3d169fa189b]
913
+
914
+ * Merge https://github.com/ged/ruby-pg
915
+ [5aeb99dda0ca]
916
+
917
+ 2015-05-25 Michael Granger <ged@FaerieMUD.org>
918
+
919
+ * lib/pg/basic_type_mapping.rb:
920
+ Whitespace fixes
921
+ [57cfbc230597]
922
+
923
+ 2015-05-14 Michael Granger <ged@FaerieMUD.org>
924
+
925
+ * .hgtags:
926
+ Added tag v0.18.2 for changeset 22a361201fd1
927
+ [00d6997551e6]
928
+
929
+ * .hgsigs:
930
+ Added signature for changeset 7d31b04e7913
931
+ [d77ab8ab870e]
932
+
933
+ * History.rdoc, lib/pg.rb:
934
+ Bump patch version, update History
935
+ [fa56690fe72d]
936
+
937
+ * Merged with git branch.
938
+ [9b2c80df821d]
939
+
940
+ 2015-06-09 Lars Kanis <kanis@comcard.de>
941
+
942
+ * Rakefile.cross:
943
+ Cross build: Copy gem signing key and certs to be accessable from
944
+ the docker container
945
+ [c5382a785f4d]
946
+
947
+ 2015-06-08 Lars Kanis <lars@greiz-reinsdorf.de>
948
+
949
+ * Merged
950
+ [3d56a65c78c5]
951
+
952
+ * Gemfile, Rakefile, Rakefile.cross:
953
+ Add rake task 'gem:windows' which makes use of the new rake-
954
+ compiler-dock.
955
+
956
+ Also update the Gemfile per 'rake bundler:gemfile' .
957
+ [fafadd62cc6d]
958
+
959
+ * Rakefile.cross:
960
+ Cross build: Work around missing dependency to libcommon in
961
+ PostgreSQL-9.4.0
962
+ [630a22437026]
963
+
964
+ 2015-05-25 Michael Granger <ged@FaerieMUD.org>
965
+
966
+ * ext/pg_connection.c:
967
+ Change instance_of checks to kind_of for subclassing [#220]
968
+ [eb4d3c003bd6]
969
+
970
+ * lib/pg/basic_type_mapping.rb:
971
+ Whitespace fixes
972
+ [4a4368e30bcf]
973
+
974
+ 2015-05-14 Michael Granger <ged@FaerieMUD.org>
975
+
976
+ * .hgtags:
977
+ Added tag v0.18.2 for changeset 22a361201fd1
978
+ [94e26b472c78]
979
+
980
+ * .hgsigs:
981
+ Added signature for changeset 7d31b04e7913
982
+ [22a361201fd1] [v0.18.2]
983
+
984
+ * History.rdoc, lib/pg.rb:
985
+ Bump patch version, update History
986
+ [7d31b04e7913]
987
+
988
+ * Merged with git branch.
989
+ [45a1753da19a]
990
+
991
+ * .rvm.gems:
992
+ Bump the rvm gemset gem versions
993
+ [8050020330d8]
994
+
995
+ 2015-03-13 Lars Kanis <lars@greiz-reinsdorf.de>
996
+
997
+ * ext/pg_text_encoder.c, ext/util.c, ext/util.h:
998
+ Avoid possible symbol name clash when linking againt static libpq.
999
+
1000
+ This should fix issue #209 .
1001
+ [2334a1bc38e6]
1002
+
1003
+ 2015-02-11 Lars Kanis <lars@greiz-reinsdorf.de>
1004
+
1005
+ * ext/pg.c, spec/pg/connection_spec.rb:
1006
+ Merge from git branch.
1007
+ [a7261eb6796f]
1008
+
1009
+ * ext/pg.h, ext/pg_text_decoder.c:
1010
+ Merge branch 'non-c99-compiler'
1011
+ [7e8f1e4da59d]
1012
+
1013
+ 2015-02-06 Lars Kanis <lars@greiz-reinsdorf.de>
1014
+
1015
+ * ext/extconf.rb, ext/pg.h, ext/pg_result.c, ext/pg_text_decoder.c,
1016
+ ext/pg_type_map_by_mri_type.c:
1017
+ Use fixed size arrays in case the compiler doesn't support C99
1018
+ variable length arrays.
1019
+
1020
+ This is notably the MSVC compiler.
1021
+
1022
+ Note: The MSVC build environment is currently not tested on a
1023
+ regular base, so is not fully supported.
1024
+ [a08290a78221]
1025
+
1026
+ 2015-02-11 Lars Kanis <lars@greiz-reinsdorf.de>
1027
+
1028
+ * ext/pg_connection.c:
1029
+ Replace quote_ident implementation with that of
1030
+ PG::TextEncoder::Identifier .
1031
+
1032
+ This allowes quoation of array of strings in addition to plain
1033
+ strings and removes duplicated code.
1034
+
1035
+ It also removes the 63 byte limitation and therefore obsolets pull
1036
+ request #21 https://bitbucket.org/ged/ruby-pg/pull-request/21
1037
+ [b8ac29b020ee]
1038
+
1039
+ * ext/pg.c, ext/pg.h, ext/pg_text_decoder.c, ext/pg_text_encoder.c,
1040
+ spec/pg/connection_spec.rb, spec/pg/type_spec.rb:
1041
+ Derive PG::TextDecoder::Identifier from PG::SimpleDecoder instead of
1042
+ CompositeDecoder
1043
+
1044
+ .. and equally for Encoder.
1045
+
1046
+ Identifiers are strings, so there is no good reason to compose it
1047
+ from other element types. This change allows a faster quoting
1048
+ implementation.
1049
+ [55ec58cabad4]
1050
+
1051
+ 2015-05-14 Michael Granger <ged@FaerieMUD.org>
1052
+
1053
+ * .rvmrc:
1054
+ Bump default rvm Ruby to 2.2
1055
+ [128b075d5800]
1056
+
1057
+ 2015-03-13 Lars Kanis <lars@greiz-reinsdorf.de>
1058
+
1059
+ * ext/pg_text_encoder.c, ext/util.c, ext/util.h:
1060
+ Avoid possible symbol name clash when linking againt static libpq.
1061
+
1062
+ This should fix issue #209 .
1063
+ [b859963462b2]
1064
+
1065
+ 2015-02-11 Lars Kanis <lars@greiz-reinsdorf.de>
1066
+
1067
+ * ext/pg.c, spec/pg/connection_spec.rb:
1068
+ Merge from git branch.
1069
+ [b60c89ee93c8]
1070
+
1071
+ * ext/pg.h, ext/pg_text_decoder.c:
1072
+ Merge branch 'non-c99-compiler'
1073
+ [b111c84b8445]
1074
+
1075
+ 2015-02-06 Lars Kanis <lars@greiz-reinsdorf.de>
1076
+
1077
+ * ext/extconf.rb, ext/pg.h, ext/pg_result.c, ext/pg_text_decoder.c,
1078
+ ext/pg_type_map_by_mri_type.c:
1079
+ Use fixed size arrays in case the compiler doesn't support C99
1080
+ variable length arrays.
1081
+
1082
+ This is notably the MSVC compiler.
1083
+
1084
+ Note: The MSVC build environment is currently not tested on a
1085
+ regular base, so is not fully supported.
1086
+ [1269b8ad77b8]
1087
+
1088
+ 2015-02-11 Lars Kanis <lars@greiz-reinsdorf.de>
1089
+
1090
+ * ext/pg_connection.c:
1091
+ Replace quote_ident implementation with that of
1092
+ PG::TextEncoder::Identifier .
1093
+
1094
+ This allowes quoation of array of strings in addition to plain
1095
+ strings and removes duplicated code.
1096
+
1097
+ It also removes the 63 byte limitation and therefore obsolets pull
1098
+ request #21 https://bitbucket.org/ged/ruby-pg/pull-request/21
1099
+ [714601d05fba]
1100
+
1101
+ * ext/pg.c, ext/pg.h, ext/pg_text_decoder.c, ext/pg_text_encoder.c,
1102
+ spec/pg/connection_spec.rb, spec/pg/type_spec.rb:
1103
+ Derive PG::TextDecoder::Identifier from PG::SimpleDecoder instead of
1104
+ CompositeDecoder
1105
+
1106
+ .. and equally for Encoder.
1107
+
1108
+ Identifiers are strings, so there is no good reason to compose it
1109
+ from other element types. This change allows a faster quoting
1110
+ implementation.
1111
+ [df67241d1a4f]
1112
+
1113
+ 2015-02-03 Michael Granger <ged@FaerieMUD.org>
1114
+
1115
+ * README.rdoc, ext/pg.c:
1116
+ Update copyright notices
1117
+ [447962e0dcba]
1118
+
1119
+ * spec/pg/connection_spec.rb:
1120
+ Whitespace fixes
1121
+ [f4a85f78807d]
1122
+
1123
+ 2014-08-22 Chris Bandy <bandy.chris@gmail.com>
1124
+
1125
+ * lib/pg/connection.rb, spec/pg/connection_spec.rb:
1126
+ Allow URI connection string
1127
+
1128
+ (Imported from https://github.com/ged/ruby-pg/pull/3)
1129
+ [d4579ef9eae4]
1130
+
1131
+ 2015-01-27 Lars Kanis <lars@greiz-reinsdorf.de>
1132
+
1133
+ * lib/pg/text_decoder.rb, spec/pg/type_spec.rb:
1134
+ Fix decoding of fractional timezones like "-00:25:21".
1135
+ [766aa353b392]
1136
+
1137
+ 2015-01-27 Lars Kanis <kanis@comcard.de>
1138
+
1139
+ * History.rdoc, lib/pg/text_decoder.rb, spec/pg/type_spec.rb:
1140
+ Fix decoding of fractional timezones like "04:30".
1141
+
1142
+ This fixes https://bitbucket.org/ged/ruby-pg/issue/203 .
1143
+ [33225805259c]
1144
+
1145
+ 2015-01-16 Lars Kanis <kanis@comcard.de>
1146
+
1147
+ * History.rdoc, ext/extconf.rb, ext/pg_connection.c,
1148
+ spec/pg/connection_spec.rb:
1149
+ Revert "Add PG::Connection#hostaddr. This is new in PostgreSQL-9.4."
1150
+
1151
+ PQhostaddr was removed from final PostgreSQL-9.4.0.
1152
+
1153
+ This fixes issue #202 :https://bitbucket.org/ged/ruby-pg/issue/202
1154
+
1155
+ This reverts commit 03deab7aa63f9a00984014ce59617d552b4eac34.
1156
+ [b51d736bca77]
1157
+
1158
+ * History.rdoc:
1159
+ Add a missing enhancement for pg-0.18.0
1160
+ [a7635c3425f3]
1161
+
1162
+ * .travis.yml:
1163
+ Update ruby and postgresql versions for travic-ci
1164
+ [b67b92f7db97]
1165
+
1166
+ 2015-01-06 Lars Kanis <kanis@comcard.de>
1167
+
1168
+ * Merge from git.
1169
+ [625e9359ac47]
1170
+
1171
+ 2015-01-05 Lars Kanis <kanis@comcard.de>
1172
+
1173
+ * ext/pg_type_map_in_ruby.c:
1174
+ Use a simpler fix for https://bitbucket.org/ged/ruby-
1175
+ pg/commits/a38cf53a96f
1176
+ [3d89d3aae4fd]
1177
+
1178
+ 2015-01-05 Michael Granger <ged@FaerieMUD.org>
1179
+
1180
+ * .hgtags:
1181
+ Added tag v0.18.1 for changeset f97dd6cb4f34
1182
+ [f8122014065a]
1183
+
1184
+ * .hgsigs:
1185
+ Added signature for changeset ba5aff64b5cb
1186
+ [f97dd6cb4f34] [v0.18.1]
1187
+
1188
+ * History.rdoc, lib/pg.rb:
1189
+ Bump the patch version, update history
1190
+ [ba5aff64b5cb]
1191
+
1192
+ * Rakefile:
1193
+ Fix the minimum Ruby version (closes #199)
1194
+ [69422cc8dc45]
1195
+
1196
+ 2015-01-03 Michael Granger <ged@FaerieMUD.org>
1197
+
1198
+ * .hgtags:
1199
+ Added tag v0.18.0 for changeset cfb2bfc0f661
1200
+ [8aff3973f2d2]
1201
+
1202
+ * .hgsigs:
1203
+ Added signature for changeset c519766e3ec9
1204
+ [cfb2bfc0f661] [v0.18.0]
1205
+
1206
+ * History.rdoc:
1207
+ Update the History
1208
+ [c519766e3ec9]
1209
+
1210
+ * Manifest.txt:
1211
+ Keep the manifest sorted so it can be diffed.
1212
+ [d7cdbfd1b516]
1213
+
1214
+ * Rakefile:
1215
+ Add a Rake task for generating the gemspec
1216
+ [ec6d6ce61a15]
1217
+
1
1218
  2014-12-26 Lars Kanis <lars@greiz-reinsdorf.de>
2
1219
 
3
1220
  * lib/pg/basic_type_mapping.rb:
4
1221
  Add a warning about Type OIDs without decoder in
5
1222
  PG::BasicTypeMapForResults.
6
- [592e29cdf2e9] [tip]
1223
+ [592e29cdf2e9]
7
1224
 
8
1225
  2014-12-13 Lars Kanis <lars@greiz-reinsdorf.de>
9
1226
 
@@ -285,7 +1502,7 @@
285
1502
 
286
1503
  * ext/pg_text_encoder.c, spec/pg/type_spec.rb:
287
1504
  Allow non Array values as input for TextEncoder::Array.
288
- [a4725dfca9e4] [github/master]
1505
+ [a4725dfca9e4]
289
1506
 
290
1507
  * ext/pg_coder.c, spec/pg/type_spec.rb:
291
1508
  Clarify handling of nil/NULL values by PG::Coders.
@@ -2590,13 +3807,13 @@
2590
3807
  PQexecParams() itself.
2591
3808
 
2592
3809
  Thanks to Aaron Patterson for the idea.
2593
- [7c313c2355b7] [github/exec_params]
3810
+ [7c313c2355b7]
2594
3811
 
2595
3812
  2013-01-31 Michael Granger <ged@FaerieMUD.org>
2596
3813
 
2597
3814
  * ext/extconf.rb:
2598
3815
  Add experimental -rpath to the LDFLAGS
2599
- [8496c624dffd] [github/rpath_ldflag]
3816
+ [8496c624dffd]
2600
3817
 
2601
3818
  2013-01-30 Michael Granger <ged@FaerieMUD.org>
2602
3819