pg 0.18.1 → 0.19.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c2a71f6279b6ff4b259ae30cb251f13841886614
4
- data.tar.gz: 5e371bd632ff3e95e1ba4f1de1439c3582e52909
3
+ metadata.gz: f8e328ce8e21a558a72a6c58d723905babf80f22
4
+ data.tar.gz: ac9256c75e16561725e5e371c9765b26f6b0502e
5
5
  SHA512:
6
- metadata.gz: f46963607a119a3d9c247e4128ba99dfc6ee53994c138c69ee2582a8c0448553ec3cc9a2cfbd91a40f535e3c259ae1d1fbc84cea5fe263a402c07c16e0188dab
7
- data.tar.gz: aa4714f8a7126960060582fb96e1550a77909ff0751f0b73e848abc2d51c75578ff8483951d3a236d7f26474e70128c86f29106caddb458b8027cf9028d6e1e8
6
+ metadata.gz: 9273e0d8a1b916251beb4146e3eae48d62bddeed5082c2174b39c5e3c48b1d09f1141efa99f76bfe942d3083ef505349e17374a9fe798b7bceec802109723504
7
+ data.tar.gz: 64ae211c8d2cf4566e199bb55919089dd639d6df1ca2d98423947ef956437af8cea4202659f8cdfa3af6a718b8a7f44d23baa5c4d6a8e0e67d568a1d0b261e47
checksums.yaml.gz.sig CHANGED
@@ -1,3 +1,3 @@
1
- {�!iH�4��J��ug���0�$VN79Z����S7v����rz��+�ʦ�Aڰ9�=�q� Bn����E�(L�c�W"�S�-g/SCc.
2
- ��)E
3
- 0����\Wym8Fr�'���k��A6���՛-ᨏ20Q��P�Ä��Q+�t���Cp��d�Z�[ qcO*�i �ٹ&1���n^CT_.>�0�D��2� ��N����B�!���9>��g9-~��,_PV�Àqk]�w�6����2�*
1
+ ms1���0�DH� R��^���Ҷ
2
+ Z�
3
+ ��DS�? ��[XUF��'Hgfꡖ-t�\
data.tar.gz.sig CHANGED
Binary file
data/BSDL CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (C) 1993-2010 Yukihiro Matsumoto. All rights reserved.
1
+ Copyright (C) 1993-2013 Yukihiro Matsumoto. All rights reserved.
2
2
 
3
3
  Redistribution and use in source and binary forms, with or without
4
4
  modification, are permitted provided that the following conditions
@@ -19,4 +19,4 @@ OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
19
19
  HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
20
20
  LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
21
21
  OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
22
- SUCH DAMAGE.
22
+ SUCH DAMAGE.
data/ChangeLog CHANGED
@@ -1,9 +1,1009 @@
1
+ 2016-09-04 Lars Kanis <lars@greiz-reinsdorf.de>
2
+
3
+ * ext/pg_connection.c:
4
+ Replace rb_ary_new_from_args() which is missing in Ruby-2.0
5
+
6
+ We don't really need an Array at all, but storing the values on the
7
+ stack is enough.
8
+ [4d9c4ee44d11] [tip]
9
+
10
+ * ext/pg_connection.c:
11
+ Use the asynchronous interface for setting the default_encoding.
12
+
13
+ This is another attempt to solve issue https://bitbucket.org/ged
14
+ /ruby-pg/issues/245 While setting the encoding per
15
+ PQsetClientEncoding was already adjusted to release the GVL in a
16
+ previous commit, it did not solve the particular issue with
17
+ pgbouncer.
18
+
19
+ Using the async interface has the advantage, that signals or
20
+ exception events can be processed by the given thread, while a query
21
+ is running.
22
+ [a646a1394e9d]
23
+
24
+ * spec/pg/connection_spec.rb:
25
+ Spec: Use a more effective test for default_internal.
26
+
27
+ UFT-8 is the standard for internal_encoding anyway, so that not
28
+ setting it did not result in a failure.
29
+ [08e7e13687e7]
30
+
31
+ 2016-08-20 Michael Granger <ged@FaerieMUD.org>
32
+
33
+ * certs/ged.pem, pg.gemspec:
34
+ Correct key+cert upgrade.
35
+
36
+ Refs #241.
37
+ [7431b5c1430d]
38
+
39
+ * README.rdoc:
40
+ Merged with upstream
41
+ [cf9ac513102e]
42
+
43
+ 2016-08-20 Lars Kanis <lars@greiz-reinsdorf.de>
44
+
45
+ * History.rdoc, lib/pg/connection.rb:
46
+ Fix wrong exception when running SQL while in #copy_data for output.
47
+
48
+ It raised "undefined method `result_status' for nil:NilClass"
49
+ previously and raises "no COPY in progress" now.
50
+
51
+ This also fixes the failing test of the previous commit.
52
+ [dbfc3856e543]
53
+
54
+ * spec/pg/connection_spec.rb:
55
+ Add tests for running SQL statements while in #copy_data.
56
+
57
+ The test for output currently fails.
58
+ [9b2b1cd54d49]
59
+
60
+ 2016-08-18 Lars Kanis <lars@greiz-reinsdorf.de>
61
+
62
+ * Rakefile:
63
+ Don't update ext/errorcodes.def with every run of rake gem.
64
+
65
+ This fixes the previous commit.
66
+ [43a48561adde]
67
+
68
+ 2016-08-17 Lars Kanis <lars@greiz-reinsdorf.de>
69
+
70
+ * .hgignore, History.rdoc, Rakefile, ext/errorcodes.def:
71
+ Add errorcodes.def to git in order to allow build from git per
72
+ bundler.
73
+ [29ca3eed927d]
74
+
75
+ * History.rdoc:
76
+ Update History.rdoc once more.
77
+ [6874ea8622a1]
78
+
79
+ * README.rdoc:
80
+ Update README regarding to Ruby and PostgreSQL versions.
81
+ [73930bce99d9]
82
+
83
+ * spec/pg/basic_type_mapping_spec.rb:
84
+ Run JSON test on PostgreSQL-9.4+, only.
85
+
86
+ Earlier versions miss the JSONB type.
87
+ [6b23964f70c3]
88
+
89
+ * appveyor.yml:
90
+ Update Appveyor to use Ruby 2.3 and remove 2.0 and 2.1.
91
+ [8ff3d0b07cda]
92
+
93
+ * .travis.yml:
94
+ Remove ruby versions before 2.2, because hoe-deveiate isn't
95
+ compatible with these versions.
96
+ [73279f9db276]
97
+
98
+ * lib/pg/basic_type_mapping.rb, lib/pg/text_decoder.rb,
99
+ lib/pg/text_encoder.rb, spec/pg/basic_type_mapping_spec.rb:
100
+ Add JSON coders and add them to BasicTypeMapForResults and
101
+ BasicTypeMapBasedOnResult
102
+
103
+ Fixes bitbucket issue #212 .
104
+ [b76471234f7a]
105
+
106
+ 2016-08-14 Lars Kanis <lars@greiz-reinsdorf.de>
107
+
108
+ * lib/pg/basic_type_mapping.rb:
109
+ Improve documentation to PG::BasicTypeMapForQueries
110
+ [e7181c452c64]
111
+
112
+ * History.rdoc:
113
+ Update History.rdoc
114
+ [9c3699255853]
115
+
116
+ 2016-08-20 Michael Granger <ged@FaerieMUD.org>
117
+
118
+ * BSDL, README.rdoc, ext/pg.c:
119
+ Update copyright year, license files
120
+ [c77d0997b4e4]
121
+
122
+ * README.rdoc, certs/ged.pem:
123
+ Update/upgrade my signing cert
124
+
125
+ Fixes #241.
126
+ [741c94c3bada]
127
+
128
+ 2016-08-17 Michael Granger <ged@FaerieMUD.org>
129
+
130
+ * pg.gemspec:
131
+ Bump prerelease version in the gemspec
132
+ [f7472e7a7902]
133
+
134
+ 2016-08-14 Lars Kanis <lars@greiz-reinsdorf.de>
135
+
136
+ * Merge git master
137
+ [9b7987626074]
138
+
139
+ 2016-08-13 Lars Kanis <lars@greiz-reinsdorf.de>
140
+
141
+ * Rakefile.cross:
142
+ Update OpenSSL and PostgreSQL for binary Windows gems.
143
+ [edbd5b8dbb85]
144
+
145
+ * History.rdoc:
146
+ Update History.rdoc
147
+ [aca7b024ba0c]
148
+
149
+ * ext/gvl_wrappers.h, ext/pg_connection.c:
150
+ Release GVL while calling PQsetClientEncoding()
151
+
152
+ PQsetClientEncoding() is also called within PG::Connection.new which
153
+ could block due to network delay.
154
+
155
+ This fixes bitbucket issue #245 .
156
+ [41f81b72476f]
157
+
158
+ 2016-06-27 Michael Granger <ged@FaerieMUD.org>
159
+
160
+ * ext/extconf.rb:
161
+ Add __EXTENSIONS__ to Solaris/SmartOS for Ruby >= 2.3.x
162
+
163
+ Fixes #236.
164
+ [5979b3cba237]
165
+
166
+ 2016-04-09 Michael Granger <ged@FaerieMUD.org>
167
+
168
+ * .hgignore, Rakefile, pg.gemspec:
169
+ Deprecate Ruby 1.9, fix license name
170
+ [fc5828a71f2a]
171
+
172
+ * ext/extconf.rb:
173
+ Add mechanism for trying to build without pg_config
174
+ [22a3a8ef3244]
175
+
176
+ 2015-12-25 Lars Kanis <lars@greiz-reinsdorf.de>
177
+
178
+ * ext/pg.h, ext/pg_binary_encoder.c, ext/pg_coder.c,
179
+ ext/pg_connection.c, ext/pg_copy_coder.c, ext/pg_text_encoder.c,
180
+ spec/pg/connection_spec.rb, spec/pg/type_map_by_class_spec.rb,
181
+ spec/pg/type_map_by_mri_type_spec.rb, spec/pg/type_spec.rb:
182
+ Respect character encoding of all strings sent to the server.
183
+
184
+ Previously all strings sent to the server were sent in their
185
+ internal binary representation, without respecting the character
186
+ encoding of strings. Now the encoding of all strings is compared
187
+ with the current connection encoding and converted if they are
188
+ different.
189
+
190
+ Since coders are independent from any database connection, this adds
191
+ a second parameter to PG::Coder#encode, that allows to define the
192
+ destination encoding, which previously was always ASCII_8BIT. This
193
+ encoding should be set to the connection encoding, in practice.
194
+
195
+ This also adds a lot of tests for encoding and decoding data.
196
+
197
+ This implements issue #231 : https://bitbucket.org/ged/ruby-
198
+ pg/issues/231
199
+ [e61a06f1f5ed]
200
+
201
+ 2016-03-22 Michael Granger <ged@FaerieMUD.org>
202
+
203
+ * Rakefile, pg.gemspec:
204
+ Remove GPL from the `licenses` of the Hoespec/gemspec (fixes #72)
205
+ [14d4f1399922]
206
+
207
+ 2016-01-31 Michael Granger <ged@FaerieMUD.org>
208
+
209
+ * Rakefile, pg.gemspec:
210
+ Fix `hg:precheckin` task to re-generate the gemspec.
211
+ [6294e7bdfd2b]
212
+
213
+ * .hoerc, Gemfile, Rakefile, certs/ged.pem:
214
+ Add gem cert, trying out gemspec-based setup.
215
+
216
+ Hopefully Travis and Appveyor will work this way.
217
+ [b3946987e6f4]
218
+
219
+ * lib/pg/basic_type_mapping.rb:
220
+ Fix the example for PG::BasicTypeMapForQueries.
221
+
222
+ Fixes #213.
223
+ [11f13477e4b9]
224
+
225
+ * ext/pg_connection.c, ext/pg_result.c, lib/pg/connection.rb,
226
+ lib/pg/result.rb:
227
+ Small documentation fixes.
228
+
229
+ - Make PG::Connection and PG::Result show up instead of PGconn and
230
+ PGresult.
231
+ - Add docs for PG::Result#inspect.
232
+ - Swap `PGconn.open` for `PG.connect` in an example.
233
+ - Add explicit returns to a few methods.
234
+ [982082c0d77b]
235
+
236
+ * ext/pg_connection.c:
237
+ Clarify differences between class and instance escape methods.
238
+
239
+ Borrow the wording from the PostgreSQL docs about the difference
240
+ between class and instance variants of `escape_string` and
241
+ `escape_bytea` for PG::Connection. Fixes #205.
242
+ [01a8e779edb2]
243
+
244
+ 2016-01-30 Lars Kanis <lars@greiz-reinsdorf.de>
245
+
246
+ * Gemfile:
247
+ Update hoe-deveiate
248
+ [7e95a9dae248]
249
+
250
+ * Rakefile.cross:
251
+ rake-compiler-dock-0.5.1 fixes the issue with bundler while cross
252
+ compilation
253
+
254
+ So we no longer need to disable rubygems.
255
+ [7ad087272591]
256
+
257
+ 2016-01-30 Lars Kanis <larskanis@gmail.com>
258
+
259
+ * Merge pull request #13 from akito19/update_openssl
260
+
261
+ update version OpenSSL
262
+ [9917a9eefcd8]
263
+
264
+ 2016-01-30 Akito Kasai <a.kasai415@gmail.com>
265
+
266
+ * Rakefile.cross:
267
+ update version OpenSSL
268
+ [a9b7e8cbd788]
269
+
270
+ 2016-01-30 Lars Kanis <larskanis@gmail.com>
271
+
272
+ * Merge pull request #12 from akito19/fix_indent_on_README
273
+
274
+ fix indent sample code [skip ci]
275
+ [4e0e144275a2]
276
+
277
+ 2016-01-30 Akito Kasai <a.kasai415@gmail.com>
278
+
279
+ * README.rdoc:
280
+ fix indent sample code
281
+ [dec5b785d96c]
282
+
283
+ 2016-01-12 Lars Kanis <lars@greiz-reinsdorf.de>
284
+
285
+ * ext/pg_connection.c:
286
+ Add missing ifdef for PostgreSQL < 9.5
287
+ [df51313f26b9]
288
+
289
+ 2016-01-11 Lars Kanis <lars@greiz-reinsdorf.de>
290
+
291
+ * ext/extconf.rb, ext/pg_connection.c, lib/pg/connection.rb,
292
+ spec/pg/connection_spec.rb:
293
+ Add PostgreSQL-9.5 functions PQsslInUse(), PQsslAttribute() and
294
+ PQsslAttributeNames().
295
+ [5a437ad15148]
296
+
297
+ 2016-01-12 Lars Kanis <lars@greiz-reinsdorf.de>
298
+
299
+ * spec/helpers.rb:
300
+ Add rspec filter for PostgreSQL-9.5.
301
+ [3b4857e5401c]
302
+
303
+ 2016-01-11 Lars Kanis <lars@greiz-reinsdorf.de>
304
+
305
+ * ext/pg.h:
306
+ Avoid compiler warning about undeclared function gettimeofday().
307
+
308
+ ../../../../ext/pg_connection.c: In function ‘wait_socket_readable’:
309
+ ../../../../ext/pg_connection.c:2393:3: warning: implicit
310
+ declaration of function ‘gettimeofday’ [-Wimplicit-function-
311
+ declaration] gettimeofday(&currtime, NULL);
312
+ [bdd4f3c8fc73]
313
+
314
+ 2016-01-09 Lars Kanis <lars@greiz-reinsdorf.de>
315
+
316
+ * spec/pg/connection_spec.rb:
317
+ Adjust timings in tests for better compat with Windows, which has
318
+ less exact timers.
319
+ [e51a84966ce6]
320
+
321
+ * .travis.yml:
322
+ Bundler is not installed per default on ruby-2.3.0 on travis-ci.
323
+ [d94ffc08a04f]
324
+
325
+ * .rvmrc:
326
+ Remove .rvmrc from repository.
327
+
328
+ This currently breaks the build on travis-ci.
329
+ [fbaac4e36b9e]
330
+
331
+ 2015-08-29 Lars Kanis <lars@greiz-reinsdorf.de>
332
+
333
+ * .travis.yml:
334
+ Switch windows binary gem build on travis-ci to docker.
335
+
336
+ This is faster and the recommended ways to buid the gems now.
337
+ [5fa0071f377a]
338
+
339
+ 2016-01-09 Lars Kanis <lars@greiz-reinsdorf.de>
340
+
341
+ * .travis.yml, appveyor.yml:
342
+ Update appveyor and travis-ci tests from 9.4 and 9.0 to 9.5 and 9.1.
343
+ [a66cd5015f50]
344
+
345
+ 2015-08-29 Lars Kanis <lars@greiz-reinsdorf.de>
346
+
347
+ * Rakefile, Rakefile.cross, lib/pg.rb:
348
+ Remove needless platform specific subdirectory for libpq.dll.
349
+ [b3a270f74fdd]
350
+
351
+ * Rakefile.cross:
352
+ Don't abort 'rake gem:windows' when there are no key/certs for gem
353
+ signing.
354
+ [6c7d9a357ac3]
355
+
356
+ * Rakefile:
357
+ Don't abort the tests, if the pg_ext file is missing.
358
+
359
+ This is required to run the tests with fat binary gems.
360
+ [0115baee0e15]
361
+
362
+ 2016-01-09 Lars Kanis <lars@greiz-reinsdorf.de>
363
+
364
+ * .travis.yml:
365
+ Use ruby '2.3.0' in travis-ci, since the alias '2.3' isn't
366
+ available.
367
+ [d28332e23fbc]
368
+
369
+ * .travis.yml:
370
+ Remove ruby 1.9.3 from travis-ci, since it fails anyway.
371
+ [4173b84490f0]
372
+
373
+ 2016-01-08 Lars Kanis <lars@greiz-reinsdorf.de>
374
+
375
+ * ext/pg_connection.c:
376
+ PQescapeString takes size_t, so RSTRING_LEN is correct.
377
+ [9c8027a0934f]
378
+
379
+ * Rakefile.cross:
380
+ Update PostgreSQL version for cross build to 9.5.0
381
+ [8048fe08c330]
382
+
383
+ 2015-12-31 Lars Kanis <lars@greiz-reinsdorf.de>
384
+
385
+ * ext/pg_connection.c:
386
+ Fix description of encoder_for_put_copy_data
387
+ [4d4de8d69dc0]
388
+
389
+ 2015-12-30 Lars Kanis <lars@greiz-reinsdorf.de>
390
+
391
+ * ext/pg_connection.c:
392
+ Mark local functions as static.
393
+ [1a2c1d85a8fd]
394
+
395
+ 2015-12-29 Lars Kanis <lars@greiz-reinsdorf.de>
396
+
397
+ * ext/pg_connection.c:
398
+ Improve performance of conn.escape by 50%.
399
+
400
+ Copying the string twice and calling rb_obj_is_kind_of() twice isn't
401
+ necessary.
402
+ [a8ebc0163f6b]
403
+
404
+ * ext/pg_connection.c:
405
+ Describe more exactly the difference between quote_ident and
406
+ escape_identifier.
407
+ [b458c0c3d40e]
408
+
409
+ 2016-01-08 Lars Kanis <lars@greiz-reinsdorf.de>
410
+
411
+ * ext/errorcodes.txt:
412
+ Add new error codes introduced in PostgreSQL-9.5 per 'rake
413
+ update_error_codes'
414
+ [698e36b52c7d]
415
+
416
+ 2015-12-26 Lars Kanis <lars@greiz-reinsdorf.de>
417
+
418
+ * .travis.yml:
419
+ Add ruby-2.3 on travis-ci.
420
+ [e53198935b4a]
421
+
422
+ * Rakefile.cross:
423
+ Update libraries for Windows cross build.
424
+ [de4fdcd96eb3]
425
+
426
+ * Gemfile, Rakefile, Rakefile.cross:
427
+ Enable Windows cross build for Ruby-2.3.
428
+ [1a6f2861f9d3]
429
+
430
+ * README.rdoc:
431
+ Merge branch 'master@1' of ../ruby-pg.git.bare
432
+ [b324f3f65a0c]
433
+
434
+ * README.rdoc, ext/pg_copy_coder.c, lib/pg/basic_type_mapping.rb,
435
+ lib/pg/connection.rb:
436
+ Add a lot more of documentation, how COPY can be used with type
437
+ coders and type maps.
438
+ [256c059e4802]
439
+
440
+ 2015-11-13 Michael Granger <ged@FaerieMUD.org>
441
+
442
+ * .hgtags:
443
+ Added tag v0.18.4 for changeset f61127650cd0
444
+ [fdfa6657502e]
445
+
446
+ * .hgsigs:
447
+ Added signature for changeset 75d4f016a17f
448
+ [f61127650cd0] [v0.18.4]
449
+
450
+ * .hgtags:
451
+ Removed tag v0.18.4
452
+ [75d4f016a17f]
453
+
454
+ * README.rdoc:
455
+ Move the gitter link below the extracted links in the README
456
+ [588ea20370ff]
457
+
458
+ * .hgtags:
459
+ Added tag v0.18.4 for changeset 94ef4830540d
460
+ [81cc8a52985e]
461
+
462
+ * .hgsigs:
463
+ Added signature for changeset da42b972b5ab
464
+ [94ef4830540d]
465
+
466
+ * History.rdoc, lib/pg.rb:
467
+ Bump the version, add date to History
468
+ [da42b972b5ab]
469
+
470
+ * .hgignore:
471
+ Ignore some build artifacts
472
+ [f4bd9e53ccab]
473
+
474
+ * Rakefile:
475
+ Only use fivefish formatter when building from repo
476
+ [6161d8eeb3f1]
477
+
478
+ 2015-11-13 Lars Kanis <lars@greiz-reinsdorf.de>
479
+
480
+ * History.rdoc:
481
+ Update History.rdoc regarding PR#22.
482
+ [e4a8a1d41104]
483
+
484
+ * Merge ../ruby-pg.git.bare
485
+ [810c1e4dad4d]
486
+
487
+ 2015-10-08 Lars Kanis <larskanis@gmail.com>
488
+
489
+ * README.rdoc:
490
+ Fix link to appveyor CI tests in the README.
491
+ [604f4dd3d5bd]
492
+
493
+ 2015-11-04 Lars Kanis <lars@greiz-reinsdorf.de>
494
+
495
+ * ext/pg_binary_encoder.c:
496
+ Merged in t-richards/ruby-pg/jemalloc-native-ext (pull request #22)
497
+
498
+ Fix build against jemalloc 4.0.0
499
+ [72168db5fb7b]
500
+
501
+ 2015-09-10 Tom Richards <tom@tomrichards.net>
502
+
503
+ * ext/pg_binary_encoder.c:
504
+ Fix build against jemalloc 4.0.0
505
+ [fe05106909f7] <jemalloc-native-ext>
506
+
507
+ 2015-09-24 Lars Kanis <lars@greiz-reinsdorf.de>
508
+
509
+ * History.rdoc:
510
+ Add latest changes to History.rdoc.
511
+ [11b978b08d63]
512
+
513
+ * History.rdoc:
514
+ Add missing entry in History.rdoc.
515
+
516
+ This fixes bitbucket issue #225 : https://bitbucket.org/ged/ruby-
517
+ pg/issues/225
518
+ [132d674d999f]
519
+
520
+ * Merge ../ruby-pg.git.bare
521
+ [479799a98cfa]
522
+
523
+ * ext/pg_text_encoder.c, spec/pg/connection_spec.rb,
524
+ spec/pg/type_spec.rb:
525
+ Avoid segfault, when quote_ident is called with Array containing
526
+ non-strings.
527
+
528
+ This fixes bitbucket issue #226 : https://bitbucket.org/ged/ruby-
529
+ pg/issues/226
530
+ [4f0bd19e9111]
531
+
532
+ 2015-09-08 Lars Kanis <lars@greiz-reinsdorf.de>
533
+
534
+ * Merge pull request #10 from PuzzleFlow/master
535
+
536
+ Fixing compilation problems with Microsoft Visual Studio 2008.
537
+ [dfb62954f2d6]
538
+
539
+ 2015-09-08 jfali <jfali@puzzleflow.com>
540
+
541
+ * ext/extconf.rb, ext/pg_binary_decoder.c, ext/pg_binary_encoder.c,
542
+ ext/pg_text_decoder.c, ext/pg_text_encoder.c, ext/pg_type_map.c,
543
+ ext/pg_type_map_by_column.c:
544
+ Fixing compilation problems with Microsoft Visual Studio 2008.
545
+ - inttypes.h is not available in MSVC 2008
546
+ - Structs members must be initialized implicitly
547
+ [fcf731d3dff7]
548
+
549
+ 2015-09-07 Lars Kanis <lars@greiz-reinsdorf.de>
550
+
551
+ * README.rdoc:
552
+ Merge pull request #8 from gitter-badger/gitter-badge
553
+
554
+ Add a Gitter chat badge to README.rdoc
555
+ [ab4d5656abce]
556
+
557
+ 2015-03-09 The Gitter Badger <badger@gitter.im>
558
+
559
+ * README.rdoc:
560
+ Added Gitter badge
561
+ [beb02a90f948]
562
+
563
+ 2015-09-03 Michael Granger <ged@FaerieMUD.org>
564
+
565
+ * .hgtags:
566
+ Added tag v0.18.3 for changeset 01c42c68797e
567
+ [4c8df76aff6f]
568
+
569
+ * .hgsigs:
570
+ Added signature for changeset 57291f1e96b9
571
+ [01c42c68797e] [v0.18.3]
572
+
573
+ * .hoerc:
574
+ Exclude some generated files from the Manifest
575
+ [57291f1e96b9]
576
+
577
+ * History.rdoc, lib/pg.rb:
578
+ Bump patch version, update history
579
+ [3b49541c9f12]
580
+
581
+ 2015-09-01 Lars Kanis <lars@greiz-reinsdorf.de>
582
+
583
+ * lib/pg/text_decoder.rb:
584
+ Add missing require
585
+ [d0ba6a2cb10f]
586
+
587
+ * Merge pull request #9 from ramfjord/date-decoder-return-dates
588
+
589
+ Date decoder to return real Dates
590
+ [676def89b826]
591
+
592
+ 2015-06-21 Thomas Ramfjord <thomas.ramfjord@gmail.com>
593
+
594
+ * lib/pg/text_decoder.rb, spec/pg/basic_type_mapping_spec.rb:
595
+ modified TextDecoder::Date to return an actual ruby Date instead of
596
+ a Time
597
+ [c50593d12ba2]
598
+
599
+ 2015-08-20 Lars Kanis <lars@greiz-reinsdorf.de>
600
+
601
+ * Rakefile:
602
+ Add include for Hoe::MercurialHelpers as a temporary solution for
603
+ the error:
604
+
605
+ Packaging tasks require the hoe-mercurial plugin (gem install hoe-
606
+ mercurial)
607
+ [a84f83ff5b31]
608
+
609
+ * History.rdoc:
610
+ Update History.rdoc
611
+ [cadfac537e73]
612
+
613
+ * Merge branch 'master' of github.com:larskanis/ruby-pg
614
+ [d27d6d5a6545]
615
+
616
+ * README.rdoc:
617
+ Add Appveyor status badge to the README.
618
+ [c9637c6efcfb]
619
+
620
+ * appveyor.yml:
621
+ Use 9.3 because 9.0, 9.1 and 9.2 segfault in PG.init_openssl
622
+ [158f6649b7b8]
623
+
624
+ * spec/pg/connection_spec.rb:
625
+ Skip conn#host test on Windows-x64, because it segfaults, currently.
626
+ [04110aad7fc6]
627
+
628
+ * spec/pg/connection_spec.rb:
629
+ libpq on Windows doesn't respect the PGPORT env variable, so we
630
+ accept both.
631
+ [b4b666011f3f]
632
+
633
+ * spec/helpers.rb:
634
+ Older versions of PostgreSQL don't have a pid column, so this could
635
+ raise an exception: TypeError: can't convert nil into Integer
636
+ [48f1145fa631]
637
+
638
+ * Rakefile.cross:
639
+ Update OpenSSL version for Windows cross build.
640
+ [be6b75fef0ff]
641
+
642
+ * appveyor.yml:
643
+ Add CI-tests on appveyor.
644
+ [c2dc9e491853]
645
+
646
+ 2015-06-29 Lars Kanis <kanis@comcard.de>
647
+
648
+ * History.rdoc:
649
+ Merge branch 'master' of https://github.com/larskanis/ruby-pg
650
+
651
+ Conflicts: History.rdoc
652
+ [affb47533d82]
653
+
654
+ * History.rdoc, ext/util.c, spec/pg/type_spec.rb:
655
+ Fix data type resulting in wrong base64 encoding.
656
+ [5fb9170f6a7d]
657
+
658
+ 2015-06-17 Lars Kanis <lars@greiz-reinsdorf.de>
659
+
660
+ * Gemfile, Rakefile, Rakefile.cross:
661
+ Update versions of rake-compiler-dock, OpenSSL and PostgreSQL.
662
+ [10c6b496314c]
663
+
664
+ 2015-06-12 Lars Kanis <lars@greiz-reinsdorf.de>
665
+
666
+ * Rakefile.cross:
667
+ Update OpenSSL and PostgreSQL versions for cross build.
668
+ [02094cca1cf8]
669
+
670
+ 2015-06-11 Lars Kanis <lars@greiz-reinsdorf.de>
671
+
672
+ * History.rdoc, README-Windows.rdoc:
673
+ Update README-Windows in regards to rake-compiler-dock.
674
+ [4d9fd821ec1e]
675
+
676
+ 2015-06-09 Lars Kanis <kanis@comcard.de>
677
+
678
+ * Rakefile.cross:
679
+ Cross build: Ensure ChangeLog file is built on the host side before
680
+ entering the docker container.
681
+ [d32412acff38]
682
+
683
+ * Rakefile.cross:
684
+ Cross build: Add workaround for missing symlink support on Windows.
685
+ [52bb3eef00f0]
686
+
687
+ * Rakefile.cross:
688
+ Explicitly set the gcc-toolchain, instead of deriving from the rake-
689
+ compiler config.
690
+
691
+ Now, that we use the libpq.dll (instead of static linking), we can
692
+ mix the gcc-toolchains. So we better build the dll with the newer
693
+ mingw-w64 toolchain (instead of the old mingw32) and build only the
694
+ extension for ruby-1.9 with the old mingw32-gcc.
695
+ [b3d169fa189b]
696
+
697
+ * Merge https://github.com/ged/ruby-pg
698
+ [5aeb99dda0ca]
699
+
700
+ 2015-05-25 Michael Granger <ged@FaerieMUD.org>
701
+
702
+ * lib/pg/basic_type_mapping.rb:
703
+ Whitespace fixes
704
+ [57cfbc230597]
705
+
706
+ 2015-05-14 Michael Granger <ged@FaerieMUD.org>
707
+
708
+ * .hgtags:
709
+ Added tag v0.18.2 for changeset 22a361201fd1
710
+ [00d6997551e6]
711
+
712
+ * .hgsigs:
713
+ Added signature for changeset 7d31b04e7913
714
+ [d77ab8ab870e]
715
+
716
+ * History.rdoc, lib/pg.rb:
717
+ Bump patch version, update History
718
+ [fa56690fe72d]
719
+
720
+ * Merged with git branch.
721
+ [9b2c80df821d]
722
+
723
+ 2015-06-09 Lars Kanis <kanis@comcard.de>
724
+
725
+ * Rakefile.cross:
726
+ Cross build: Copy gem signing key and certs to be accessable from
727
+ the docker container
728
+ [c5382a785f4d]
729
+
730
+ 2015-06-08 Lars Kanis <lars@greiz-reinsdorf.de>
731
+
732
+ * Merged
733
+ [3d56a65c78c5]
734
+
735
+ * Gemfile, Rakefile, Rakefile.cross:
736
+ Add rake task 'gem:windows' which makes use of the new rake-
737
+ compiler-dock.
738
+
739
+ Also update the Gemfile per 'rake bundler:gemfile' .
740
+ [fafadd62cc6d]
741
+
742
+ * Rakefile.cross:
743
+ Cross build: Work around missing dependency to libcommon in
744
+ PostgreSQL-9.4.0
745
+ [630a22437026]
746
+
747
+ 2015-05-25 Michael Granger <ged@FaerieMUD.org>
748
+
749
+ * ext/pg_connection.c:
750
+ Change instance_of checks to kind_of for subclassing [#220]
751
+ [eb4d3c003bd6]
752
+
753
+ * lib/pg/basic_type_mapping.rb:
754
+ Whitespace fixes
755
+ [4a4368e30bcf]
756
+
757
+ 2015-05-14 Michael Granger <ged@FaerieMUD.org>
758
+
759
+ * .hgtags:
760
+ Added tag v0.18.2 for changeset 22a361201fd1
761
+ [94e26b472c78]
762
+
763
+ * .hgsigs:
764
+ Added signature for changeset 7d31b04e7913
765
+ [22a361201fd1] [v0.18.2]
766
+
767
+ * History.rdoc, lib/pg.rb:
768
+ Bump patch version, update History
769
+ [7d31b04e7913]
770
+
771
+ * Merged with git branch.
772
+ [45a1753da19a]
773
+
774
+ * .rvm.gems:
775
+ Bump the rvm gemset gem versions
776
+ [8050020330d8]
777
+
778
+ 2015-03-13 Lars Kanis <lars@greiz-reinsdorf.de>
779
+
780
+ * ext/pg_text_encoder.c, ext/util.c, ext/util.h:
781
+ Avoid possible symbol name clash when linking againt static libpq.
782
+
783
+ This should fix issue #209 .
784
+ [2334a1bc38e6]
785
+
786
+ 2015-02-11 Lars Kanis <lars@greiz-reinsdorf.de>
787
+
788
+ * ext/pg.c, spec/pg/connection_spec.rb:
789
+ Merge from git branch.
790
+ [a7261eb6796f]
791
+
792
+ * ext/pg.h, ext/pg_text_decoder.c:
793
+ Merge branch 'non-c99-compiler'
794
+ [7e8f1e4da59d]
795
+
796
+ 2015-02-06 Lars Kanis <lars@greiz-reinsdorf.de>
797
+
798
+ * ext/extconf.rb, ext/pg.h, ext/pg_result.c, ext/pg_text_decoder.c,
799
+ ext/pg_type_map_by_mri_type.c:
800
+ Use fixed size arrays in case the compiler doesn't support C99
801
+ variable length arrays.
802
+
803
+ This is notably the MSVC compiler.
804
+
805
+ Note: The MSVC build environment is currently not tested on a
806
+ regular base, so is not fully supported.
807
+ [a08290a78221]
808
+
809
+ 2015-02-11 Lars Kanis <lars@greiz-reinsdorf.de>
810
+
811
+ * ext/pg_connection.c:
812
+ Replace quote_ident implementation with that of
813
+ PG::TextEncoder::Identifier .
814
+
815
+ This allowes quoation of array of strings in addition to plain
816
+ strings and removes duplicated code.
817
+
818
+ It also removes the 63 byte limitation and therefore obsolets pull
819
+ request #21 https://bitbucket.org/ged/ruby-pg/pull-request/21
820
+ [b8ac29b020ee]
821
+
822
+ * ext/pg.c, ext/pg.h, ext/pg_text_decoder.c, ext/pg_text_encoder.c,
823
+ spec/pg/connection_spec.rb, spec/pg/type_spec.rb:
824
+ Derive PG::TextDecoder::Identifier from PG::SimpleDecoder instead of
825
+ CompositeDecoder
826
+
827
+ .. and equally for Encoder.
828
+
829
+ Identifiers are strings, so there is no good reason to compose it
830
+ from other element types. This change allows a faster quoting
831
+ implementation.
832
+ [55ec58cabad4]
833
+
834
+ 2015-05-14 Michael Granger <ged@FaerieMUD.org>
835
+
836
+ * .rvmrc:
837
+ Bump default rvm Ruby to 2.2
838
+ [128b075d5800]
839
+
840
+ 2015-03-13 Lars Kanis <lars@greiz-reinsdorf.de>
841
+
842
+ * ext/pg_text_encoder.c, ext/util.c, ext/util.h:
843
+ Avoid possible symbol name clash when linking againt static libpq.
844
+
845
+ This should fix issue #209 .
846
+ [b859963462b2]
847
+
848
+ 2015-02-11 Lars Kanis <lars@greiz-reinsdorf.de>
849
+
850
+ * ext/pg.c, spec/pg/connection_spec.rb:
851
+ Merge from git branch.
852
+ [b60c89ee93c8]
853
+
854
+ * ext/pg.h, ext/pg_text_decoder.c:
855
+ Merge branch 'non-c99-compiler'
856
+ [b111c84b8445]
857
+
858
+ 2015-02-06 Lars Kanis <lars@greiz-reinsdorf.de>
859
+
860
+ * ext/extconf.rb, ext/pg.h, ext/pg_result.c, ext/pg_text_decoder.c,
861
+ ext/pg_type_map_by_mri_type.c:
862
+ Use fixed size arrays in case the compiler doesn't support C99
863
+ variable length arrays.
864
+
865
+ This is notably the MSVC compiler.
866
+
867
+ Note: The MSVC build environment is currently not tested on a
868
+ regular base, so is not fully supported.
869
+ [1269b8ad77b8]
870
+
871
+ 2015-02-11 Lars Kanis <lars@greiz-reinsdorf.de>
872
+
873
+ * ext/pg_connection.c:
874
+ Replace quote_ident implementation with that of
875
+ PG::TextEncoder::Identifier .
876
+
877
+ This allowes quoation of array of strings in addition to plain
878
+ strings and removes duplicated code.
879
+
880
+ It also removes the 63 byte limitation and therefore obsolets pull
881
+ request #21 https://bitbucket.org/ged/ruby-pg/pull-request/21
882
+ [714601d05fba]
883
+
884
+ * ext/pg.c, ext/pg.h, ext/pg_text_decoder.c, ext/pg_text_encoder.c,
885
+ spec/pg/connection_spec.rb, spec/pg/type_spec.rb:
886
+ Derive PG::TextDecoder::Identifier from PG::SimpleDecoder instead of
887
+ CompositeDecoder
888
+
889
+ .. and equally for Encoder.
890
+
891
+ Identifiers are strings, so there is no good reason to compose it
892
+ from other element types. This change allows a faster quoting
893
+ implementation.
894
+ [df67241d1a4f]
895
+
896
+ 2015-02-03 Michael Granger <ged@FaerieMUD.org>
897
+
898
+ * README.rdoc, ext/pg.c:
899
+ Update copyright notices
900
+ [447962e0dcba]
901
+
902
+ * spec/pg/connection_spec.rb:
903
+ Whitespace fixes
904
+ [f4a85f78807d]
905
+
906
+ 2014-08-22 Chris Bandy <bandy.chris@gmail.com>
907
+
908
+ * lib/pg/connection.rb, spec/pg/connection_spec.rb:
909
+ Allow URI connection string
910
+
911
+ (Imported from https://github.com/ged/ruby-pg/pull/3)
912
+ [d4579ef9eae4]
913
+
914
+ 2015-01-27 Lars Kanis <lars@greiz-reinsdorf.de>
915
+
916
+ * lib/pg/text_decoder.rb, spec/pg/type_spec.rb:
917
+ Fix decoding of fractional timezones like "-00:25:21".
918
+ [766aa353b392]
919
+
920
+ 2015-01-27 Lars Kanis <kanis@comcard.de>
921
+
922
+ * History.rdoc, lib/pg/text_decoder.rb, spec/pg/type_spec.rb:
923
+ Fix decoding of fractional timezones like "04:30".
924
+
925
+ This fixes https://bitbucket.org/ged/ruby-pg/issue/203 .
926
+ [33225805259c]
927
+
928
+ 2015-01-16 Lars Kanis <kanis@comcard.de>
929
+
930
+ * History.rdoc, ext/extconf.rb, ext/pg_connection.c,
931
+ spec/pg/connection_spec.rb:
932
+ Revert "Add PG::Connection#hostaddr. This is new in PostgreSQL-9.4."
933
+
934
+ PQhostaddr was removed from final PostgreSQL-9.4.0.
935
+
936
+ This fixes issue #202 :https://bitbucket.org/ged/ruby-pg/issue/202
937
+
938
+ This reverts commit 03deab7aa63f9a00984014ce59617d552b4eac34.
939
+ [b51d736bca77]
940
+
941
+ * History.rdoc:
942
+ Add a missing enhancement for pg-0.18.0
943
+ [a7635c3425f3]
944
+
945
+ * .travis.yml:
946
+ Update ruby and postgresql versions for travic-ci
947
+ [b67b92f7db97]
948
+
949
+ 2015-01-06 Lars Kanis <kanis@comcard.de>
950
+
951
+ * Merge from git.
952
+ [625e9359ac47]
953
+
954
+ 2015-01-05 Lars Kanis <kanis@comcard.de>
955
+
956
+ * ext/pg_type_map_in_ruby.c:
957
+ Use a simpler fix for https://bitbucket.org/ged/ruby-
958
+ pg/commits/a38cf53a96f
959
+ [3d89d3aae4fd]
960
+
961
+ 2015-01-05 Michael Granger <ged@FaerieMUD.org>
962
+
963
+ * .hgtags:
964
+ Added tag v0.18.1 for changeset f97dd6cb4f34
965
+ [f8122014065a]
966
+
967
+ * .hgsigs:
968
+ Added signature for changeset ba5aff64b5cb
969
+ [f97dd6cb4f34] [v0.18.1]
970
+
971
+ * History.rdoc, lib/pg.rb:
972
+ Bump the patch version, update history
973
+ [ba5aff64b5cb]
974
+
975
+ * Rakefile:
976
+ Fix the minimum Ruby version (closes #199)
977
+ [69422cc8dc45]
978
+
979
+ 2015-01-03 Michael Granger <ged@FaerieMUD.org>
980
+
981
+ * .hgtags:
982
+ Added tag v0.18.0 for changeset cfb2bfc0f661
983
+ [8aff3973f2d2]
984
+
985
+ * .hgsigs:
986
+ Added signature for changeset c519766e3ec9
987
+ [cfb2bfc0f661] [v0.18.0]
988
+
989
+ * History.rdoc:
990
+ Update the History
991
+ [c519766e3ec9]
992
+
993
+ * Manifest.txt:
994
+ Keep the manifest sorted so it can be diffed.
995
+ [d7cdbfd1b516]
996
+
997
+ * Rakefile:
998
+ Add a Rake task for generating the gemspec
999
+ [ec6d6ce61a15]
1000
+
1
1001
  2014-12-26 Lars Kanis <lars@greiz-reinsdorf.de>
2
1002
 
3
1003
  * lib/pg/basic_type_mapping.rb:
4
1004
  Add a warning about Type OIDs without decoder in
5
1005
  PG::BasicTypeMapForResults.
6
- [592e29cdf2e9] [tip]
1006
+ [592e29cdf2e9]
7
1007
 
8
1008
  2014-12-13 Lars Kanis <lars@greiz-reinsdorf.de>
9
1009
 
@@ -285,7 +1285,7 @@
285
1285
 
286
1286
  * ext/pg_text_encoder.c, spec/pg/type_spec.rb:
287
1287
  Allow non Array values as input for TextEncoder::Array.
288
- [a4725dfca9e4] [github/master]
1288
+ [a4725dfca9e4]
289
1289
 
290
1290
  * ext/pg_coder.c, spec/pg/type_spec.rb:
291
1291
  Clarify handling of nil/NULL values by PG::Coders.
@@ -2590,13 +3590,13 @@
2590
3590
  PQexecParams() itself.
2591
3591
 
2592
3592
  Thanks to Aaron Patterson for the idea.
2593
- [7c313c2355b7] [github/exec_params]
3593
+ [7c313c2355b7]
2594
3594
 
2595
3595
  2013-01-31 Michael Granger <ged@FaerieMUD.org>
2596
3596
 
2597
3597
  * ext/extconf.rb:
2598
3598
  Add experimental -rpath to the LDFLAGS
2599
- [8496c624dffd] [github/rpath_ldflag]
3599
+ [8496c624dffd]
2600
3600
 
2601
3601
  2013-01-30 Michael Granger <ged@FaerieMUD.org>
2602
3602