pg 0.18.4 → 0.21.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (57) hide show
  1. checksums.yaml +4 -4
  2. checksums.yaml.gz.sig +0 -0
  3. data/BSDL +2 -2
  4. data/ChangeLog +689 -5
  5. data/History.rdoc +56 -0
  6. data/Manifest.txt +1 -18
  7. data/README.rdoc +13 -9
  8. data/Rakefile +15 -17
  9. data/Rakefile.cross +8 -7
  10. data/ext/errorcodes.def +25 -0
  11. data/ext/errorcodes.txt +13 -1
  12. data/ext/extconf.rb +9 -1
  13. data/ext/gvl_wrappers.h +4 -0
  14. data/ext/pg.c +4 -3
  15. data/ext/pg.h +6 -3
  16. data/ext/pg_binary_encoder.c +8 -8
  17. data/ext/pg_coder.c +31 -10
  18. data/ext/pg_connection.c +252 -98
  19. data/ext/pg_copy_coder.c +34 -4
  20. data/ext/pg_result.c +20 -14
  21. data/ext/pg_text_encoder.c +62 -42
  22. data/ext/pg_type_map.c +14 -7
  23. data/lib/pg/basic_type_mapping.rb +35 -8
  24. data/lib/pg/connection.rb +46 -10
  25. data/lib/pg/deprecated_constants.rb +21 -0
  26. data/lib/pg/result.rb +10 -5
  27. data/lib/pg/text_decoder.rb +7 -0
  28. data/lib/pg/text_encoder.rb +8 -0
  29. data/lib/pg.rb +21 -9
  30. data/spec/helpers.rb +6 -9
  31. data/spec/pg/basic_type_mapping_spec.rb +54 -0
  32. data/spec/pg/connection_spec.rb +158 -26
  33. data/spec/pg/result_spec.rb +11 -4
  34. data/spec/pg/type_map_by_class_spec.rb +2 -2
  35. data/spec/pg/type_map_by_mri_type_spec.rb +1 -1
  36. data/spec/pg/type_spec.rb +82 -2
  37. data.tar.gz.sig +0 -0
  38. metadata +50 -64
  39. metadata.gz.sig +0 -0
  40. data/sample/array_insert.rb +0 -20
  41. data/sample/async_api.rb +0 -106
  42. data/sample/async_copyto.rb +0 -39
  43. data/sample/async_mixed.rb +0 -56
  44. data/sample/check_conn.rb +0 -21
  45. data/sample/copyfrom.rb +0 -81
  46. data/sample/copyto.rb +0 -19
  47. data/sample/cursor.rb +0 -21
  48. data/sample/disk_usage_report.rb +0 -186
  49. data/sample/issue-119.rb +0 -94
  50. data/sample/losample.rb +0 -69
  51. data/sample/minimal-testcase.rb +0 -17
  52. data/sample/notify_wait.rb +0 -72
  53. data/sample/pg_statistics.rb +0 -294
  54. data/sample/replication_monitor.rb +0 -231
  55. data/sample/test_binary_values.rb +0 -33
  56. data/sample/wal_shipper.rb +0 -434
  57. data/sample/warehouse_partitions.rb +0 -320
data/ChangeLog CHANGED
@@ -1,8 +1,692 @@
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
+
1
657
  2015-11-13 Michael Granger <ged@FaerieMUD.org>
2
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
+
3
687
  * .hgignore:
4
688
  Ignore some build artifacts
5
- [f4bd9e53ccab] [tip]
689
+ [f4bd9e53ccab]
6
690
 
7
691
  * Rakefile:
8
692
  Only use fivefish formatter when building from repo
@@ -281,11 +965,11 @@
281
965
 
282
966
  * ext/pg_connection.c:
283
967
  Change instance_of checks to kind_of for subclassing [#220]
284
- [eb4d3c003bd6] [github/kind-of-fix]
968
+ [eb4d3c003bd6]
285
969
 
286
970
  * lib/pg/basic_type_mapping.rb:
287
971
  Whitespace fixes
288
- [4a4368e30bcf] [github/master]
972
+ [4a4368e30bcf]
289
973
 
290
974
  2015-05-14 Michael Granger <ged@FaerieMUD.org>
291
975
 
@@ -3123,13 +3807,13 @@
3123
3807
  PQexecParams() itself.
3124
3808
 
3125
3809
  Thanks to Aaron Patterson for the idea.
3126
- [7c313c2355b7] [github/exec_params]
3810
+ [7c313c2355b7]
3127
3811
 
3128
3812
  2013-01-31 Michael Granger <ged@FaerieMUD.org>
3129
3813
 
3130
3814
  * ext/extconf.rb:
3131
3815
  Add experimental -rpath to the LDFLAGS
3132
- [8496c624dffd] [github/rpath_ldflag]
3816
+ [8496c624dffd]
3133
3817
 
3134
3818
  2013-01-30 Michael Granger <ged@FaerieMUD.org>
3135
3819