pg 0.18.1-x86-mingw32 → 0.18.2-x86-mingw32

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: f32406c92910902414baf1b47dfd0548d95ba980
4
- data.tar.gz: d266ffd86edd252275c47ce2d6edf0a2b258ab98
3
+ metadata.gz: 95c34d47c423e63dd819956bd20bb30854ae2630
4
+ data.tar.gz: d47989fe81ed7373231e4f09bd1a88905dae84f3
5
5
  SHA512:
6
- metadata.gz: c27cb9653089ef7edca8cc1f3ed65d336ebdab78cca7f7a0f684cc53fe1bc7d03eb82a5138e7c83cbb23813176f9e26e1f087a067ef72f8a30676a63e6f9be54
7
- data.tar.gz: 0fb7efd17f9859e58525631c7bc16216a0b597583f0065e76c53e244c53fa936bfa9caa120505ca9762a033d575f1e0dad49c4b86c1d9afa8836e61ebeccd4fc
6
+ metadata.gz: b36b7d5cb6a13211c97267913f3b910562b9790debd852b6c2e3c596c8d78d7d076b76f5e474225a2832f8d10e4d56cb968ad0c399860c2c7ad058310482a7d2
7
+ data.tar.gz: 23a09c6c6fce0dab35465ba71035dd354ed014d5e18bca4b95f2b57695088109e20012b6fafc3dd6a6d34f7e6831d3eb0d53931c168d1b2bb2903708fa0384f2
data/ChangeLog CHANGED
@@ -1,8 +1,123 @@
1
+ 2015-02-11 Lars Kanis <lars@greiz-reinsdorf.de>
2
+
3
+ * ext/pg.c, spec/pg/connection_spec.rb:
4
+ Merge from git branch.
5
+ [b60c89ee93c8] [tip]
6
+
7
+ 2015-02-03 Michael Granger <ged@FaerieMUD.org>
8
+
9
+ * README.rdoc, ext/pg.c:
10
+ Update copyright notices
11
+ [447962e0dcba]
12
+
13
+ * spec/pg/connection_spec.rb:
14
+ Whitespace fixes
15
+ [f4a85f78807d]
16
+
17
+ 2014-08-22 Chris Bandy <bandy.chris@gmail.com>
18
+
19
+ * lib/pg/connection.rb, spec/pg/connection_spec.rb:
20
+ Allow URI connection string
21
+
22
+ (Imported from https://github.com/ged/ruby-pg/pull/3)
23
+ [d4579ef9eae4]
24
+
25
+ 2015-02-11 Lars Kanis <lars@greiz-reinsdorf.de>
26
+
27
+ * ext/pg.h, ext/pg_text_decoder.c:
28
+ Merge branch 'non-c99-compiler'
29
+ [b111c84b8445]
30
+
31
+ 2015-02-06 Lars Kanis <lars@greiz-reinsdorf.de>
32
+
33
+ * ext/extconf.rb, ext/pg.h, ext/pg_result.c, ext/pg_text_decoder.c,
34
+ ext/pg_type_map_by_mri_type.c:
35
+ Use fixed size arrays in case the compiler doesn't support C99
36
+ variable length arrays.
37
+
38
+ This is notably the MSVC compiler.
39
+
40
+ Note: The MSVC build environment is currently not tested on a
41
+ regular base, so is not fully supported.
42
+ [1269b8ad77b8]
43
+
44
+ 2015-02-11 Lars Kanis <lars@greiz-reinsdorf.de>
45
+
46
+ * ext/pg_connection.c:
47
+ Replace quote_ident implementation with that of
48
+ PG::TextEncoder::Identifier .
49
+
50
+ This allowes quoation of array of strings in addition to plain
51
+ strings and removes duplicated code.
52
+
53
+ It also removes the 63 byte limitation and therefore obsolets pull
54
+ request #21 https://bitbucket.org/ged/ruby-pg/pull-request/21
55
+ [714601d05fba]
56
+
57
+ * ext/pg.c, ext/pg.h, ext/pg_text_decoder.c, ext/pg_text_encoder.c,
58
+ spec/pg/connection_spec.rb, spec/pg/type_spec.rb:
59
+ Derive PG::TextDecoder::Identifier from PG::SimpleDecoder instead of
60
+ CompositeDecoder
61
+
62
+ .. and equally for Encoder.
63
+
64
+ Identifiers are strings, so there is no good reason to compose it
65
+ from other element types. This change allows a faster quoting
66
+ implementation.
67
+ [df67241d1a4f]
68
+
69
+ 2015-01-27 Lars Kanis <lars@greiz-reinsdorf.de>
70
+
71
+ * lib/pg/text_decoder.rb, spec/pg/type_spec.rb:
72
+ Fix decoding of fractional timezones like "-00:25:21".
73
+ [766aa353b392]
74
+
75
+ 2015-01-27 Lars Kanis <kanis@comcard.de>
76
+
77
+ * History.rdoc, lib/pg/text_decoder.rb, spec/pg/type_spec.rb:
78
+ Fix decoding of fractional timezones like "04:30".
79
+
80
+ This fixes https://bitbucket.org/ged/ruby-pg/issue/203 .
81
+ [33225805259c]
82
+
83
+ 2015-01-16 Lars Kanis <kanis@comcard.de>
84
+
85
+ * History.rdoc, ext/extconf.rb, ext/pg_connection.c,
86
+ spec/pg/connection_spec.rb:
87
+ Revert "Add PG::Connection#hostaddr. This is new in PostgreSQL-9.4."
88
+
89
+ PQhostaddr was removed from final PostgreSQL-9.4.0.
90
+
91
+ This fixes issue #202 :https://bitbucket.org/ged/ruby-pg/issue/202
92
+
93
+ This reverts commit 03deab7aa63f9a00984014ce59617d552b4eac34.
94
+ [b51d736bca77]
95
+
96
+ * History.rdoc:
97
+ Add a missing enhancement for pg-0.18.0
98
+ [a7635c3425f3]
99
+
100
+ * .travis.yml:
101
+ Update ruby and postgresql versions for travic-ci
102
+ [b67b92f7db97]
103
+
104
+ 2015-01-06 Lars Kanis <kanis@comcard.de>
105
+
106
+ * Merge from git.
107
+ [625e9359ac47]
108
+
109
+ 2015-01-05 Lars Kanis <kanis@comcard.de>
110
+
111
+ * ext/pg_type_map_in_ruby.c:
112
+ Use a simpler fix for https://bitbucket.org/ged/ruby-
113
+ pg/commits/a38cf53a96f
114
+ [3d89d3aae4fd]
115
+
1
116
  2015-01-05 Michael Granger <ged@FaerieMUD.org>
2
117
 
3
118
  * .hgtags:
4
119
  Added tag v0.18.1 for changeset f97dd6cb4f34
5
- [f8122014065a] [tip]
120
+ [f8122014065a]
6
121
 
7
122
  * .hgsigs:
8
123
  Added signature for changeset ba5aff64b5cb
@@ -38,6 +153,13 @@
38
153
  Add a Rake task for generating the gemspec
39
154
  [ec6d6ce61a15]
40
155
 
156
+ 2014-12-31 Lars Kanis <lars@greiz-reinsdorf.de>
157
+
158
+ * Rakefile.cross, lib/pg.rb, misc/postgresql-9.4.0.with-buggy-
159
+ mingw-w64.patch:
160
+ Add workaround for buggy mingw-w64 toolchain on Ubuntu-14.10
161
+ [f5c7f9158ee2]
162
+
41
163
  2014-12-26 Lars Kanis <lars@greiz-reinsdorf.de>
42
164
 
43
165
  * lib/pg/basic_type_mapping.rb:
@@ -112,192 +234,6 @@
112
234
  of ongoing issues with gem installation on rbx.
113
235
  [b8debfea4331]
114
236
 
115
- 2014-10-09 Lars Kanis <kanis@comcard.de>
116
-
117
- * Rakefile, Rakefile.cross, lib/pg.rb:
118
- Bundle libpq.dll into gem, because PostgreSQL-9.3 does no longer
119
- support static linking.
120
- [03fde0fcf77d]
121
-
122
- 2014-09-15 Lars Kanis <kanis@comcard.de>
123
-
124
- * ext/pg_type_map_by_column.c:
125
- debug travis
126
- [b852994b7c48]
127
-
128
- * .travis.yml:
129
- debug travis
130
- [873dc33ffaf8]
131
-
132
- * .travis.yml:
133
- debug travis
134
- [49c0557e9034]
135
-
136
- * .travis.yml:
137
- Try valgrind
138
- [513486ecd1ed]
139
-
140
- 2014-01-01 Lars Kanis <lars@greiz-reinsdorf.de>
141
-
142
- * ext/pg.h, ext/pg_column_mapping.c, ext/pg_connection.c,
143
- ext/pg_type.c, lib/pg.rb, lib/pg/column_mapping.rb,
144
- lib/pg/result.rb, lib/pg/type.rb, spec/pg/column_mapping_spec.rb,
145
- spec/pg/result_spec.rb:
146
- Add optional type casting to input parameters
147
-
148
- Refactor decoding code
149
- [8bdf65103ee0]
150
-
151
- 2013-12-28 Lars Kanis <lars@greiz-reinsdorf.de>
152
-
153
- * ext/pg_connection.c:
154
- Refactor processing of query params, which was almost equal for
155
- exec_params, exec_prepared, send_query and send_query_prepared.
156
- [43c5a456205f]
157
-
158
- 2013-12-23 Lars Kanis <lars@greiz-reinsdorf.de>
159
-
160
- * ext/pg.h, ext/pg_column_mapping.c, ext/pg_type.c, lib/pg/type.rb,
161
- spec/pg/column_mapping_spec.rb, spec/pg/type_spec.rb:
162
- Detach type decoders from Result, so that they could be used with
163
- COPY.
164
-
165
- Change type encoders to a two pass mechanism, which could also be
166
- used with COPY.
167
- [c5736f041818]
168
-
169
- 2013-12-21 Lars Kanis <lars@greiz-reinsdorf.de>
170
-
171
- * ext/pg_column_mapping.c, ext/pg_type.c:
172
- Always map NULL values to Qnil.
173
-
174
- This removes duplicated code from type converters and will speedup
175
- converters implemented in ruby.
176
- [38cc9de4c7a1]
177
-
178
- 2013-12-13 Lars Kanis <lars@greiz-reinsdorf.de>
179
-
180
- * ext/pg.h, ext/pg_column_mapping.c, ext/pg_type.c, lib/pg/result.rb,
181
- lib/pg/type.rb, spec/pg/column_mapping_spec.rb,
182
- spec/pg/result_spec.rb, spec/pg/type_spec.rb:
183
- more WIP: Add bidirectional type mapping
184
- [50e50a319f20]
185
-
186
- 2013-12-09 Lars Kanis <lars@greiz-reinsdorf.de>
187
-
188
- * Manifest.txt, ext/pg.c, ext/pg.h, ext/pg_column_mapping.c,
189
- ext/pg_result.c, ext/pg_type.c, lib/pg.rb, lib/pg/result.rb,
190
- lib/pg/type.rb, spec/pg/column_mapping_spec.rb,
191
- spec/pg/result_spec.rb, spec/pg/type_spec.rb:
192
- WIP: Add bidiractional type mapping
193
- [0e58e4d9eecf]
194
-
195
- 2013-12-07 Lars Kanis <lars@greiz-reinsdorf.de>
196
-
197
- * lib/pg/result.rb, spec/pg/column_mapping_spec.rb:
198
- Add a (quite incomplete) default mapping of OIDs to PG::Result and
199
- allow distinct mappings for text and binary formats to
200
- Result#map_types! .
201
-
202
- Add documentation to Result#map_types! .
203
- [d1730bd948f0]
204
-
205
- 2013-07-19 Lars Kanis <kanis@comcard.de>
206
-
207
- * spec/pg/column_mapping_spec.rb:
208
- Too less quoting. Should fix compat with PostgreSQL 8.4.
209
- [8c91b4b51b2f]
210
-
211
- 2013-07-18 Lars Kanis <kanis@comcard.de>
212
-
213
- * Manifest.txt:
214
- Add missing files to Manifest.txt.
215
- [d708f0452cd9]
216
-
217
- * Manifest.txt, ext/pg_column_mapping.c, ext/util.c, ext/util.h:
218
- Add compat with Windows platform.
219
- [a3d5773fbb0d]
220
-
221
- * ext/pg_column_mapping.c, spec/pg/column_mapping_spec.rb:
222
- Add compat with Ruby-1.8.7.
223
- [1c03dc9752f2]
224
-
225
- * spec/pg/column_mapping_spec.rb:
226
- Use old BYTEA escaping for compat with PostgreSQL 8.4
227
- [4ff19d752977]
228
-
229
- 2013-07-04 Lars Kanis <lars@greiz-reinsdorf.de>
230
-
231
- * ext/pg_column_mapping.c, spec/pg/column_mapping_spec.rb:
232
- Add BinaryBolean converter.
233
-
234
- Refactor converter tests.
235
- [6e769d602e2b]
236
-
237
- * ext/pg_column_mapping.c, spec/pg/column_mapping_spec.rb:
238
- Add BinaryFloat converter.
239
- [aad7bf30c9af]
240
-
241
- 2013-07-03 Lars Kanis <lars@greiz-reinsdorf.de>
242
-
243
- * ext/pg_column_mapping.c, lib/pg/result.rb,
244
- spec/pg/column_mapping_spec.rb, spec/pg/result_spec.rb:
245
- Change ColumnMapping#initialize to take one Array arg rather than a
246
- parameter list.
247
-
248
- Suggested by Aaron: https://groups.google.com/d/msg/ruby-
249
- pg/PE5K6q9RzBs/M5prOno39DEJ
250
- [9942faf0a523]
251
-
252
- * spec/pg/result_spec.rb:
253
- Add test case for all value retrieving methods of PG::Result .
254
- [36ab9306a585]
255
-
256
- * spec/pg/column_mapping_spec.rb:
257
- Add test case for default_mapping in Result#map_types!
258
- [3a7397c537b8]
259
-
260
- * lib/pg/result.rb, spec/pg/column_mapping_spec.rb:
261
- Add convenience method PG::Result#map_types!
262
- [2f4da696145e]
263
-
264
- * spec/pg/column_mapping_spec.rb:
265
- Add Boolean ColumnMapping spec and do Integer a bit more compact.
266
- [5391bdaaf012]
267
-
268
- 2013-07-01 Lars Kanis <kanis@comcard.de>
269
-
270
- * ext/pg_column_mapping.c, spec/pg/column_mapping_spec.rb:
271
- Add converter BinaryInteger.
272
- [127523ca99c0]
273
-
274
- * ext/pg_column_mapping.c, spec/pg/column_mapping_spec.rb,
275
- spec/pg/result_spec.rb:
276
- Use instances of PG::ColumnMapping::CConverter as representation of
277
- the buildin converters instead of plain symbols. Symbol arguments
278
- are converted to these instances, for convenience.
279
-
280
- This allows to store and retrieve additional informations to the
281
- conversion and also which conversions are supported.
282
- [7a5076617b9a]
283
-
284
- * ext/pg_column_mapping.c:
285
- Don't depend on TYPE(obj)==T_DATA of a proc object for compat with
286
- rubinius.
287
- [7cafcdbfe515]
288
-
289
- 2013-06-29 Lars Kanis <lars@greiz-reinsdorf.de>
290
-
291
- * ext/pg.c, ext/pg.h, ext/pg_column_mapping.c, ext/pg_result.c,
292
- spec/pg/result_spec.rb:
293
- Add column based type mapping.
294
-
295
- This allowes to speed up result retrieval by directly converting
296
- integer and float values to proper ruby types.
297
- [bd7789f8f3c4]
298
-
299
- 2014-11-17 Lars Kanis <kanis@comcard.de>
300
-
301
237
  * ext/pg.h, ext/pg_errors.c, ext/pg_result.c, spec/pg/result_spec.rb:
302
238
  Use dedicated error classes for stream exceptions.
303
239
  [f23dd01bcb52]
@@ -562,6 +498,16 @@
562
498
  Add type mapping and performance improvements
563
499
  [0da90c2b2812]
564
500
 
501
+ * spec/helpers.rb, spec/pg/connection_spec.rb:
502
+ Merged with 4cc778c5ead7
503
+ [67bb0f34ca05]
504
+
505
+ 2014-08-20 Michael Granger <ged@FaerieMUD.org>
506
+
507
+ * spec/helpers.rb, spec/pg/connection_spec.rb:
508
+ Check connection status with a matcher in specs
509
+ [b32840b98e4b]
510
+
565
511
  2014-10-09 Lars Kanis <lars@greiz-reinsdorf.de>
566
512
 
567
513
  * Rakefile, Rakefile.cross, ext/extconf.rb:
@@ -654,6 +600,35 @@
654
600
  alloc_query_params1() and avoids code duplication within type maps.
655
601
  [2afa6cc41d55]
656
602
 
603
+ 2014-10-09 Lars Kanis <lars@greiz-reinsdorf.de>
604
+
605
+ * Rakefile, Rakefile.cross, ext/extconf.rb:
606
+ gcc option -static-libgcc is required for i386-mingw32 build.
607
+
608
+ Don't use native pg_config for cross build. The paths were
609
+ overwritten anyways until now.
610
+
611
+ Remove code that was only needed for static build to libpq.
612
+ [4cc778c5ead7]
613
+
614
+ 2014-10-09 Lars Kanis <kanis@comcard.de>
615
+
616
+ * Rakefile, Rakefile.cross, lib/pg.rb:
617
+ Bundle libpq.dll into gem, because PostgreSQL-9.3 does no longer
618
+ support static linking.
619
+ [a37e27d356e5]
620
+
621
+ 2014-10-04 Lars Kanis <lars@greiz-reinsdorf.de>
622
+
623
+ * spec/helpers.rb, spec/pg/connection_spec.rb:
624
+ Add missing spec for hash form parameters to #exec_params .
625
+ [04a6a0136a12]
626
+
627
+ * spec/pg/type_map_by_column_spec.rb:
628
+ Fix handling of query parameters in hash form in conjunction with
629
+ type map.
630
+ [a5f028117537]
631
+
657
632
  * spec/pg/connection_spec.rb:
658
633
  Add missing spec for hash form parameters to #exec_params .
659
634
  [23ad5d676b53]
@@ -1960,56 +1935,20 @@
1960
1935
  integer and float values to proper ruby types.
1961
1936
  [71ddc0446d26]
1962
1937
 
1963
- 2014-10-11 Michael Granger <ged@FaerieMUD.org>
1938
+ 2014-08-24 Lars Kanis <lars@greiz-reinsdorf.de>
1964
1939
 
1965
- * spec/helpers.rb, spec/pg/connection_spec.rb:
1966
- Merged with 4cc778c5ead7
1967
- [67bb0f34ca05]
1940
+ * ext/pg_connection.c:
1941
+ Change all remaining Oid <-> VALUE conversions to UINT.
1942
+ [bae3928a7b09]
1968
1943
 
1969
- 2014-08-20 Michael Granger <ged@FaerieMUD.org>
1944
+ * .travis.yml:
1945
+ 'gem install rake-compiler' is still needed for cross build.
1946
+ [591c4b0f2d69]
1970
1947
 
1971
- * spec/helpers.rb, spec/pg/connection_spec.rb:
1972
- Check connection status with a matcher in specs
1973
- [b32840b98e4b]
1974
-
1975
- 2014-10-09 Lars Kanis <lars@greiz-reinsdorf.de>
1976
-
1977
- * Rakefile, Rakefile.cross, ext/extconf.rb:
1978
- gcc option -static-libgcc is required for i386-mingw32 build.
1979
-
1980
- Don't use native pg_config for cross build. The paths were
1981
- overwritten anyways until now.
1982
-
1983
- Remove code that was only needed for static build to libpq.
1984
- [4cc778c5ead7]
1985
-
1986
- 2014-10-09 Lars Kanis <kanis@comcard.de>
1987
-
1988
- * Rakefile, Rakefile.cross, lib/pg.rb:
1989
- Bundle libpq.dll into gem, because PostgreSQL-9.3 does no longer
1990
- support static linking.
1991
- [a37e27d356e5]
1992
-
1993
- 2014-10-04 Lars Kanis <lars@greiz-reinsdorf.de>
1994
-
1995
- * spec/helpers.rb, spec/pg/connection_spec.rb:
1996
- Add missing spec for hash form parameters to #exec_params .
1997
- [04a6a0136a12]
1998
-
1999
- 2014-08-24 Lars Kanis <lars@greiz-reinsdorf.de>
2000
-
2001
- * ext/pg_connection.c:
2002
- Change all remaining Oid <-> VALUE conversions to UINT.
2003
- [bae3928a7b09]
2004
-
2005
- * .travis.yml:
2006
- 'gem install rake-compiler' is still needed for cross build.
2007
- [591c4b0f2d69]
2008
-
2009
- * lib/pg/connection.rb, spec/pg/connection_spec.rb:
2010
- Add Connection.conndefaults_hash and add specs for conndefault
2011
- variants.
2012
- [2221655210da]
1948
+ * lib/pg/connection.rb, spec/pg/connection_spec.rb:
1949
+ Add Connection.conndefaults_hash and add specs for conndefault
1950
+ variants.
1951
+ [2221655210da]
2013
1952
 
2014
1953
  * .travis.yml:
2015
1954
  Travis uses the Gemfile, so 'gem install' is obsolete.
@@ -2236,15 +2175,6 @@
2236
2175
  * merge tip
2237
2176
  [90252df3c5c8]
2238
2177
 
2239
- * lib/pg/connection.rb, spec/pg/connection_spec.rb:
2240
- Add PG::Connection#copy_data as a convenience method.
2241
- [5096385267ab]
2242
-
2243
- * ext/pg_result.c:
2244
- Return self from PG::Result#check instead of nil. This allowes to
2245
- stack method calls.
2246
- [8255d4f73334]
2247
-
2248
2178
  2013-08-15 Lars Kanis <lars@greiz-reinsdorf.de>
2249
2179
 
2250
2180
  * Rakefile.cross:
@@ -2254,6 +2184,17 @@
2254
2184
  This is 'i586-mingw32msvc-gcc' versus 'i586-pc-mingw32msvc'.
2255
2185
  [fbee9586e8f7]
2256
2186
 
2187
+ 2013-08-18 Lars Kanis <lars@greiz-reinsdorf.de>
2188
+
2189
+ * lib/pg/connection.rb, spec/pg/connection_spec.rb:
2190
+ Add PG::Connection#copy_data as a convenience method.
2191
+ [5096385267ab]
2192
+
2193
+ * ext/pg_result.c:
2194
+ Return self from PG::Result#check instead of nil. This allowes to
2195
+ stack method calls.
2196
+ [8255d4f73334]
2197
+
2257
2198
  2013-08-14 Lars Kanis <lars@greiz-reinsdorf.de>
2258
2199
 
2259
2200
  * Gemfile, Rakefile:
@@ -2295,6 +2236,10 @@
2295
2236
  Travis: Allow failures on rbx.
2296
2237
  [7be3b156c8fb]
2297
2238
 
2239
+ * spec/pg/column_mapping_spec.rb:
2240
+ Too less quoting. Should fix compat with PostgreSQL 8.4.
2241
+ [45fc78971757]
2242
+
2298
2243
  2013-07-18 Lars Kanis <kanis@comcard.de>
2299
2244
 
2300
2245
  * spec/pg/connection_spec.rb:
@@ -2330,6 +2275,92 @@
2330
2275
  This test failed on Windows x64.
2331
2276
  [6894f73d7039]
2332
2277
 
2278
+ * Manifest.txt:
2279
+ Add missing files to Manifest.txt.
2280
+ [3b4bc9524bb3]
2281
+
2282
+ * Manifest.txt, ext/pg_column_mapping.c, ext/util.c, ext/util.h:
2283
+ Add compat with Windows platform.
2284
+ [3ac02d0ccf19]
2285
+
2286
+ * ext/pg_column_mapping.c, spec/pg/column_mapping_spec.rb:
2287
+ Add compat with Ruby-1.8.7.
2288
+ [7bcb3040fe34]
2289
+
2290
+ * spec/pg/column_mapping_spec.rb:
2291
+ Use old BYTEA escaping for compat with PostgreSQL 8.4
2292
+ [2fad9e274ad3]
2293
+
2294
+ 2013-07-04 Lars Kanis <lars@greiz-reinsdorf.de>
2295
+
2296
+ * ext/pg_column_mapping.c, spec/pg/column_mapping_spec.rb:
2297
+ Add BinaryBolean converter.
2298
+
2299
+ Refactor converter tests.
2300
+ [06c99b04f572]
2301
+
2302
+ * ext/pg_column_mapping.c, spec/pg/column_mapping_spec.rb:
2303
+ Add BinaryFloat converter.
2304
+ [493b0354c678]
2305
+
2306
+ 2013-07-03 Lars Kanis <lars@greiz-reinsdorf.de>
2307
+
2308
+ * ext/pg_column_mapping.c, lib/pg/result.rb,
2309
+ spec/pg/column_mapping_spec.rb, spec/pg/result_spec.rb:
2310
+ Change ColumnMapping#initialize to take one Array arg rather than a
2311
+ parameter list.
2312
+
2313
+ Suggested by Aaron: https://groups.google.com/d/msg/ruby-
2314
+ pg/PE5K6q9RzBs/M5prOno39DEJ
2315
+ [c2ca10bf93c5]
2316
+
2317
+ * spec/pg/result_spec.rb:
2318
+ Add test case for all value retrieving methods of PG::Result .
2319
+ [e1055f877c58]
2320
+
2321
+ * spec/pg/column_mapping_spec.rb:
2322
+ Add test case for default_mapping in Result#map_types!
2323
+ [489220119795]
2324
+
2325
+ * lib/pg/result.rb, spec/pg/column_mapping_spec.rb:
2326
+ Add convenience method PG::Result#map_types!
2327
+ [de02df7fb198]
2328
+
2329
+ * spec/pg/column_mapping_spec.rb:
2330
+ Add Boolean ColumnMapping spec and do Integer a bit more compact.
2331
+ [4256841e088f]
2332
+
2333
+ 2013-07-01 Lars Kanis <kanis@comcard.de>
2334
+
2335
+ * ext/pg_column_mapping.c, spec/pg/column_mapping_spec.rb:
2336
+ Add converter BinaryInteger.
2337
+ [6f0c8f72962f]
2338
+
2339
+ * ext/pg_column_mapping.c, spec/pg/column_mapping_spec.rb,
2340
+ spec/pg/result_spec.rb:
2341
+ Use instances of PG::ColumnMapping::CConverter as representation of
2342
+ the buildin converters instead of plain symbols. Symbol arguments
2343
+ are converted to these instances, for convenience.
2344
+
2345
+ This allows to store and retrieve additional informations to the
2346
+ conversion and also which conversions are supported.
2347
+ [e4f6c37b5449]
2348
+
2349
+ * ext/pg_column_mapping.c:
2350
+ Don't depend on TYPE(obj)==T_DATA of a proc object for compat with
2351
+ rubinius.
2352
+ [c33c4ac01aaf]
2353
+
2354
+ 2013-06-29 Lars Kanis <lars@greiz-reinsdorf.de>
2355
+
2356
+ * ext/pg.c, ext/pg.h, ext/pg_column_mapping.c, ext/pg_result.c,
2357
+ spec/pg/result_spec.rb:
2358
+ Add column based type mapping.
2359
+
2360
+ This allowes to speed up result retrieval by directly converting
2361
+ integer and float values to proper ruby types.
2362
+ [160c71c0b584]
2363
+
2333
2364
  2013-07-06 Lars Kanis <lars@greiz-reinsdorf.de>
2334
2365
 
2335
2366
  * ext/pg_connection.c, spec/pg/connection_spec.rb:
@@ -2615,14 +2646,14 @@
2615
2646
  avoid warnings about truncated identifier.
2616
2647
 
2617
2648
  Thanks to Svoop for this report.
2618
- [134e067259ee] <v0.15-stable>
2649
+ [9a6791fe9409]
2619
2650
 
2620
2651
  * lib/pg/connection.rb, spec/pg/connection_spec.rb:
2621
2652
  Send a shortened $0 as application_name to the server in order to
2622
2653
  avoid warnings about truncated identifier.
2623
2654
 
2624
2655
  Thanks to Svoop for this report.
2625
- [9a6791fe9409]
2656
+ [134e067259ee] <v0.15-stable>
2626
2657
 
2627
2658
  2013-03-26 Michael Granger <ged@FaerieMUD.org>
2628
2659
 
@@ -2710,17 +2741,6 @@
2710
2741
  Merge with https://bitbucket.org/ged/ruby-pg
2711
2742
  [3230e6c245e0]
2712
2743
 
2713
- * Rakefile, Rakefile.cross:
2714
- Add support for cross build for multiple platforms (i386-mingw32 and
2715
- x64-mingw32).
2716
-
2717
- Update OpenSSL for cross build to 1.0.1e Update PostgreSQL for cross
2718
- build to 9.2.3
2719
-
2720
- Remove -lws2_32 for PostgreSQL build. It fails to compile for
2721
- x64-mingw32 elsewise.
2722
- [6a2a1a53dedc]
2723
-
2724
2744
  2013-03-12 Michael Granger <ged@FaerieMUD.org>
2725
2745
 
2726
2746
  * Rakefile.cross:
@@ -2735,6 +2755,19 @@
2735
2755
  Bump versions of dev dependencies
2736
2756
  [cba92fb4b89e]
2737
2757
 
2758
+ 2013-03-13 Lars Kanis <kanis@comcard.de>
2759
+
2760
+ * Rakefile, Rakefile.cross:
2761
+ Add support for cross build for multiple platforms (i386-mingw32 and
2762
+ x64-mingw32).
2763
+
2764
+ Update OpenSSL for cross build to 1.0.1e Update PostgreSQL for cross
2765
+ build to 9.2.3
2766
+
2767
+ Remove -lws2_32 for PostgreSQL build. It fails to compile for
2768
+ x64-mingw32 elsewise.
2769
+ [6a2a1a53dedc]
2770
+
2738
2771
  2013-03-06 Michael Granger <ged@FaerieMUD.org>
2739
2772
 
2740
2773
  * README.rdoc:
@@ -2986,61 +3019,6 @@
2986
3019
  Make source settings override TM2 defaults
2987
3020
  [c5706b3f73af]
2988
3021
 
2989
- 2012-12-26 Lars Kanis <kanis@comcard.de>
2990
-
2991
- * ext/extconf.rb, ext/pg_connection.c, spec/pg/connection_spec.rb:
2992
- merge in default branch
2993
- [ca39e311d1eb] <use_gvl_for_blocking_functions>
2994
-
2995
- * ext/gvl_wrappers.h:
2996
- Add some documentation to gvl_wrappers
2997
- [ffeb6a0afd1f] <use_gvl_for_blocking_functions>
2998
-
2999
- * spec/pg/connection_spec.rb:
3000
- Add test case for threading with Connection#exec in ruby 1.9
3001
- [73b9aa38e8c0] <use_gvl_for_blocking_functions>
3002
-
3003
- * ext/extconf.rb, ext/gvl_wrappers.c, ext/gvl_wrappers.h, ext/pg.h,
3004
- ext/pg_connection.c:
3005
- Add wrappers to blocking functions and callbacks in order to release
3006
- the GVL of ruby 1.9 as long as not in ruby code
3007
- [2f2c681424ed] <use_gvl_for_blocking_functions>
3008
-
3009
- 2012-07-02 Lars Kanis <kanis@comcard.de>
3010
-
3011
- * ext/pg_connection.c, spec/pg/connection_spec.rb:
3012
- Fix encoding of values delivered to the row processor and add specs
3013
- for binary and text data.
3014
- [bb9c6625fbc9] <row_processor>
3015
-
3016
- * ext/pg_connection.c:
3017
- Polish the documentation a little bit
3018
- [b7633be3c941] <row_processor>
3019
-
3020
- 2012-07-01 Lars Kanis <kanis@comcard.de>
3021
-
3022
- * ext/pg_connection.c:
3023
- Get rid of gcc warning about (non-)const PGresult to
3024
- pg_new_result_for_callback()
3025
- [1a25786ed8f3] <row_processor>
3026
-
3027
- * ext/pg_connection.c, spec/pg/connection_spec.rb:
3028
- Fix wrong encoding for Result object passed to a notice-receiver
3029
- block. Add proper specs for #set_notice_receiver.
3030
- [4280826bb9b9] <row_processor>
3031
-
3032
- * ext/extconf.rb, ext/pg.h, ext/pg_connection.c, ext/pg_result.c,
3033
- spec/lib/helpers.rb, spec/pg/connection_spec.rb:
3034
- Implement PostgreSQL-9.2 functions PG::Connection#set_row_processor,
3035
- get_row_processor, skip_result
3036
- [b7ce4843f4d1] <row_processor>
3037
-
3038
- 2012-06-28 Lars Kanis <kanis@comcard.de>
3039
-
3040
- * ext/pg_result.c:
3041
- Add PGRES_COPY_BOTH to documentation of PG::Result#result_status
3042
- [63998b47da6e] <copy_both_docu>
3043
-
3044
3022
  2013-01-29 Aaron Patterson <aaron.patterson@gmail.com>
3045
3023
 
3046
3024
  * ext/pg_result.c, lib/pg/result.rb, spec/pg/result_spec.rb:
@@ -3069,8 +3047,22 @@
3069
3047
  Fix encoding of messages delivered by notice callbacks
3070
3048
  [048d07d14867]
3071
3049
 
3050
+ 2012-12-29 Lars Kanis <kanis@comcard.de>
3051
+
3052
+ * ext/gvl_wrappers.h:
3053
+ Simplify function declaration for gvl_wrappers a bit more
3054
+ [39ba7e52207e] <use_gvl_for_blocking_functions>
3055
+
3072
3056
  2012-12-26 Lars Kanis <kanis@comcard.de>
3073
3057
 
3058
+ * ext/extconf.rb, ext/pg_connection.c, spec/pg/connection_spec.rb:
3059
+ merge in default branch
3060
+ [ca39e311d1eb] <use_gvl_for_blocking_functions>
3061
+
3062
+ * ext/gvl_wrappers.h:
3063
+ Add some documentation to gvl_wrappers
3064
+ [ffeb6a0afd1f] <use_gvl_for_blocking_functions>
3065
+
3074
3066
  * ext/pg.c:
3075
3067
  Use proper const check instead of implicit relation
3076
3068
  [d0c5d5f7f1e8]
@@ -3090,12 +3082,23 @@
3090
3082
  single row mode of PostgreSQL 9.2)
3091
3083
  [49e3fe1dafdf]
3092
3084
 
3093
- 2012-12-19 Lars Kanis <kanis@comcard.de>
3085
+ 2012-12-26 Lars Kanis <kanis@comcard.de>
3094
3086
 
3095
- * ext/extconf.rb, ext/pg.c, ext/pg_connection.c,
3096
- spec/pg/connection_spec.rb:
3097
- Add single row mode of PostgreSQL 9.2
3098
- [5cf348b75c1c] <single_row_mode>
3087
+ * spec/pg/connection_spec.rb:
3088
+ Add test case for threading with Connection#exec in ruby 1.9
3089
+ [73b9aa38e8c0] <use_gvl_for_blocking_functions>
3090
+
3091
+ * ext/extconf.rb, ext/gvl_wrappers.c, ext/gvl_wrappers.h, ext/pg.h,
3092
+ ext/pg_connection.c:
3093
+ Add wrappers to blocking functions and callbacks in order to release
3094
+ the GVL of ruby 1.9 as long as not in ruby code
3095
+ [2f2c681424ed] <use_gvl_for_blocking_functions>
3096
+
3097
+ * ext/extconf.rb, ext/gvl_wrappers.c, ext/gvl_wrappers.h, ext/pg.h,
3098
+ ext/pg_connection.c:
3099
+ Add wrappers to blocking functions and callbacks in order to release
3100
+ the GVL of ruby 1.9 as long as not in ruby code
3101
+ [6ad8aa8e10a5] <use_gvl_for_blocking_functions>
3099
3102
 
3100
3103
  2012-12-19 Michael Granger <ged@FaerieMUD.org>
3101
3104
 
@@ -3119,6 +3122,14 @@
3119
3122
  fix spacing on README.rdoc:21 to improve display on Github
3120
3123
  [807f040166da]
3121
3124
 
3125
+ 2012-12-26 Lars Kanis <kanis@comcard.de>
3126
+
3127
+ * ext/extconf.rb, ext/gvl_wrappers.c, ext/gvl_wrappers.h, ext/pg.h,
3128
+ ext/pg_connection.c:
3129
+ Add wrappers to blocking functions and callbacks in order to release
3130
+ the GVL of ruby 1.9 while not in ruby code
3131
+ [c31ea26b15e9] <use_gvl_for_blocking_functions>
3132
+
3122
3133
  2012-12-19 Lars Kanis <kanis@comcard.de>
3123
3134
 
3124
3135
  * spec/pg/connection_spec.rb:
@@ -3135,6 +3146,11 @@
3135
3146
  Add spec for PG::Result#field_values
3136
3147
  [3618eb238aba]
3137
3148
 
3149
+ * ext/extconf.rb, ext/pg.c, ext/pg_connection.c,
3150
+ spec/pg/connection_spec.rb:
3151
+ Add single row mode of PostgreSQL 9.2
3152
+ [5cf348b75c1c] <single_row_mode>
3153
+
3138
3154
  * lib/pg/connection.rb, spec/lib/helpers.rb:
3139
3155
  Restore compatibility with PostgreSQL down to 8.3
3140
3156
  [e4900f62e56d]
@@ -3256,6 +3272,15 @@
3256
3272
  Add PGRES_COPY_BOTH to documentation of PG::Result#result_status
3257
3273
  [5e0e06440b1a]
3258
3274
 
3275
+ * ext/pg_connection.c, spec/pg/connection_spec.rb:
3276
+ Fix encoding of values delivered to the row processor and add specs
3277
+ for binary and text data.
3278
+ [bb9c6625fbc9] <row_processor>
3279
+
3280
+ * ext/pg_connection.c:
3281
+ Polish the documentation a little bit
3282
+ [b7633be3c941] <row_processor>
3283
+
3259
3284
  2012-06-23 Michael Granger <ged@FaerieMUD.org>
3260
3285
 
3261
3286
  * .hgtags:
@@ -3266,6 +3291,33 @@
3266
3291
  Added signature for changeset a45710f8db30
3267
3292
  [634e0a42a101] [v0.14.0]
3268
3293
 
3294
+ 2012-07-01 Lars Kanis <kanis@comcard.de>
3295
+
3296
+ * merge copy_both_docu
3297
+ [6e8ef5d4d216]
3298
+
3299
+ * ext/pg_connection.c:
3300
+ Get rid of gcc warning about (non-)const PGresult to
3301
+ pg_new_result_for_callback()
3302
+ [1a25786ed8f3] <row_processor>
3303
+
3304
+ * ext/pg_connection.c, spec/pg/connection_spec.rb:
3305
+ Fix wrong encoding for Result object passed to a notice-receiver
3306
+ block. Add proper specs for #set_notice_receiver.
3307
+ [4280826bb9b9] <row_processor>
3308
+
3309
+ * ext/extconf.rb, ext/pg.h, ext/pg_connection.c, ext/pg_result.c,
3310
+ spec/lib/helpers.rb, spec/pg/connection_spec.rb:
3311
+ Implement PostgreSQL-9.2 functions PG::Connection#set_row_processor,
3312
+ get_row_processor, skip_result
3313
+ [b7ce4843f4d1] <row_processor>
3314
+
3315
+ 2012-06-28 Lars Kanis <kanis@comcard.de>
3316
+
3317
+ * ext/pg_result.c:
3318
+ Add PGRES_COPY_BOTH to documentation of PG::Result#result_status
3319
+ [63998b47da6e] <copy_both_docu>
3320
+
3269
3321
  2012-06-17 Lars Kanis <kanis@comcard.de>
3270
3322
 
3271
3323
  * Rakefile.cross, ext/extconf.rb,