pg 0.19.0.pre20170115074000 → 0.19.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 45d6447d5c7f6c7dd3c840b66d5d08acc5e760ed
4
- data.tar.gz: 16bd7e6580a8d28e1a09f93dc0a7bbafa724b3a8
3
+ metadata.gz: f8e328ce8e21a558a72a6c58d723905babf80f22
4
+ data.tar.gz: ac9256c75e16561725e5e371c9765b26f6b0502e
5
5
  SHA512:
6
- metadata.gz: affc767d5db4fed552319cfe49313b516fa5d22d43e37f3dce69904d367264dec4efca68907c53116dd90fe8562dc325edacd6745efd00772a0c1c6d55c41941
7
- data.tar.gz: ebb43e94435552f839db9349bf17fe76b17a8b2e5eb8f96400b6ad02ccb157fe2ae6dc70f3f13b8a81d5a4140d7200a79fd17b99216a0f47ce085d4c4d70b150
6
+ metadata.gz: 9273e0d8a1b916251beb4146e3eae48d62bddeed5082c2174b39c5e3c48b1d09f1141efa99f76bfe942d3083ef505349e17374a9fe798b7bceec802109723504
7
+ data.tar.gz: 64ae211c8d2cf4566e199bb55919089dd639d6df1ca2d98423947ef956437af8cea4202659f8cdfa3af6a718b8a7f44d23baa5c4d6a8e0e67d568a1d0b261e47
Binary file
data.tar.gz.sig CHANGED
Binary file
data/ChangeLog CHANGED
@@ -1,113 +1,3 @@
1
- 2017-01-14 Lars Kanis <lars@greiz-reinsdorf.de>
2
-
3
- * History.rdoc:
4
- Update History file. [ci-skip]
5
- [0d1921b825d7] [tip]
6
-
7
- * Rakefile.cross:
8
- Update Windows binary rubies to support 2.0 to 2.4
9
- [3736e33ce71e]
10
-
11
- * ext/pg_connection.c, ext/pg_result.c:
12
- Change all Fixnum to Integer in documentation.
13
-
14
- Fixnum are deprecated in Ruby-2.4.
15
- [2e17f315848e]
16
-
17
- * ext/pg_type_map.c:
18
- Avoid compiler warnings about noreturn-functions:
19
-
20
- ../../../../ext/pg_type_map.c: In function
21
- ‘pg_typemap_fit_to_result’: ../../../../ext/pg_type_map.c:15:1:
22
- warning: function might be candidate for attribute ‘noreturn’
23
- [-Wsuggest-attribute=noreturn] pg_typemap_fit_to_result( VALUE self,
24
- VALUE result )
25
- [2af122820861]
26
-
27
- * spec/pg/type_map_by_class_spec.rb:
28
- Bignum,Fixnum and Integer are the same in Ruby-2.4.
29
-
30
- Fixes #255 : https://bitbucket.org/ged/ruby-pg/issues/255
31
- [a446dfaf9d8f]
32
-
33
- * Rakefile, pg.gemspec:
34
- Update rake-compiler and rake-compiler-dock
35
-
36
- This adds support for Ruby-2.4 on Windows and Ruby version
37
- constraints for binary gems.
38
- [6ebcebaad39c]
39
-
40
- * ext/pg_coder.c:
41
- Fix method arguments for Coder#encode in documentation.
42
- [ee79cce8b141]
43
-
44
- 2016-12-04 Lars Kanis <lars@greiz-reinsdorf.de>
45
-
46
- * History.rdoc, lib/pg/result.rb, spec/pg/result_spec.rb:
47
- Fix Result#inspect on a cleared result.
48
- [0c60865f718e]
49
-
50
- 2016-11-09 Lars Kanis <lars@greiz-reinsdorf.de>
51
-
52
- * Merge branch 'master' of github.com:larskanis/ruby-pg
53
- [db7c584532e5]
54
-
55
- 2016-11-09 Lars Kanis <kanis@comcard.de>
56
-
57
- * Rakefile.cross:
58
- Don't download gems in the rake-compiler-dock, but use the local
59
- installed gems.
60
-
61
- This saves traffic and avoids download issues.
62
- [14e6fa84d31c]
63
-
64
- * Rakefile.cross:
65
- Update cross postgres and openssl versions.
66
- [a6ec62e2b783]
67
-
68
- * Rakefile:
69
- Fetch the errorcodes from a specific release version.
70
-
71
- This avoids introduction of errorcodes, which are not yet released
72
- and possibly subject to change.
73
- [b399dae9e988]
74
-
75
- * ext/errorcodes.def, ext/errorcodes.txt:
76
- Update errorcodes to PostgreSQL version 9.6.1
77
- [c1b690f2b47d]
78
-
79
- 2016-11-09 Michael Granger <ged@FaerieMUD.org>
80
-
81
- * History.rdoc:
82
- Merged with d62b04efb055
83
- [cefe252948ed]
84
-
85
- 2016-09-21 Michael Granger <ged@FaerieMUD.org>
86
-
87
- * .hgtags:
88
- Added tag v0.19.0 for changeset bd2aaa2c5797
89
- [5ed7106cc770]
90
-
91
- * .hgsigs:
92
- Added signature for changeset 8beaa5d72670
93
- [bd2aaa2c5797] [v0.19.0]
94
-
95
- * History.rdoc, lib/pg.rb:
96
- Bump the minor version, update history.
97
- [8beaa5d72670]
98
-
99
- 2016-10-21 Lars Kanis <lars@greiz-reinsdorf.de>
100
-
101
- * lib/pg/text_encoder.rb:
102
- Fix typo in JSON#encode
103
- [d62b04efb055]
104
-
105
- * History.rdoc, lib/pg/text_decoder.rb, lib/pg/text_encoder.rb:
106
- Use secure JSON methods for JSON (de)serialisation.
107
-
108
- This fixes issue #248 : https://bitbucket.org/ged/ruby-pg/issues/248
109
- [fe3e883bead2]
110
-
111
1
  2016-09-04 Lars Kanis <lars@greiz-reinsdorf.de>
112
2
 
113
3
  * ext/pg_connection.c:
@@ -115,7 +5,7 @@
115
5
 
116
6
  We don't really need an Array at all, but storing the values on the
117
7
  stack is enough.
118
- [4d9c4ee44d11]
8
+ [4d9c4ee44d11] [tip]
119
9
 
120
10
  * ext/pg_connection.c:
121
11
  Use the asynchronous interface for setting the default_encoding.
@@ -150,22 +40,6 @@
150
40
  Merged with upstream
151
41
  [cf9ac513102e]
152
42
 
153
- * BSDL, README.rdoc, ext/pg.c:
154
- Update copyright year, license files
155
- [c77d0997b4e4]
156
-
157
- * README.rdoc, certs/ged.pem:
158
- Update/upgrade my signing cert
159
-
160
- Fixes #241.
161
- [741c94c3bada]
162
-
163
- 2016-08-17 Michael Granger <ged@FaerieMUD.org>
164
-
165
- * pg.gemspec:
166
- Bump prerelease version in the gemspec
167
- [f7472e7a7902]
168
-
169
43
  2016-08-20 Lars Kanis <lars@greiz-reinsdorf.de>
170
44
 
171
45
  * History.rdoc, lib/pg/connection.rb:
@@ -239,26 +113,28 @@
239
113
  Update History.rdoc
240
114
  [9c3699255853]
241
115
 
242
- * Merge git master
243
- [9b7987626074]
116
+ 2016-08-20 Michael Granger <ged@FaerieMUD.org>
244
117
 
245
- 2016-06-27 Michael Granger <ged@FaerieMUD.org>
118
+ * BSDL, README.rdoc, ext/pg.c:
119
+ Update copyright year, license files
120
+ [c77d0997b4e4]
246
121
 
247
- * ext/extconf.rb:
248
- Add __EXTENSIONS__ to Solaris/SmartOS for Ruby >= 2.3.x
122
+ * README.rdoc, certs/ged.pem:
123
+ Update/upgrade my signing cert
249
124
 
250
- Fixes #236.
251
- [5979b3cba237]
125
+ Fixes #241.
126
+ [741c94c3bada]
252
127
 
253
- 2016-04-09 Michael Granger <ged@FaerieMUD.org>
128
+ 2016-08-17 Michael Granger <ged@FaerieMUD.org>
254
129
 
255
- * .hgignore, Rakefile, pg.gemspec:
256
- Deprecate Ruby 1.9, fix license name
257
- [fc5828a71f2a]
130
+ * pg.gemspec:
131
+ Bump prerelease version in the gemspec
132
+ [f7472e7a7902]
258
133
 
259
- * ext/extconf.rb:
260
- Add mechanism for trying to build without pg_config
261
- [22a3a8ef3244]
134
+ 2016-08-14 Lars Kanis <lars@greiz-reinsdorf.de>
135
+
136
+ * Merge git master
137
+ [9b7987626074]
262
138
 
263
139
  2016-08-13 Lars Kanis <lars@greiz-reinsdorf.de>
264
140
 
@@ -279,6 +155,24 @@
279
155
  This fixes bitbucket issue #245 .
280
156
  [41f81b72476f]
281
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
+
282
176
  2015-12-25 Lars Kanis <lars@greiz-reinsdorf.de>
283
177
 
284
178
  * ext/pg.h, ext/pg_binary_encoder.c, ext/pg_coder.c,
@@ -537,6 +431,12 @@
537
431
  Merge branch 'master@1' of ../ruby-pg.git.bare
538
432
  [b324f3f65a0c]
539
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
+
540
440
  2015-11-13 Michael Granger <ged@FaerieMUD.org>
541
441
 
542
442
  * .hgtags:
@@ -575,14 +475,6 @@
575
475
  Only use fivefish formatter when building from repo
576
476
  [6161d8eeb3f1]
577
477
 
578
- 2015-12-26 Lars Kanis <lars@greiz-reinsdorf.de>
579
-
580
- * README.rdoc, ext/pg_copy_coder.c, lib/pg/basic_type_mapping.rb,
581
- lib/pg/connection.rb:
582
- Add a lot more of documentation, how COPY can be used with type
583
- coders and type maps.
584
- [256c059e4802]
585
-
586
478
  2015-11-13 Lars Kanis <lars@greiz-reinsdorf.de>
587
479
 
588
480
  * History.rdoc:
@@ -721,20 +613,6 @@
721
613
  * Merge branch 'master' of github.com:larskanis/ruby-pg
722
614
  [d27d6d5a6545]
723
615
 
724
- 2015-06-29 Lars Kanis <kanis@comcard.de>
725
-
726
- * History.rdoc:
727
- Merge branch 'master' of https://github.com/larskanis/ruby-pg
728
-
729
- Conflicts: History.rdoc
730
- [affb47533d82]
731
-
732
- * History.rdoc, ext/util.c, spec/pg/type_spec.rb:
733
- Fix data type resulting in wrong base64 encoding.
734
- [5fb9170f6a7d]
735
-
736
- 2015-08-20 Lars Kanis <lars@greiz-reinsdorf.de>
737
-
738
616
  * README.rdoc:
739
617
  Add Appveyor status badge to the README.
740
618
  [c9637c6efcfb]
@@ -765,6 +643,18 @@
765
643
  Add CI-tests on appveyor.
766
644
  [c2dc9e491853]
767
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
+
768
658
  2015-06-17 Lars Kanis <lars@greiz-reinsdorf.de>
769
659
 
770
660
  * Gemfile, Rakefile, Rakefile.cross:
@@ -842,18 +732,6 @@
842
732
  * Merged
843
733
  [3d56a65c78c5]
844
734
 
845
- 2015-05-25 Michael Granger <ged@FaerieMUD.org>
846
-
847
- * ext/pg_connection.c:
848
- Change instance_of checks to kind_of for subclassing [#220]
849
- [eb4d3c003bd6]
850
-
851
- * lib/pg/basic_type_mapping.rb:
852
- Whitespace fixes
853
- [4a4368e30bcf]
854
-
855
- 2015-06-08 Lars Kanis <lars@greiz-reinsdorf.de>
856
-
857
735
  * Gemfile, Rakefile, Rakefile.cross:
858
736
  Add rake task 'gem:windows' which makes use of the new rake-
859
737
  compiler-dock.
@@ -866,6 +744,16 @@
866
744
  PostgreSQL-9.4.0
867
745
  [630a22437026]
868
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
+
869
757
  2015-05-14 Michael Granger <ged@FaerieMUD.org>
870
758
 
871
759
  * .hgtags:
@@ -963,26 +851,6 @@
963
851
  Merge from git branch.
964
852
  [b60c89ee93c8]
965
853
 
966
- 2015-02-03 Michael Granger <ged@FaerieMUD.org>
967
-
968
- * README.rdoc, ext/pg.c:
969
- Update copyright notices
970
- [447962e0dcba]
971
-
972
- * spec/pg/connection_spec.rb:
973
- Whitespace fixes
974
- [f4a85f78807d]
975
-
976
- 2014-08-22 Chris Bandy <bandy.chris@gmail.com>
977
-
978
- * lib/pg/connection.rb, spec/pg/connection_spec.rb:
979
- Allow URI connection string
980
-
981
- (Imported from https://github.com/ged/ruby-pg/pull/3)
982
- [d4579ef9eae4]
983
-
984
- 2015-02-11 Lars Kanis <lars@greiz-reinsdorf.de>
985
-
986
854
  * ext/pg.h, ext/pg_text_decoder.c:
987
855
  Merge branch 'non-c99-compiler'
988
856
  [b111c84b8445]
@@ -1025,6 +893,24 @@
1025
893
  implementation.
1026
894
  [df67241d1a4f]
1027
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
+
1028
914
  2015-01-27 Lars Kanis <lars@greiz-reinsdorf.de>
1029
915
 
1030
916
  * lib/pg/text_decoder.rb, spec/pg/type_spec.rb:
@@ -1112,13 +998,6 @@
1112
998
  Add a Rake task for generating the gemspec
1113
999
  [ec6d6ce61a15]
1114
1000
 
1115
- 2014-12-31 Lars Kanis <lars@greiz-reinsdorf.de>
1116
-
1117
- * Rakefile.cross, lib/pg.rb, misc/postgresql-9.4.0.with-buggy-
1118
- mingw-w64.patch:
1119
- Add workaround for buggy mingw-w64 toolchain on Ubuntu-14.10
1120
- [f5c7f9158ee2]
1121
-
1122
1001
  2014-12-26 Lars Kanis <lars@greiz-reinsdorf.de>
1123
1002
 
1124
1003
  * lib/pg/basic_type_mapping.rb:
@@ -1457,16 +1336,6 @@
1457
1336
  Add type mapping and performance improvements
1458
1337
  [0da90c2b2812]
1459
1338
 
1460
- * spec/helpers.rb, spec/pg/connection_spec.rb:
1461
- Merged with 4cc778c5ead7
1462
- [67bb0f34ca05]
1463
-
1464
- 2014-08-20 Michael Granger <ged@FaerieMUD.org>
1465
-
1466
- * spec/helpers.rb, spec/pg/connection_spec.rb:
1467
- Check connection status with a matcher in specs
1468
- [b32840b98e4b]
1469
-
1470
1339
  2014-10-09 Lars Kanis <lars@greiz-reinsdorf.de>
1471
1340
 
1472
1341
  * Rakefile, Rakefile.cross, ext/extconf.rb:
@@ -1559,35 +1428,6 @@
1559
1428
  alloc_query_params1() and avoids code duplication within type maps.
1560
1429
  [2afa6cc41d55]
1561
1430
 
1562
- 2014-10-09 Lars Kanis <lars@greiz-reinsdorf.de>
1563
-
1564
- * Rakefile, Rakefile.cross, ext/extconf.rb:
1565
- gcc option -static-libgcc is required for i386-mingw32 build.
1566
-
1567
- Don't use native pg_config for cross build. The paths were
1568
- overwritten anyways until now.
1569
-
1570
- Remove code that was only needed for static build to libpq.
1571
- [4cc778c5ead7]
1572
-
1573
- 2014-10-09 Lars Kanis <kanis@comcard.de>
1574
-
1575
- * Rakefile, Rakefile.cross, lib/pg.rb:
1576
- Bundle libpq.dll into gem, because PostgreSQL-9.3 does no longer
1577
- support static linking.
1578
- [a37e27d356e5]
1579
-
1580
- 2014-10-04 Lars Kanis <lars@greiz-reinsdorf.de>
1581
-
1582
- * spec/helpers.rb, spec/pg/connection_spec.rb:
1583
- Add missing spec for hash form parameters to #exec_params .
1584
- [04a6a0136a12]
1585
-
1586
- * spec/pg/type_map_by_column_spec.rb:
1587
- Fix handling of query parameters in hash form in conjunction with
1588
- type map.
1589
- [a5f028117537]
1590
-
1591
1431
  * spec/pg/connection_spec.rb:
1592
1432
  Add missing spec for hash form parameters to #exec_params .
1593
1433
  [23ad5d676b53]
@@ -2894,13 +2734,43 @@
2894
2734
  integer and float values to proper ruby types.
2895
2735
  [71ddc0446d26]
2896
2736
 
2897
- 2014-08-24 Lars Kanis <lars@greiz-reinsdorf.de>
2898
-
2899
- * ext/pg_connection.c:
2900
- Change all remaining Oid <-> VALUE conversions to UINT.
2901
- [bae3928a7b09]
2737
+ 2014-10-11 Michael Granger <ged@FaerieMUD.org>
2902
2738
 
2903
- * .travis.yml:
2739
+ * spec/helpers.rb, spec/pg/connection_spec.rb:
2740
+ Merged with 4cc778c5ead7
2741
+ [67bb0f34ca05]
2742
+
2743
+ 2014-10-09 Lars Kanis <lars@greiz-reinsdorf.de>
2744
+
2745
+ * Rakefile, Rakefile.cross, ext/extconf.rb:
2746
+ gcc option -static-libgcc is required for i386-mingw32 build.
2747
+
2748
+ Don't use native pg_config for cross build. The paths were
2749
+ overwritten anyways until now.
2750
+
2751
+ Remove code that was only needed for static build to libpq.
2752
+ [4cc778c5ead7]
2753
+
2754
+ 2014-10-09 Lars Kanis <kanis@comcard.de>
2755
+
2756
+ * Rakefile, Rakefile.cross, lib/pg.rb:
2757
+ Bundle libpq.dll into gem, because PostgreSQL-9.3 does no longer
2758
+ support static linking.
2759
+ [a37e27d356e5]
2760
+
2761
+ 2014-10-04 Lars Kanis <lars@greiz-reinsdorf.de>
2762
+
2763
+ * spec/helpers.rb, spec/pg/connection_spec.rb:
2764
+ Add missing spec for hash form parameters to #exec_params .
2765
+ [04a6a0136a12]
2766
+
2767
+ 2014-08-24 Lars Kanis <lars@greiz-reinsdorf.de>
2768
+
2769
+ * ext/pg_connection.c:
2770
+ Change all remaining Oid <-> VALUE conversions to UINT.
2771
+ [bae3928a7b09]
2772
+
2773
+ * .travis.yml:
2904
2774
  'gem install rake-compiler' is still needed for cross build.
2905
2775
  [591c4b0f2d69]
2906
2776
 
@@ -2945,6 +2815,10 @@
2945
2815
 
2946
2816
  2014-08-20 Michael Granger <ged@FaerieMUD.org>
2947
2817
 
2818
+ * spec/helpers.rb, spec/pg/connection_spec.rb:
2819
+ Check connection status with a matcher in specs
2820
+ [b32840b98e4b]
2821
+
2948
2822
  * ext/pg_connection.c, lib/pg/connection.rb,
2949
2823
  spec/pg/connection_spec.rb:
2950
2824
  Implement PG::Connection#conninfo and use it to test #188
@@ -2969,17 +2843,19 @@
2969
2843
  * Merge with 6c2444dc63e1
2970
2844
  [d7160a9fb5dc]
2971
2845
 
2972
- * .rvm.gems, Rakefile, spec/helpers.rb, spec/lib/helpers.rb,
2973
- spec/pg/connection_spec.rb, spec/pg/result_spec.rb, spec/pg_spec.rb:
2974
- Convert specs to expect syntax for RSpec 3
2975
- [c9108c846ab2]
2976
-
2977
2846
  2013-12-30 Lars Kanis <lars@greiz-reinsdorf.de>
2978
2847
 
2979
2848
  * ext/pg_connection.c:
2980
2849
  Fix typo in documentation.
2981
2850
  [6c2444dc63e1]
2982
2851
 
2852
+ 2014-06-05 Michael Granger <ged@FaerieMUD.org>
2853
+
2854
+ * .rvm.gems, Rakefile, spec/helpers.rb, spec/lib/helpers.rb,
2855
+ spec/pg/connection_spec.rb, spec/pg/result_spec.rb, spec/pg_spec.rb:
2856
+ Convert specs to expect syntax for RSpec 3
2857
+ [c9108c846ab2]
2858
+
2983
2859
  2013-12-18 Michael Granger <ged@FaerieMUD.org>
2984
2860
 
2985
2861
  * .hgtags:
@@ -3134,17 +3010,6 @@
3134
3010
  * merge tip
3135
3011
  [90252df3c5c8]
3136
3012
 
3137
- 2013-08-15 Lars Kanis <lars@greiz-reinsdorf.de>
3138
-
3139
- * Rakefile.cross:
3140
- Use RbConfig::CONFIG['CC'] instead of ['host'] for determining cross
3141
- compilation platform.
3142
-
3143
- This is 'i586-mingw32msvc-gcc' versus 'i586-pc-mingw32msvc'.
3144
- [fbee9586e8f7]
3145
-
3146
- 2013-08-18 Lars Kanis <lars@greiz-reinsdorf.de>
3147
-
3148
3013
  * lib/pg/connection.rb, spec/pg/connection_spec.rb:
3149
3014
  Add PG::Connection#copy_data as a convenience method.
3150
3015
  [5096385267ab]
@@ -3154,6 +3019,15 @@
3154
3019
  stack method calls.
3155
3020
  [8255d4f73334]
3156
3021
 
3022
+ 2013-08-15 Lars Kanis <lars@greiz-reinsdorf.de>
3023
+
3024
+ * Rakefile.cross:
3025
+ Use RbConfig::CONFIG['CC'] instead of ['host'] for determining cross
3026
+ compilation platform.
3027
+
3028
+ This is 'i586-mingw32msvc-gcc' versus 'i586-pc-mingw32msvc'.
3029
+ [fbee9586e8f7]
3030
+
3157
3031
  2013-08-14 Lars Kanis <lars@greiz-reinsdorf.de>
3158
3032
 
3159
3033
  * Gemfile, Rakefile:
@@ -3195,10 +3069,6 @@
3195
3069
  Travis: Allow failures on rbx.
3196
3070
  [7be3b156c8fb]
3197
3071
 
3198
- * spec/pg/column_mapping_spec.rb:
3199
- Too less quoting. Should fix compat with PostgreSQL 8.4.
3200
- [45fc78971757]
3201
-
3202
3072
  2013-07-18 Lars Kanis <kanis@comcard.de>
3203
3073
 
3204
3074
  * spec/pg/connection_spec.rb:
@@ -3234,92 +3104,6 @@
3234
3104
  This test failed on Windows x64.
3235
3105
  [6894f73d7039]
3236
3106
 
3237
- * Manifest.txt:
3238
- Add missing files to Manifest.txt.
3239
- [3b4bc9524bb3]
3240
-
3241
- * Manifest.txt, ext/pg_column_mapping.c, ext/util.c, ext/util.h:
3242
- Add compat with Windows platform.
3243
- [3ac02d0ccf19]
3244
-
3245
- * ext/pg_column_mapping.c, spec/pg/column_mapping_spec.rb:
3246
- Add compat with Ruby-1.8.7.
3247
- [7bcb3040fe34]
3248
-
3249
- * spec/pg/column_mapping_spec.rb:
3250
- Use old BYTEA escaping for compat with PostgreSQL 8.4
3251
- [2fad9e274ad3]
3252
-
3253
- 2013-07-04 Lars Kanis <lars@greiz-reinsdorf.de>
3254
-
3255
- * ext/pg_column_mapping.c, spec/pg/column_mapping_spec.rb:
3256
- Add BinaryBolean converter.
3257
-
3258
- Refactor converter tests.
3259
- [06c99b04f572]
3260
-
3261
- * ext/pg_column_mapping.c, spec/pg/column_mapping_spec.rb:
3262
- Add BinaryFloat converter.
3263
- [493b0354c678]
3264
-
3265
- 2013-07-03 Lars Kanis <lars@greiz-reinsdorf.de>
3266
-
3267
- * ext/pg_column_mapping.c, lib/pg/result.rb,
3268
- spec/pg/column_mapping_spec.rb, spec/pg/result_spec.rb:
3269
- Change ColumnMapping#initialize to take one Array arg rather than a
3270
- parameter list.
3271
-
3272
- Suggested by Aaron: https://groups.google.com/d/msg/ruby-
3273
- pg/PE5K6q9RzBs/M5prOno39DEJ
3274
- [c2ca10bf93c5]
3275
-
3276
- * spec/pg/result_spec.rb:
3277
- Add test case for all value retrieving methods of PG::Result .
3278
- [e1055f877c58]
3279
-
3280
- * spec/pg/column_mapping_spec.rb:
3281
- Add test case for default_mapping in Result#map_types!
3282
- [489220119795]
3283
-
3284
- * lib/pg/result.rb, spec/pg/column_mapping_spec.rb:
3285
- Add convenience method PG::Result#map_types!
3286
- [de02df7fb198]
3287
-
3288
- * spec/pg/column_mapping_spec.rb:
3289
- Add Boolean ColumnMapping spec and do Integer a bit more compact.
3290
- [4256841e088f]
3291
-
3292
- 2013-07-01 Lars Kanis <kanis@comcard.de>
3293
-
3294
- * ext/pg_column_mapping.c, spec/pg/column_mapping_spec.rb:
3295
- Add converter BinaryInteger.
3296
- [6f0c8f72962f]
3297
-
3298
- * ext/pg_column_mapping.c, spec/pg/column_mapping_spec.rb,
3299
- spec/pg/result_spec.rb:
3300
- Use instances of PG::ColumnMapping::CConverter as representation of
3301
- the buildin converters instead of plain symbols. Symbol arguments
3302
- are converted to these instances, for convenience.
3303
-
3304
- This allows to store and retrieve additional informations to the
3305
- conversion and also which conversions are supported.
3306
- [e4f6c37b5449]
3307
-
3308
- * ext/pg_column_mapping.c:
3309
- Don't depend on TYPE(obj)==T_DATA of a proc object for compat with
3310
- rubinius.
3311
- [c33c4ac01aaf]
3312
-
3313
- 2013-06-29 Lars Kanis <lars@greiz-reinsdorf.de>
3314
-
3315
- * ext/pg.c, ext/pg.h, ext/pg_column_mapping.c, ext/pg_result.c,
3316
- spec/pg/result_spec.rb:
3317
- Add column based type mapping.
3318
-
3319
- This allowes to speed up result retrieval by directly converting
3320
- integer and float values to proper ruby types.
3321
- [160c71c0b584]
3322
-
3323
3107
  2013-07-06 Lars Kanis <lars@greiz-reinsdorf.de>
3324
3108
 
3325
3109
  * ext/pg_connection.c, spec/pg/connection_spec.rb:
@@ -3605,14 +3389,14 @@
3605
3389
  avoid warnings about truncated identifier.
3606
3390
 
3607
3391
  Thanks to Svoop for this report.
3608
- [9a6791fe9409]
3392
+ [134e067259ee] <v0.15-stable>
3609
3393
 
3610
3394
  * lib/pg/connection.rb, spec/pg/connection_spec.rb:
3611
3395
  Send a shortened $0 as application_name to the server in order to
3612
3396
  avoid warnings about truncated identifier.
3613
3397
 
3614
3398
  Thanks to Svoop for this report.
3615
- [134e067259ee] <v0.15-stable>
3399
+ [9a6791fe9409]
3616
3400
 
3617
3401
  2013-03-26 Michael Granger <ged@FaerieMUD.org>
3618
3402
 
@@ -3700,6 +3484,17 @@
3700
3484
  Merge with https://bitbucket.org/ged/ruby-pg
3701
3485
  [3230e6c245e0]
3702
3486
 
3487
+ * Rakefile, Rakefile.cross:
3488
+ Add support for cross build for multiple platforms (i386-mingw32 and
3489
+ x64-mingw32).
3490
+
3491
+ Update OpenSSL for cross build to 1.0.1e Update PostgreSQL for cross
3492
+ build to 9.2.3
3493
+
3494
+ Remove -lws2_32 for PostgreSQL build. It fails to compile for
3495
+ x64-mingw32 elsewise.
3496
+ [6a2a1a53dedc]
3497
+
3703
3498
  2013-03-12 Michael Granger <ged@FaerieMUD.org>
3704
3499
 
3705
3500
  * Rakefile.cross:
@@ -3714,19 +3509,6 @@
3714
3509
  Bump versions of dev dependencies
3715
3510
  [cba92fb4b89e]
3716
3511
 
3717
- 2013-03-13 Lars Kanis <kanis@comcard.de>
3718
-
3719
- * Rakefile, Rakefile.cross:
3720
- Add support for cross build for multiple platforms (i386-mingw32 and
3721
- x64-mingw32).
3722
-
3723
- Update OpenSSL for cross build to 1.0.1e Update PostgreSQL for cross
3724
- build to 9.2.3
3725
-
3726
- Remove -lws2_32 for PostgreSQL build. It fails to compile for
3727
- x64-mingw32 elsewise.
3728
- [6a2a1a53dedc]
3729
-
3730
3512
  2013-03-06 Michael Granger <ged@FaerieMUD.org>
3731
3513
 
3732
3514
  * README.rdoc:
@@ -3978,6 +3760,61 @@
3978
3760
  Make source settings override TM2 defaults
3979
3761
  [c5706b3f73af]
3980
3762
 
3763
+ 2012-12-26 Lars Kanis <kanis@comcard.de>
3764
+
3765
+ * ext/extconf.rb, ext/pg_connection.c, spec/pg/connection_spec.rb:
3766
+ merge in default branch
3767
+ [ca39e311d1eb] <use_gvl_for_blocking_functions>
3768
+
3769
+ * ext/gvl_wrappers.h:
3770
+ Add some documentation to gvl_wrappers
3771
+ [ffeb6a0afd1f] <use_gvl_for_blocking_functions>
3772
+
3773
+ * spec/pg/connection_spec.rb:
3774
+ Add test case for threading with Connection#exec in ruby 1.9
3775
+ [73b9aa38e8c0] <use_gvl_for_blocking_functions>
3776
+
3777
+ * ext/extconf.rb, ext/gvl_wrappers.c, ext/gvl_wrappers.h, ext/pg.h,
3778
+ ext/pg_connection.c:
3779
+ Add wrappers to blocking functions and callbacks in order to release
3780
+ the GVL of ruby 1.9 as long as not in ruby code
3781
+ [2f2c681424ed] <use_gvl_for_blocking_functions>
3782
+
3783
+ 2012-07-02 Lars Kanis <kanis@comcard.de>
3784
+
3785
+ * ext/pg_connection.c, spec/pg/connection_spec.rb:
3786
+ Fix encoding of values delivered to the row processor and add specs
3787
+ for binary and text data.
3788
+ [bb9c6625fbc9] <row_processor>
3789
+
3790
+ * ext/pg_connection.c:
3791
+ Polish the documentation a little bit
3792
+ [b7633be3c941] <row_processor>
3793
+
3794
+ 2012-07-01 Lars Kanis <kanis@comcard.de>
3795
+
3796
+ * ext/pg_connection.c:
3797
+ Get rid of gcc warning about (non-)const PGresult to
3798
+ pg_new_result_for_callback()
3799
+ [1a25786ed8f3] <row_processor>
3800
+
3801
+ * ext/pg_connection.c, spec/pg/connection_spec.rb:
3802
+ Fix wrong encoding for Result object passed to a notice-receiver
3803
+ block. Add proper specs for #set_notice_receiver.
3804
+ [4280826bb9b9] <row_processor>
3805
+
3806
+ * ext/extconf.rb, ext/pg.h, ext/pg_connection.c, ext/pg_result.c,
3807
+ spec/lib/helpers.rb, spec/pg/connection_spec.rb:
3808
+ Implement PostgreSQL-9.2 functions PG::Connection#set_row_processor,
3809
+ get_row_processor, skip_result
3810
+ [b7ce4843f4d1] <row_processor>
3811
+
3812
+ 2012-06-28 Lars Kanis <kanis@comcard.de>
3813
+
3814
+ * ext/pg_result.c:
3815
+ Add PGRES_COPY_BOTH to documentation of PG::Result#result_status
3816
+ [63998b47da6e] <copy_both_docu>
3817
+
3981
3818
  2013-01-29 Aaron Patterson <aaron.patterson@gmail.com>
3982
3819
 
3983
3820
  * ext/pg_result.c, lib/pg/result.rb, spec/pg/result_spec.rb:
@@ -4006,22 +3843,8 @@
4006
3843
  Fix encoding of messages delivered by notice callbacks
4007
3844
  [048d07d14867]
4008
3845
 
4009
- 2012-12-29 Lars Kanis <kanis@comcard.de>
4010
-
4011
- * ext/gvl_wrappers.h:
4012
- Simplify function declaration for gvl_wrappers a bit more
4013
- [39ba7e52207e] <use_gvl_for_blocking_functions>
4014
-
4015
3846
  2012-12-26 Lars Kanis <kanis@comcard.de>
4016
3847
 
4017
- * ext/extconf.rb, ext/pg_connection.c, spec/pg/connection_spec.rb:
4018
- merge in default branch
4019
- [ca39e311d1eb] <use_gvl_for_blocking_functions>
4020
-
4021
- * ext/gvl_wrappers.h:
4022
- Add some documentation to gvl_wrappers
4023
- [ffeb6a0afd1f] <use_gvl_for_blocking_functions>
4024
-
4025
3848
  * ext/pg.c:
4026
3849
  Use proper const check instead of implicit relation
4027
3850
  [d0c5d5f7f1e8]
@@ -4041,23 +3864,12 @@
4041
3864
  single row mode of PostgreSQL 9.2)
4042
3865
  [49e3fe1dafdf]
4043
3866
 
4044
- 2012-12-26 Lars Kanis <kanis@comcard.de>
4045
-
4046
- * spec/pg/connection_spec.rb:
4047
- Add test case for threading with Connection#exec in ruby 1.9
4048
- [73b9aa38e8c0] <use_gvl_for_blocking_functions>
4049
-
4050
- * ext/extconf.rb, ext/gvl_wrappers.c, ext/gvl_wrappers.h, ext/pg.h,
4051
- ext/pg_connection.c:
4052
- Add wrappers to blocking functions and callbacks in order to release
4053
- the GVL of ruby 1.9 as long as not in ruby code
4054
- [2f2c681424ed] <use_gvl_for_blocking_functions>
3867
+ 2012-12-19 Lars Kanis <kanis@comcard.de>
4055
3868
 
4056
- * ext/extconf.rb, ext/gvl_wrappers.c, ext/gvl_wrappers.h, ext/pg.h,
4057
- ext/pg_connection.c:
4058
- Add wrappers to blocking functions and callbacks in order to release
4059
- the GVL of ruby 1.9 as long as not in ruby code
4060
- [6ad8aa8e10a5] <use_gvl_for_blocking_functions>
3869
+ * ext/extconf.rb, ext/pg.c, ext/pg_connection.c,
3870
+ spec/pg/connection_spec.rb:
3871
+ Add single row mode of PostgreSQL 9.2
3872
+ [5cf348b75c1c] <single_row_mode>
4061
3873
 
4062
3874
  2012-12-19 Michael Granger <ged@FaerieMUD.org>
4063
3875
 
@@ -4081,14 +3893,6 @@
4081
3893
  fix spacing on README.rdoc:21 to improve display on Github
4082
3894
  [807f040166da]
4083
3895
 
4084
- 2012-12-26 Lars Kanis <kanis@comcard.de>
4085
-
4086
- * ext/extconf.rb, ext/gvl_wrappers.c, ext/gvl_wrappers.h, ext/pg.h,
4087
- ext/pg_connection.c:
4088
- Add wrappers to blocking functions and callbacks in order to release
4089
- the GVL of ruby 1.9 while not in ruby code
4090
- [c31ea26b15e9] <use_gvl_for_blocking_functions>
4091
-
4092
3896
  2012-12-19 Lars Kanis <kanis@comcard.de>
4093
3897
 
4094
3898
  * spec/pg/connection_spec.rb:
@@ -4105,11 +3909,6 @@
4105
3909
  Add spec for PG::Result#field_values
4106
3910
  [3618eb238aba]
4107
3911
 
4108
- * ext/extconf.rb, ext/pg.c, ext/pg_connection.c,
4109
- spec/pg/connection_spec.rb:
4110
- Add single row mode of PostgreSQL 9.2
4111
- [5cf348b75c1c] <single_row_mode>
4112
-
4113
3912
  * lib/pg/connection.rb, spec/lib/helpers.rb:
4114
3913
  Restore compatibility with PostgreSQL down to 8.3
4115
3914
  [e4900f62e56d]
@@ -4231,15 +4030,6 @@
4231
4030
  Add PGRES_COPY_BOTH to documentation of PG::Result#result_status
4232
4031
  [5e0e06440b1a]
4233
4032
 
4234
- * ext/pg_connection.c, spec/pg/connection_spec.rb:
4235
- Fix encoding of values delivered to the row processor and add specs
4236
- for binary and text data.
4237
- [bb9c6625fbc9] <row_processor>
4238
-
4239
- * ext/pg_connection.c:
4240
- Polish the documentation a little bit
4241
- [b7633be3c941] <row_processor>
4242
-
4243
4033
  2012-06-23 Michael Granger <ged@FaerieMUD.org>
4244
4034
 
4245
4035
  * .hgtags:
@@ -4250,33 +4040,6 @@
4250
4040
  Added signature for changeset a45710f8db30
4251
4041
  [634e0a42a101] [v0.14.0]
4252
4042
 
4253
- 2012-07-01 Lars Kanis <kanis@comcard.de>
4254
-
4255
- * merge copy_both_docu
4256
- [6e8ef5d4d216]
4257
-
4258
- * ext/pg_connection.c:
4259
- Get rid of gcc warning about (non-)const PGresult to
4260
- pg_new_result_for_callback()
4261
- [1a25786ed8f3] <row_processor>
4262
-
4263
- * ext/pg_connection.c, spec/pg/connection_spec.rb:
4264
- Fix wrong encoding for Result object passed to a notice-receiver
4265
- block. Add proper specs for #set_notice_receiver.
4266
- [4280826bb9b9] <row_processor>
4267
-
4268
- * ext/extconf.rb, ext/pg.h, ext/pg_connection.c, ext/pg_result.c,
4269
- spec/lib/helpers.rb, spec/pg/connection_spec.rb:
4270
- Implement PostgreSQL-9.2 functions PG::Connection#set_row_processor,
4271
- get_row_processor, skip_result
4272
- [b7ce4843f4d1] <row_processor>
4273
-
4274
- 2012-06-28 Lars Kanis <kanis@comcard.de>
4275
-
4276
- * ext/pg_result.c:
4277
- Add PGRES_COPY_BOTH to documentation of PG::Result#result_status
4278
- [63998b47da6e] <copy_both_docu>
4279
-
4280
4043
  2012-06-17 Lars Kanis <kanis@comcard.de>
4281
4044
 
4282
4045
  * Rakefile.cross, ext/extconf.rb,