pg 0.19.0 → 0.19.1.pre20170115074000

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: f8e328ce8e21a558a72a6c58d723905babf80f22
4
- data.tar.gz: ac9256c75e16561725e5e371c9765b26f6b0502e
3
+ metadata.gz: 8b994ea1b438637312d2a06c4d3f2ddec61962c0
4
+ data.tar.gz: 9df1f107a35a6fc287dc1745ed737402f6029483
5
5
  SHA512:
6
- metadata.gz: 9273e0d8a1b916251beb4146e3eae48d62bddeed5082c2174b39c5e3c48b1d09f1141efa99f76bfe942d3083ef505349e17374a9fe798b7bceec802109723504
7
- data.tar.gz: 64ae211c8d2cf4566e199bb55919089dd639d6df1ca2d98423947ef956437af8cea4202659f8cdfa3af6a718b8a7f44d23baa5c4d6a8e0e67d568a1d0b261e47
6
+ metadata.gz: 1a4c8ef59573eb59f0b2e6674aa09dcdfe04a25db70e4ca712a2041312e380a8a04dac3036edc0e4913a359553e7a932bd6129187bac29af47dcf9e16032bb87
7
+ data.tar.gz: 85b80f993e4cf027ba3b7b90b6931901936f90e0e44afe06712252a005f9ddd1691ffb2101a3ff967883e5cccb64a11c2c0f067904a6b6dc72f81f331f1d5cf4
Binary file
data.tar.gz.sig CHANGED
Binary file
data/ChangeLog CHANGED
@@ -1,3 +1,113 @@
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
+
1
111
  2016-09-04 Lars Kanis <lars@greiz-reinsdorf.de>
2
112
 
3
113
  * ext/pg_connection.c:
@@ -5,7 +115,7 @@
5
115
 
6
116
  We don't really need an Array at all, but storing the values on the
7
117
  stack is enough.
8
- [4d9c4ee44d11] [tip]
118
+ [4d9c4ee44d11]
9
119
 
10
120
  * ext/pg_connection.c:
11
121
  Use the asynchronous interface for setting the default_encoding.
@@ -40,6 +150,22 @@
40
150
  Merged with upstream
41
151
  [cf9ac513102e]
42
152
 
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
+
43
169
  2016-08-20 Lars Kanis <lars@greiz-reinsdorf.de>
44
170
 
45
171
  * History.rdoc, lib/pg/connection.rb:
@@ -113,28 +239,26 @@
113
239
  Update History.rdoc
114
240
  [9c3699255853]
115
241
 
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]
242
+ * Merge git master
243
+ [9b7987626074]
121
244
 
122
- * README.rdoc, certs/ged.pem:
123
- Update/upgrade my signing cert
245
+ 2016-06-27 Michael Granger <ged@FaerieMUD.org>
124
246
 
125
- Fixes #241.
126
- [741c94c3bada]
247
+ * ext/extconf.rb:
248
+ Add __EXTENSIONS__ to Solaris/SmartOS for Ruby >= 2.3.x
127
249
 
128
- 2016-08-17 Michael Granger <ged@FaerieMUD.org>
250
+ Fixes #236.
251
+ [5979b3cba237]
129
252
 
130
- * pg.gemspec:
131
- Bump prerelease version in the gemspec
132
- [f7472e7a7902]
253
+ 2016-04-09 Michael Granger <ged@FaerieMUD.org>
133
254
 
134
- 2016-08-14 Lars Kanis <lars@greiz-reinsdorf.de>
255
+ * .hgignore, Rakefile, pg.gemspec:
256
+ Deprecate Ruby 1.9, fix license name
257
+ [fc5828a71f2a]
135
258
 
136
- * Merge git master
137
- [9b7987626074]
259
+ * ext/extconf.rb:
260
+ Add mechanism for trying to build without pg_config
261
+ [22a3a8ef3244]
138
262
 
139
263
  2016-08-13 Lars Kanis <lars@greiz-reinsdorf.de>
140
264
 
@@ -155,24 +279,6 @@
155
279
  This fixes bitbucket issue #245 .
156
280
  [41f81b72476f]
157
281
 
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
282
  2015-12-25 Lars Kanis <lars@greiz-reinsdorf.de>
177
283
 
178
284
  * ext/pg.h, ext/pg_binary_encoder.c, ext/pg_coder.c,
@@ -431,12 +537,6 @@
431
537
  Merge branch 'master@1' of ../ruby-pg.git.bare
432
538
  [b324f3f65a0c]
433
539
 
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
540
  2015-11-13 Michael Granger <ged@FaerieMUD.org>
441
541
 
442
542
  * .hgtags:
@@ -475,6 +575,14 @@
475
575
  Only use fivefish formatter when building from repo
476
576
  [6161d8eeb3f1]
477
577
 
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
+
478
586
  2015-11-13 Lars Kanis <lars@greiz-reinsdorf.de>
479
587
 
480
588
  * History.rdoc:
@@ -613,6 +721,20 @@
613
721
  * Merge branch 'master' of github.com:larskanis/ruby-pg
614
722
  [d27d6d5a6545]
615
723
 
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
+
616
738
  * README.rdoc:
617
739
  Add Appveyor status badge to the README.
618
740
  [c9637c6efcfb]
@@ -643,18 +765,6 @@
643
765
  Add CI-tests on appveyor.
644
766
  [c2dc9e491853]
645
767
 
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
768
  2015-06-17 Lars Kanis <lars@greiz-reinsdorf.de>
659
769
 
660
770
  * Gemfile, Rakefile, Rakefile.cross:
@@ -732,6 +842,18 @@
732
842
  * Merged
733
843
  [3d56a65c78c5]
734
844
 
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
+
735
857
  * Gemfile, Rakefile, Rakefile.cross:
736
858
  Add rake task 'gem:windows' which makes use of the new rake-
737
859
  compiler-dock.
@@ -744,16 +866,6 @@
744
866
  PostgreSQL-9.4.0
745
867
  [630a22437026]
746
868
 
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
869
  2015-05-14 Michael Granger <ged@FaerieMUD.org>
758
870
 
759
871
  * .hgtags:
@@ -851,6 +963,26 @@
851
963
  Merge from git branch.
852
964
  [b60c89ee93c8]
853
965
 
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
+
854
986
  * ext/pg.h, ext/pg_text_decoder.c:
855
987
  Merge branch 'non-c99-compiler'
856
988
  [b111c84b8445]
@@ -893,24 +1025,6 @@
893
1025
  implementation.
894
1026
  [df67241d1a4f]
895
1027
 
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
1028
  2015-01-27 Lars Kanis <lars@greiz-reinsdorf.de>
915
1029
 
916
1030
  * lib/pg/text_decoder.rb, spec/pg/type_spec.rb:
@@ -998,6 +1112,13 @@
998
1112
  Add a Rake task for generating the gemspec
999
1113
  [ec6d6ce61a15]
1000
1114
 
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
+
1001
1122
  2014-12-26 Lars Kanis <lars@greiz-reinsdorf.de>
1002
1123
 
1003
1124
  * lib/pg/basic_type_mapping.rb:
@@ -1336,6 +1457,16 @@
1336
1457
  Add type mapping and performance improvements
1337
1458
  [0da90c2b2812]
1338
1459
 
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
+
1339
1470
  2014-10-09 Lars Kanis <lars@greiz-reinsdorf.de>
1340
1471
 
1341
1472
  * Rakefile, Rakefile.cross, ext/extconf.rb:
@@ -1428,6 +1559,35 @@
1428
1559
  alloc_query_params1() and avoids code duplication within type maps.
1429
1560
  [2afa6cc41d55]
1430
1561
 
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
+
1431
1591
  * spec/pg/connection_spec.rb:
1432
1592
  Add missing spec for hash form parameters to #exec_params .
1433
1593
  [23ad5d676b53]
@@ -2734,37 +2894,7 @@
2734
2894
  integer and float values to proper ruby types.
2735
2895
  [71ddc0446d26]
2736
2896
 
2737
- 2014-10-11 Michael Granger <ged@FaerieMUD.org>
2738
-
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>
2897
+ 2014-08-24 Lars Kanis <lars@greiz-reinsdorf.de>
2768
2898
 
2769
2899
  * ext/pg_connection.c:
2770
2900
  Change all remaining Oid <-> VALUE conversions to UINT.
@@ -2815,10 +2945,6 @@
2815
2945
 
2816
2946
  2014-08-20 Michael Granger <ged@FaerieMUD.org>
2817
2947
 
2818
- * spec/helpers.rb, spec/pg/connection_spec.rb:
2819
- Check connection status with a matcher in specs
2820
- [b32840b98e4b]
2821
-
2822
2948
  * ext/pg_connection.c, lib/pg/connection.rb,
2823
2949
  spec/pg/connection_spec.rb:
2824
2950
  Implement PG::Connection#conninfo and use it to test #188
@@ -2843,19 +2969,17 @@
2843
2969
  * Merge with 6c2444dc63e1
2844
2970
  [d7160a9fb5dc]
2845
2971
 
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
+
2846
2977
  2013-12-30 Lars Kanis <lars@greiz-reinsdorf.de>
2847
2978
 
2848
2979
  * ext/pg_connection.c:
2849
2980
  Fix typo in documentation.
2850
2981
  [6c2444dc63e1]
2851
2982
 
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
-
2859
2983
  2013-12-18 Michael Granger <ged@FaerieMUD.org>
2860
2984
 
2861
2985
  * .hgtags:
@@ -3010,15 +3134,6 @@
3010
3134
  * merge tip
3011
3135
  [90252df3c5c8]
3012
3136
 
3013
- * lib/pg/connection.rb, spec/pg/connection_spec.rb:
3014
- Add PG::Connection#copy_data as a convenience method.
3015
- [5096385267ab]
3016
-
3017
- * ext/pg_result.c:
3018
- Return self from PG::Result#check instead of nil. This allowes to
3019
- stack method calls.
3020
- [8255d4f73334]
3021
-
3022
3137
  2013-08-15 Lars Kanis <lars@greiz-reinsdorf.de>
3023
3138
 
3024
3139
  * Rakefile.cross:
@@ -3028,6 +3143,17 @@
3028
3143
  This is 'i586-mingw32msvc-gcc' versus 'i586-pc-mingw32msvc'.
3029
3144
  [fbee9586e8f7]
3030
3145
 
3146
+ 2013-08-18 Lars Kanis <lars@greiz-reinsdorf.de>
3147
+
3148
+ * lib/pg/connection.rb, spec/pg/connection_spec.rb:
3149
+ Add PG::Connection#copy_data as a convenience method.
3150
+ [5096385267ab]
3151
+
3152
+ * ext/pg_result.c:
3153
+ Return self from PG::Result#check instead of nil. This allowes to
3154
+ stack method calls.
3155
+ [8255d4f73334]
3156
+
3031
3157
  2013-08-14 Lars Kanis <lars@greiz-reinsdorf.de>
3032
3158
 
3033
3159
  * Gemfile, Rakefile:
@@ -3069,6 +3195,10 @@
3069
3195
  Travis: Allow failures on rbx.
3070
3196
  [7be3b156c8fb]
3071
3197
 
3198
+ * spec/pg/column_mapping_spec.rb:
3199
+ Too less quoting. Should fix compat with PostgreSQL 8.4.
3200
+ [45fc78971757]
3201
+
3072
3202
  2013-07-18 Lars Kanis <kanis@comcard.de>
3073
3203
 
3074
3204
  * spec/pg/connection_spec.rb:
@@ -3104,6 +3234,92 @@
3104
3234
  This test failed on Windows x64.
3105
3235
  [6894f73d7039]
3106
3236
 
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
+
3107
3323
  2013-07-06 Lars Kanis <lars@greiz-reinsdorf.de>
3108
3324
 
3109
3325
  * ext/pg_connection.c, spec/pg/connection_spec.rb:
@@ -3389,14 +3605,14 @@
3389
3605
  avoid warnings about truncated identifier.
3390
3606
 
3391
3607
  Thanks to Svoop for this report.
3392
- [134e067259ee] <v0.15-stable>
3608
+ [9a6791fe9409]
3393
3609
 
3394
3610
  * lib/pg/connection.rb, spec/pg/connection_spec.rb:
3395
3611
  Send a shortened $0 as application_name to the server in order to
3396
3612
  avoid warnings about truncated identifier.
3397
3613
 
3398
3614
  Thanks to Svoop for this report.
3399
- [9a6791fe9409]
3615
+ [134e067259ee] <v0.15-stable>
3400
3616
 
3401
3617
  2013-03-26 Michael Granger <ged@FaerieMUD.org>
3402
3618
 
@@ -3484,17 +3700,6 @@
3484
3700
  Merge with https://bitbucket.org/ged/ruby-pg
3485
3701
  [3230e6c245e0]
3486
3702
 
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
-
3498
3703
  2013-03-12 Michael Granger <ged@FaerieMUD.org>
3499
3704
 
3500
3705
  * Rakefile.cross:
@@ -3509,6 +3714,19 @@
3509
3714
  Bump versions of dev dependencies
3510
3715
  [cba92fb4b89e]
3511
3716
 
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
+
3512
3730
  2013-03-06 Michael Granger <ged@FaerieMUD.org>
3513
3731
 
3514
3732
  * README.rdoc:
@@ -3760,61 +3978,6 @@
3760
3978
  Make source settings override TM2 defaults
3761
3979
  [c5706b3f73af]
3762
3980
 
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
-
3818
3981
  2013-01-29 Aaron Patterson <aaron.patterson@gmail.com>
3819
3982
 
3820
3983
  * ext/pg_result.c, lib/pg/result.rb, spec/pg/result_spec.rb:
@@ -3843,8 +4006,22 @@
3843
4006
  Fix encoding of messages delivered by notice callbacks
3844
4007
  [048d07d14867]
3845
4008
 
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
+
3846
4015
  2012-12-26 Lars Kanis <kanis@comcard.de>
3847
4016
 
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
+
3848
4025
  * ext/pg.c:
3849
4026
  Use proper const check instead of implicit relation
3850
4027
  [d0c5d5f7f1e8]
@@ -3864,12 +4041,23 @@
3864
4041
  single row mode of PostgreSQL 9.2)
3865
4042
  [49e3fe1dafdf]
3866
4043
 
3867
- 2012-12-19 Lars Kanis <kanis@comcard.de>
4044
+ 2012-12-26 Lars Kanis <kanis@comcard.de>
3868
4045
 
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>
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>
4055
+
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>
3873
4061
 
3874
4062
  2012-12-19 Michael Granger <ged@FaerieMUD.org>
3875
4063
 
@@ -3893,6 +4081,14 @@
3893
4081
  fix spacing on README.rdoc:21 to improve display on Github
3894
4082
  [807f040166da]
3895
4083
 
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
+
3896
4092
  2012-12-19 Lars Kanis <kanis@comcard.de>
3897
4093
 
3898
4094
  * spec/pg/connection_spec.rb:
@@ -3909,6 +4105,11 @@
3909
4105
  Add spec for PG::Result#field_values
3910
4106
  [3618eb238aba]
3911
4107
 
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
+
3912
4113
  * lib/pg/connection.rb, spec/lib/helpers.rb:
3913
4114
  Restore compatibility with PostgreSQL down to 8.3
3914
4115
  [e4900f62e56d]
@@ -4030,6 +4231,15 @@
4030
4231
  Add PGRES_COPY_BOTH to documentation of PG::Result#result_status
4031
4232
  [5e0e06440b1a]
4032
4233
 
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
+
4033
4243
  2012-06-23 Michael Granger <ged@FaerieMUD.org>
4034
4244
 
4035
4245
  * .hgtags:
@@ -4040,6 +4250,33 @@
4040
4250
  Added signature for changeset a45710f8db30
4041
4251
  [634e0a42a101] [v0.14.0]
4042
4252
 
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
+
4043
4280
  2012-06-17 Lars Kanis <kanis@comcard.de>
4044
4281
 
4045
4282
  * Rakefile.cross, ext/extconf.rb,