pg 0.18.2-x86-mingw32 → 0.18.3-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 +4 -4
- checksums.yaml.gz.sig +3 -0
- data.tar.gz.sig +0 -0
- data/ChangeLog +409 -261
- data/History.rdoc +13 -0
- data/README-Windows.rdoc +15 -26
- data/README.rdoc +2 -1
- data/Rakefile +2 -0
- data/Rakefile.cross +36 -20
- data/ext/pg.c +1 -1
- data/ext/pg_binary_decoder.c +1 -1
- data/ext/pg_binary_encoder.c +1 -1
- data/ext/pg_connection.c +5 -5
- data/ext/pg_result.c +1 -1
- data/ext/pg_text_decoder.c +1 -1
- data/ext/pg_text_encoder.c +1 -1
- data/ext/pg_type_map.c +1 -1
- data/ext/pg_type_map_all_strings.c +1 -1
- data/ext/pg_type_map_by_class.c +1 -1
- data/ext/pg_type_map_by_column.c +1 -1
- data/ext/pg_type_map_by_mri_type.c +1 -1
- data/ext/pg_type_map_by_oid.c +1 -1
- data/ext/pg_type_map_in_ruby.c +1 -1
- data/ext/util.c +2 -2
- data/lib/1.9/pg_ext.so +0 -0
- data/lib/2.0/pg_ext.so +0 -0
- data/lib/2.1/pg_ext.so +0 -0
- data/lib/2.2/pg_ext.so +0 -0
- data/lib/i386-mingw32/libpq.dll +0 -0
- data/lib/pg.rb +2 -2
- data/lib/pg/basic_type_mapping.rb +35 -35
- data/lib/pg/text_decoder.rb +3 -1
- data/sample/disk_usage_report.rb +1 -1
- data/sample/pg_statistics.rb +1 -1
- data/sample/replication_monitor.rb +1 -1
- data/spec/helpers.rb +1 -1
- data/spec/pg/basic_type_mapping_spec.rb +4 -4
- data/spec/pg/connection_spec.rb +5 -2
- data/spec/pg/type_spec.rb +2 -0
- metadata +74 -10
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 20a4e13411afbbf99dcb058df77440544061d41e
|
4
|
+
data.tar.gz: 0e145eaae703a4c655195d843f5650559f688a15
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f22bd098284010f55e5e9ef985a15415443d44ec6a2f86cf54c530665f5531faa66302d37dffcbbe3c46946d5dfcd22833ef19468533fa19eeba2d31d6eef8a0
|
7
|
+
data.tar.gz: 92f0f8d4dec0bd1099c4e1495f45289037b8fa0ca74cecece992c2514bd996ffc3a3a3408ecdf7cd038022006cb57b8ec41054d782eda54210a24b636089a530
|
checksums.yaml.gz.sig
ADDED
data.tar.gz.sig
ADDED
Binary file
|
data/ChangeLog
CHANGED
@@ -1,29 +1,282 @@
|
|
1
|
+
2015-09-03 Michael Granger <ged@FaerieMUD.org>
|
2
|
+
|
3
|
+
* History.rdoc:
|
4
|
+
Added recent fix to the History file
|
5
|
+
[f12dc2f1ce14] [tip]
|
6
|
+
|
7
|
+
2015-09-01 Lars Kanis <lars@greiz-reinsdorf.de>
|
8
|
+
|
9
|
+
* lib/pg/text_decoder.rb:
|
10
|
+
Add missing require
|
11
|
+
[d0ba6a2cb10f]
|
12
|
+
|
13
|
+
* Merge pull request #9 from ramfjord/date-decoder-return-dates
|
14
|
+
|
15
|
+
Date decoder to return real Dates
|
16
|
+
[676def89b826]
|
17
|
+
|
18
|
+
2015-06-21 Thomas Ramfjord <thomas.ramfjord@gmail.com>
|
19
|
+
|
20
|
+
* lib/pg/text_decoder.rb, spec/pg/basic_type_mapping_spec.rb:
|
21
|
+
modified TextDecoder::Date to return an actual ruby Date instead of
|
22
|
+
a Time
|
23
|
+
[c50593d12ba2]
|
24
|
+
|
25
|
+
2015-08-20 Lars Kanis <lars@greiz-reinsdorf.de>
|
26
|
+
|
27
|
+
* Rakefile:
|
28
|
+
Add include for Hoe::MercurialHelpers as a temporary solution for
|
29
|
+
the error:
|
30
|
+
|
31
|
+
Packaging tasks require the hoe-mercurial plugin (gem install hoe-
|
32
|
+
mercurial)
|
33
|
+
[a84f83ff5b31]
|
34
|
+
|
35
|
+
* History.rdoc:
|
36
|
+
Update History.rdoc
|
37
|
+
[cadfac537e73]
|
38
|
+
|
39
|
+
* Merge branch 'master' of github.com:larskanis/ruby-pg
|
40
|
+
[d27d6d5a6545]
|
41
|
+
|
42
|
+
* README.rdoc:
|
43
|
+
Add Appveyor status badge to the README.
|
44
|
+
[c9637c6efcfb]
|
45
|
+
|
46
|
+
* appveyor.yml:
|
47
|
+
Use 9.3 because 9.0, 9.1 and 9.2 segfault in PG.init_openssl
|
48
|
+
[158f6649b7b8]
|
49
|
+
|
50
|
+
* spec/pg/connection_spec.rb:
|
51
|
+
Skip conn#host test on Windows-x64, because it segfaults, currently.
|
52
|
+
[04110aad7fc6]
|
53
|
+
|
54
|
+
* spec/pg/connection_spec.rb:
|
55
|
+
libpq on Windows doesn't respect the PGPORT env variable, so we
|
56
|
+
accept both.
|
57
|
+
[b4b666011f3f]
|
58
|
+
|
59
|
+
* spec/helpers.rb:
|
60
|
+
Older versions of PostgreSQL don't have a pid column, so this could
|
61
|
+
raise an exception: TypeError: can't convert nil into Integer
|
62
|
+
[48f1145fa631]
|
63
|
+
|
64
|
+
* Rakefile.cross:
|
65
|
+
Update OpenSSL version for Windows cross build.
|
66
|
+
[be6b75fef0ff]
|
67
|
+
|
68
|
+
* appveyor.yml:
|
69
|
+
Add CI-tests on appveyor.
|
70
|
+
[c2dc9e491853]
|
71
|
+
|
72
|
+
2015-06-29 Lars Kanis <kanis@comcard.de>
|
73
|
+
|
74
|
+
* History.rdoc:
|
75
|
+
Merge branch 'master' of https://github.com/larskanis/ruby-pg
|
76
|
+
|
77
|
+
Conflicts: History.rdoc
|
78
|
+
[affb47533d82]
|
79
|
+
|
80
|
+
* History.rdoc, ext/util.c, spec/pg/type_spec.rb:
|
81
|
+
Fix data type resulting in wrong base64 encoding.
|
82
|
+
[5fb9170f6a7d]
|
83
|
+
|
84
|
+
2015-06-17 Lars Kanis <lars@greiz-reinsdorf.de>
|
85
|
+
|
86
|
+
* Gemfile, Rakefile, Rakefile.cross:
|
87
|
+
Update versions of rake-compiler-dock, OpenSSL and PostgreSQL.
|
88
|
+
[10c6b496314c]
|
89
|
+
|
90
|
+
2015-06-12 Lars Kanis <lars@greiz-reinsdorf.de>
|
91
|
+
|
92
|
+
* Rakefile.cross:
|
93
|
+
Update OpenSSL and PostgreSQL versions for cross build.
|
94
|
+
[02094cca1cf8]
|
95
|
+
|
96
|
+
2015-06-11 Lars Kanis <lars@greiz-reinsdorf.de>
|
97
|
+
|
98
|
+
* History.rdoc, README-Windows.rdoc:
|
99
|
+
Update README-Windows in regards to rake-compiler-dock.
|
100
|
+
[4d9fd821ec1e]
|
101
|
+
|
102
|
+
2015-06-09 Lars Kanis <kanis@comcard.de>
|
103
|
+
|
104
|
+
* Rakefile.cross:
|
105
|
+
Cross build: Ensure ChangeLog file is built on the host side before
|
106
|
+
entering the docker container.
|
107
|
+
[d32412acff38]
|
108
|
+
|
109
|
+
* Rakefile.cross:
|
110
|
+
Cross build: Add workaround for missing symlink support on Windows.
|
111
|
+
[52bb3eef00f0]
|
112
|
+
|
113
|
+
* Rakefile.cross:
|
114
|
+
Explicitly set the gcc-toolchain, instead of deriving from the rake-
|
115
|
+
compiler config.
|
116
|
+
|
117
|
+
Now, that we use the libpq.dll (instead of static linking), we can
|
118
|
+
mix the gcc-toolchains. So we better build the dll with the newer
|
119
|
+
mingw-w64 toolchain (instead of the old mingw32) and build only the
|
120
|
+
extension for ruby-1.9 with the old mingw32-gcc.
|
121
|
+
[b3d169fa189b]
|
122
|
+
|
123
|
+
* Merge https://github.com/ged/ruby-pg
|
124
|
+
[5aeb99dda0ca]
|
125
|
+
|
126
|
+
2015-05-25 Michael Granger <ged@FaerieMUD.org>
|
127
|
+
|
128
|
+
* lib/pg/basic_type_mapping.rb:
|
129
|
+
Whitespace fixes
|
130
|
+
[57cfbc230597]
|
131
|
+
|
132
|
+
2015-05-14 Michael Granger <ged@FaerieMUD.org>
|
133
|
+
|
134
|
+
* .hgtags:
|
135
|
+
Added tag v0.18.2 for changeset 22a361201fd1
|
136
|
+
[00d6997551e6]
|
137
|
+
|
138
|
+
* .hgsigs:
|
139
|
+
Added signature for changeset 7d31b04e7913
|
140
|
+
[d77ab8ab870e]
|
141
|
+
|
142
|
+
* History.rdoc, lib/pg.rb:
|
143
|
+
Bump patch version, update History
|
144
|
+
[fa56690fe72d]
|
145
|
+
|
146
|
+
* Merged with git branch.
|
147
|
+
[9b2c80df821d]
|
148
|
+
|
149
|
+
2015-06-09 Lars Kanis <kanis@comcard.de>
|
150
|
+
|
151
|
+
* Rakefile.cross:
|
152
|
+
Cross build: Copy gem signing key and certs to be accessable from
|
153
|
+
the docker container
|
154
|
+
[c5382a785f4d]
|
155
|
+
|
156
|
+
2015-06-08 Lars Kanis <lars@greiz-reinsdorf.de>
|
157
|
+
|
158
|
+
* Merged
|
159
|
+
[3d56a65c78c5]
|
160
|
+
|
161
|
+
* Gemfile, Rakefile, Rakefile.cross:
|
162
|
+
Add rake task 'gem:windows' which makes use of the new rake-
|
163
|
+
compiler-dock.
|
164
|
+
|
165
|
+
Also update the Gemfile per 'rake bundler:gemfile' .
|
166
|
+
[fafadd62cc6d]
|
167
|
+
|
168
|
+
* Rakefile.cross:
|
169
|
+
Cross build: Work around missing dependency to libcommon in
|
170
|
+
PostgreSQL-9.4.0
|
171
|
+
[630a22437026]
|
172
|
+
|
173
|
+
2015-05-25 Michael Granger <ged@FaerieMUD.org>
|
174
|
+
|
175
|
+
* ext/pg_connection.c:
|
176
|
+
Change instance_of checks to kind_of for subclassing [#220]
|
177
|
+
[eb4d3c003bd6] [github/kind-of-fix]
|
178
|
+
|
179
|
+
* lib/pg/basic_type_mapping.rb:
|
180
|
+
Whitespace fixes
|
181
|
+
[4a4368e30bcf] [github/master]
|
182
|
+
|
183
|
+
2015-05-14 Michael Granger <ged@FaerieMUD.org>
|
184
|
+
|
185
|
+
* .hgtags:
|
186
|
+
Added tag v0.18.2 for changeset 22a361201fd1
|
187
|
+
[94e26b472c78]
|
188
|
+
|
189
|
+
* .hgsigs:
|
190
|
+
Added signature for changeset 7d31b04e7913
|
191
|
+
[22a361201fd1] [v0.18.2]
|
192
|
+
|
193
|
+
* History.rdoc, lib/pg.rb:
|
194
|
+
Bump patch version, update History
|
195
|
+
[7d31b04e7913]
|
196
|
+
|
197
|
+
* Merged with git branch.
|
198
|
+
[45a1753da19a]
|
199
|
+
|
200
|
+
* .rvm.gems:
|
201
|
+
Bump the rvm gemset gem versions
|
202
|
+
[8050020330d8]
|
203
|
+
|
204
|
+
2015-03-13 Lars Kanis <lars@greiz-reinsdorf.de>
|
205
|
+
|
206
|
+
* ext/pg_text_encoder.c, ext/util.c, ext/util.h:
|
207
|
+
Avoid possible symbol name clash when linking againt static libpq.
|
208
|
+
|
209
|
+
This should fix issue #209 .
|
210
|
+
[2334a1bc38e6]
|
211
|
+
|
1
212
|
2015-02-11 Lars Kanis <lars@greiz-reinsdorf.de>
|
2
213
|
|
3
214
|
* ext/pg.c, spec/pg/connection_spec.rb:
|
4
215
|
Merge from git branch.
|
5
|
-
[
|
216
|
+
[a7261eb6796f]
|
6
217
|
|
7
|
-
|
218
|
+
* ext/pg.h, ext/pg_text_decoder.c:
|
219
|
+
Merge branch 'non-c99-compiler'
|
220
|
+
[7e8f1e4da59d]
|
8
221
|
|
9
|
-
|
10
|
-
Update copyright notices
|
11
|
-
[447962e0dcba]
|
222
|
+
2015-02-06 Lars Kanis <lars@greiz-reinsdorf.de>
|
12
223
|
|
13
|
-
*
|
14
|
-
|
15
|
-
|
224
|
+
* ext/extconf.rb, ext/pg.h, ext/pg_result.c, ext/pg_text_decoder.c,
|
225
|
+
ext/pg_type_map_by_mri_type.c:
|
226
|
+
Use fixed size arrays in case the compiler doesn't support C99
|
227
|
+
variable length arrays.
|
16
228
|
|
17
|
-
|
229
|
+
This is notably the MSVC compiler.
|
18
230
|
|
19
|
-
|
20
|
-
|
231
|
+
Note: The MSVC build environment is currently not tested on a
|
232
|
+
regular base, so is not fully supported.
|
233
|
+
[a08290a78221]
|
21
234
|
|
22
|
-
|
23
|
-
|
235
|
+
2015-02-11 Lars Kanis <lars@greiz-reinsdorf.de>
|
236
|
+
|
237
|
+
* ext/pg_connection.c:
|
238
|
+
Replace quote_ident implementation with that of
|
239
|
+
PG::TextEncoder::Identifier .
|
240
|
+
|
241
|
+
This allowes quoation of array of strings in addition to plain
|
242
|
+
strings and removes duplicated code.
|
243
|
+
|
244
|
+
It also removes the 63 byte limitation and therefore obsolets pull
|
245
|
+
request #21 https://bitbucket.org/ged/ruby-pg/pull-request/21
|
246
|
+
[b8ac29b020ee]
|
247
|
+
|
248
|
+
* ext/pg.c, ext/pg.h, ext/pg_text_decoder.c, ext/pg_text_encoder.c,
|
249
|
+
spec/pg/connection_spec.rb, spec/pg/type_spec.rb:
|
250
|
+
Derive PG::TextDecoder::Identifier from PG::SimpleDecoder instead of
|
251
|
+
CompositeDecoder
|
252
|
+
|
253
|
+
.. and equally for Encoder.
|
254
|
+
|
255
|
+
Identifiers are strings, so there is no good reason to compose it
|
256
|
+
from other element types. This change allows a faster quoting
|
257
|
+
implementation.
|
258
|
+
[55ec58cabad4]
|
259
|
+
|
260
|
+
2015-05-14 Michael Granger <ged@FaerieMUD.org>
|
261
|
+
|
262
|
+
* .rvmrc:
|
263
|
+
Bump default rvm Ruby to 2.2
|
264
|
+
[128b075d5800]
|
265
|
+
|
266
|
+
2015-03-13 Lars Kanis <lars@greiz-reinsdorf.de>
|
267
|
+
|
268
|
+
* ext/pg_text_encoder.c, ext/util.c, ext/util.h:
|
269
|
+
Avoid possible symbol name clash when linking againt static libpq.
|
270
|
+
|
271
|
+
This should fix issue #209 .
|
272
|
+
[b859963462b2]
|
24
273
|
|
25
274
|
2015-02-11 Lars Kanis <lars@greiz-reinsdorf.de>
|
26
275
|
|
276
|
+
* ext/pg.c, spec/pg/connection_spec.rb:
|
277
|
+
Merge from git branch.
|
278
|
+
[b60c89ee93c8]
|
279
|
+
|
27
280
|
* ext/pg.h, ext/pg_text_decoder.c:
|
28
281
|
Merge branch 'non-c99-compiler'
|
29
282
|
[b111c84b8445]
|
@@ -66,6 +319,24 @@
|
|
66
319
|
implementation.
|
67
320
|
[df67241d1a4f]
|
68
321
|
|
322
|
+
2015-02-03 Michael Granger <ged@FaerieMUD.org>
|
323
|
+
|
324
|
+
* README.rdoc, ext/pg.c:
|
325
|
+
Update copyright notices
|
326
|
+
[447962e0dcba]
|
327
|
+
|
328
|
+
* spec/pg/connection_spec.rb:
|
329
|
+
Whitespace fixes
|
330
|
+
[f4a85f78807d]
|
331
|
+
|
332
|
+
2014-08-22 Chris Bandy <bandy.chris@gmail.com>
|
333
|
+
|
334
|
+
* lib/pg/connection.rb, spec/pg/connection_spec.rb:
|
335
|
+
Allow URI connection string
|
336
|
+
|
337
|
+
(Imported from https://github.com/ged/ruby-pg/pull/3)
|
338
|
+
[d4579ef9eae4]
|
339
|
+
|
69
340
|
2015-01-27 Lars Kanis <lars@greiz-reinsdorf.de>
|
70
341
|
|
71
342
|
* lib/pg/text_decoder.rb, spec/pg/type_spec.rb:
|
@@ -153,13 +424,6 @@
|
|
153
424
|
Add a Rake task for generating the gemspec
|
154
425
|
[ec6d6ce61a15]
|
155
426
|
|
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
|
-
|
163
427
|
2014-12-26 Lars Kanis <lars@greiz-reinsdorf.de>
|
164
428
|
|
165
429
|
* lib/pg/basic_type_mapping.rb:
|
@@ -498,16 +762,6 @@
|
|
498
762
|
Add type mapping and performance improvements
|
499
763
|
[0da90c2b2812]
|
500
764
|
|
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
|
-
|
511
765
|
2014-10-09 Lars Kanis <lars@greiz-reinsdorf.de>
|
512
766
|
|
513
767
|
* Rakefile, Rakefile.cross, ext/extconf.rb:
|
@@ -600,35 +854,6 @@
|
|
600
854
|
alloc_query_params1() and avoids code duplication within type maps.
|
601
855
|
[2afa6cc41d55]
|
602
856
|
|
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
|
-
|
632
857
|
* spec/pg/connection_spec.rb:
|
633
858
|
Add missing spec for hash form parameters to #exec_params .
|
634
859
|
[23ad5d676b53]
|
@@ -1935,6 +2160,36 @@
|
|
1935
2160
|
integer and float values to proper ruby types.
|
1936
2161
|
[71ddc0446d26]
|
1937
2162
|
|
2163
|
+
2014-10-11 Michael Granger <ged@FaerieMUD.org>
|
2164
|
+
|
2165
|
+
* spec/helpers.rb, spec/pg/connection_spec.rb:
|
2166
|
+
Merged with 4cc778c5ead7
|
2167
|
+
[67bb0f34ca05]
|
2168
|
+
|
2169
|
+
2014-10-09 Lars Kanis <lars@greiz-reinsdorf.de>
|
2170
|
+
|
2171
|
+
* Rakefile, Rakefile.cross, ext/extconf.rb:
|
2172
|
+
gcc option -static-libgcc is required for i386-mingw32 build.
|
2173
|
+
|
2174
|
+
Don't use native pg_config for cross build. The paths were
|
2175
|
+
overwritten anyways until now.
|
2176
|
+
|
2177
|
+
Remove code that was only needed for static build to libpq.
|
2178
|
+
[4cc778c5ead7]
|
2179
|
+
|
2180
|
+
2014-10-09 Lars Kanis <kanis@comcard.de>
|
2181
|
+
|
2182
|
+
* Rakefile, Rakefile.cross, lib/pg.rb:
|
2183
|
+
Bundle libpq.dll into gem, because PostgreSQL-9.3 does no longer
|
2184
|
+
support static linking.
|
2185
|
+
[a37e27d356e5]
|
2186
|
+
|
2187
|
+
2014-10-04 Lars Kanis <lars@greiz-reinsdorf.de>
|
2188
|
+
|
2189
|
+
* spec/helpers.rb, spec/pg/connection_spec.rb:
|
2190
|
+
Add missing spec for hash form parameters to #exec_params .
|
2191
|
+
[04a6a0136a12]
|
2192
|
+
|
1938
2193
|
2014-08-24 Lars Kanis <lars@greiz-reinsdorf.de>
|
1939
2194
|
|
1940
2195
|
* ext/pg_connection.c:
|
@@ -1986,6 +2241,10 @@
|
|
1986
2241
|
|
1987
2242
|
2014-08-20 Michael Granger <ged@FaerieMUD.org>
|
1988
2243
|
|
2244
|
+
* spec/helpers.rb, spec/pg/connection_spec.rb:
|
2245
|
+
Check connection status with a matcher in specs
|
2246
|
+
[b32840b98e4b]
|
2247
|
+
|
1989
2248
|
* ext/pg_connection.c, lib/pg/connection.rb,
|
1990
2249
|
spec/pg/connection_spec.rb:
|
1991
2250
|
Implement PG::Connection#conninfo and use it to test #188
|
@@ -2010,17 +2269,19 @@
|
|
2010
2269
|
* Merge with 6c2444dc63e1
|
2011
2270
|
[d7160a9fb5dc]
|
2012
2271
|
|
2013
|
-
* .rvm.gems, Rakefile, spec/helpers.rb, spec/lib/helpers.rb,
|
2014
|
-
spec/pg/connection_spec.rb, spec/pg/result_spec.rb, spec/pg_spec.rb:
|
2015
|
-
Convert specs to expect syntax for RSpec 3
|
2016
|
-
[c9108c846ab2]
|
2017
|
-
|
2018
2272
|
2013-12-30 Lars Kanis <lars@greiz-reinsdorf.de>
|
2019
2273
|
|
2020
2274
|
* ext/pg_connection.c:
|
2021
2275
|
Fix typo in documentation.
|
2022
2276
|
[6c2444dc63e1]
|
2023
2277
|
|
2278
|
+
2014-06-05 Michael Granger <ged@FaerieMUD.org>
|
2279
|
+
|
2280
|
+
* .rvm.gems, Rakefile, spec/helpers.rb, spec/lib/helpers.rb,
|
2281
|
+
spec/pg/connection_spec.rb, spec/pg/result_spec.rb, spec/pg_spec.rb:
|
2282
|
+
Convert specs to expect syntax for RSpec 3
|
2283
|
+
[c9108c846ab2]
|
2284
|
+
|
2024
2285
|
2013-12-18 Michael Granger <ged@FaerieMUD.org>
|
2025
2286
|
|
2026
2287
|
* .hgtags:
|
@@ -2175,17 +2436,6 @@
|
|
2175
2436
|
* merge tip
|
2176
2437
|
[90252df3c5c8]
|
2177
2438
|
|
2178
|
-
2013-08-15 Lars Kanis <lars@greiz-reinsdorf.de>
|
2179
|
-
|
2180
|
-
* Rakefile.cross:
|
2181
|
-
Use RbConfig::CONFIG['CC'] instead of ['host'] for determining cross
|
2182
|
-
compilation platform.
|
2183
|
-
|
2184
|
-
This is 'i586-mingw32msvc-gcc' versus 'i586-pc-mingw32msvc'.
|
2185
|
-
[fbee9586e8f7]
|
2186
|
-
|
2187
|
-
2013-08-18 Lars Kanis <lars@greiz-reinsdorf.de>
|
2188
|
-
|
2189
2439
|
* lib/pg/connection.rb, spec/pg/connection_spec.rb:
|
2190
2440
|
Add PG::Connection#copy_data as a convenience method.
|
2191
2441
|
[5096385267ab]
|
@@ -2195,6 +2445,15 @@
|
|
2195
2445
|
stack method calls.
|
2196
2446
|
[8255d4f73334]
|
2197
2447
|
|
2448
|
+
2013-08-15 Lars Kanis <lars@greiz-reinsdorf.de>
|
2449
|
+
|
2450
|
+
* Rakefile.cross:
|
2451
|
+
Use RbConfig::CONFIG['CC'] instead of ['host'] for determining cross
|
2452
|
+
compilation platform.
|
2453
|
+
|
2454
|
+
This is 'i586-mingw32msvc-gcc' versus 'i586-pc-mingw32msvc'.
|
2455
|
+
[fbee9586e8f7]
|
2456
|
+
|
2198
2457
|
2013-08-14 Lars Kanis <lars@greiz-reinsdorf.de>
|
2199
2458
|
|
2200
2459
|
* Gemfile, Rakefile:
|
@@ -2236,10 +2495,6 @@
|
|
2236
2495
|
Travis: Allow failures on rbx.
|
2237
2496
|
[7be3b156c8fb]
|
2238
2497
|
|
2239
|
-
* spec/pg/column_mapping_spec.rb:
|
2240
|
-
Too less quoting. Should fix compat with PostgreSQL 8.4.
|
2241
|
-
[45fc78971757]
|
2242
|
-
|
2243
2498
|
2013-07-18 Lars Kanis <kanis@comcard.de>
|
2244
2499
|
|
2245
2500
|
* spec/pg/connection_spec.rb:
|
@@ -2275,92 +2530,6 @@
|
|
2275
2530
|
This test failed on Windows x64.
|
2276
2531
|
[6894f73d7039]
|
2277
2532
|
|
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
|
-
|
2364
2533
|
2013-07-06 Lars Kanis <lars@greiz-reinsdorf.de>
|
2365
2534
|
|
2366
2535
|
* ext/pg_connection.c, spec/pg/connection_spec.rb:
|
@@ -2646,14 +2815,14 @@
|
|
2646
2815
|
avoid warnings about truncated identifier.
|
2647
2816
|
|
2648
2817
|
Thanks to Svoop for this report.
|
2649
|
-
[
|
2818
|
+
[134e067259ee] <v0.15-stable>
|
2650
2819
|
|
2651
2820
|
* lib/pg/connection.rb, spec/pg/connection_spec.rb:
|
2652
2821
|
Send a shortened $0 as application_name to the server in order to
|
2653
2822
|
avoid warnings about truncated identifier.
|
2654
2823
|
|
2655
2824
|
Thanks to Svoop for this report.
|
2656
|
-
[
|
2825
|
+
[9a6791fe9409]
|
2657
2826
|
|
2658
2827
|
2013-03-26 Michael Granger <ged@FaerieMUD.org>
|
2659
2828
|
|
@@ -2741,6 +2910,17 @@
|
|
2741
2910
|
Merge with https://bitbucket.org/ged/ruby-pg
|
2742
2911
|
[3230e6c245e0]
|
2743
2912
|
|
2913
|
+
* Rakefile, Rakefile.cross:
|
2914
|
+
Add support for cross build for multiple platforms (i386-mingw32 and
|
2915
|
+
x64-mingw32).
|
2916
|
+
|
2917
|
+
Update OpenSSL for cross build to 1.0.1e Update PostgreSQL for cross
|
2918
|
+
build to 9.2.3
|
2919
|
+
|
2920
|
+
Remove -lws2_32 for PostgreSQL build. It fails to compile for
|
2921
|
+
x64-mingw32 elsewise.
|
2922
|
+
[6a2a1a53dedc]
|
2923
|
+
|
2744
2924
|
2013-03-12 Michael Granger <ged@FaerieMUD.org>
|
2745
2925
|
|
2746
2926
|
* Rakefile.cross:
|
@@ -2755,19 +2935,6 @@
|
|
2755
2935
|
Bump versions of dev dependencies
|
2756
2936
|
[cba92fb4b89e]
|
2757
2937
|
|
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
|
-
|
2771
2938
|
2013-03-06 Michael Granger <ged@FaerieMUD.org>
|
2772
2939
|
|
2773
2940
|
* README.rdoc:
|
@@ -2849,13 +3016,13 @@
|
|
2849
3016
|
PQexecParams() itself.
|
2850
3017
|
|
2851
3018
|
Thanks to Aaron Patterson for the idea.
|
2852
|
-
[7c313c2355b7]
|
3019
|
+
[7c313c2355b7] [github/exec_params]
|
2853
3020
|
|
2854
3021
|
2013-01-31 Michael Granger <ged@FaerieMUD.org>
|
2855
3022
|
|
2856
3023
|
* ext/extconf.rb:
|
2857
3024
|
Add experimental -rpath to the LDFLAGS
|
2858
|
-
[8496c624dffd]
|
3025
|
+
[8496c624dffd] [github/rpath_ldflag]
|
2859
3026
|
|
2860
3027
|
2013-01-30 Michael Granger <ged@FaerieMUD.org>
|
2861
3028
|
|
@@ -3019,6 +3186,61 @@
|
|
3019
3186
|
Make source settings override TM2 defaults
|
3020
3187
|
[c5706b3f73af]
|
3021
3188
|
|
3189
|
+
2012-12-26 Lars Kanis <kanis@comcard.de>
|
3190
|
+
|
3191
|
+
* ext/extconf.rb, ext/pg_connection.c, spec/pg/connection_spec.rb:
|
3192
|
+
merge in default branch
|
3193
|
+
[ca39e311d1eb] <use_gvl_for_blocking_functions>
|
3194
|
+
|
3195
|
+
* ext/gvl_wrappers.h:
|
3196
|
+
Add some documentation to gvl_wrappers
|
3197
|
+
[ffeb6a0afd1f] <use_gvl_for_blocking_functions>
|
3198
|
+
|
3199
|
+
* spec/pg/connection_spec.rb:
|
3200
|
+
Add test case for threading with Connection#exec in ruby 1.9
|
3201
|
+
[73b9aa38e8c0] <use_gvl_for_blocking_functions>
|
3202
|
+
|
3203
|
+
* ext/extconf.rb, ext/gvl_wrappers.c, ext/gvl_wrappers.h, ext/pg.h,
|
3204
|
+
ext/pg_connection.c:
|
3205
|
+
Add wrappers to blocking functions and callbacks in order to release
|
3206
|
+
the GVL of ruby 1.9 as long as not in ruby code
|
3207
|
+
[2f2c681424ed] <use_gvl_for_blocking_functions>
|
3208
|
+
|
3209
|
+
2012-07-02 Lars Kanis <kanis@comcard.de>
|
3210
|
+
|
3211
|
+
* ext/pg_connection.c, spec/pg/connection_spec.rb:
|
3212
|
+
Fix encoding of values delivered to the row processor and add specs
|
3213
|
+
for binary and text data.
|
3214
|
+
[bb9c6625fbc9] <row_processor>
|
3215
|
+
|
3216
|
+
* ext/pg_connection.c:
|
3217
|
+
Polish the documentation a little bit
|
3218
|
+
[b7633be3c941] <row_processor>
|
3219
|
+
|
3220
|
+
2012-07-01 Lars Kanis <kanis@comcard.de>
|
3221
|
+
|
3222
|
+
* ext/pg_connection.c:
|
3223
|
+
Get rid of gcc warning about (non-)const PGresult to
|
3224
|
+
pg_new_result_for_callback()
|
3225
|
+
[1a25786ed8f3] <row_processor>
|
3226
|
+
|
3227
|
+
* ext/pg_connection.c, spec/pg/connection_spec.rb:
|
3228
|
+
Fix wrong encoding for Result object passed to a notice-receiver
|
3229
|
+
block. Add proper specs for #set_notice_receiver.
|
3230
|
+
[4280826bb9b9] <row_processor>
|
3231
|
+
|
3232
|
+
* ext/extconf.rb, ext/pg.h, ext/pg_connection.c, ext/pg_result.c,
|
3233
|
+
spec/lib/helpers.rb, spec/pg/connection_spec.rb:
|
3234
|
+
Implement PostgreSQL-9.2 functions PG::Connection#set_row_processor,
|
3235
|
+
get_row_processor, skip_result
|
3236
|
+
[b7ce4843f4d1] <row_processor>
|
3237
|
+
|
3238
|
+
2012-06-28 Lars Kanis <kanis@comcard.de>
|
3239
|
+
|
3240
|
+
* ext/pg_result.c:
|
3241
|
+
Add PGRES_COPY_BOTH to documentation of PG::Result#result_status
|
3242
|
+
[63998b47da6e] <copy_both_docu>
|
3243
|
+
|
3022
3244
|
2013-01-29 Aaron Patterson <aaron.patterson@gmail.com>
|
3023
3245
|
|
3024
3246
|
* ext/pg_result.c, lib/pg/result.rb, spec/pg/result_spec.rb:
|
@@ -3047,22 +3269,8 @@
|
|
3047
3269
|
Fix encoding of messages delivered by notice callbacks
|
3048
3270
|
[048d07d14867]
|
3049
3271
|
|
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
|
-
|
3056
3272
|
2012-12-26 Lars Kanis <kanis@comcard.de>
|
3057
3273
|
|
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
|
-
|
3066
3274
|
* ext/pg.c:
|
3067
3275
|
Use proper const check instead of implicit relation
|
3068
3276
|
[d0c5d5f7f1e8]
|
@@ -3082,23 +3290,12 @@
|
|
3082
3290
|
single row mode of PostgreSQL 9.2)
|
3083
3291
|
[49e3fe1dafdf]
|
3084
3292
|
|
3085
|
-
2012-12-
|
3086
|
-
|
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>
|
3293
|
+
2012-12-19 Lars Kanis <kanis@comcard.de>
|
3096
3294
|
|
3097
|
-
* ext/extconf.rb, ext/
|
3098
|
-
|
3099
|
-
Add
|
3100
|
-
|
3101
|
-
[6ad8aa8e10a5] <use_gvl_for_blocking_functions>
|
3295
|
+
* ext/extconf.rb, ext/pg.c, ext/pg_connection.c,
|
3296
|
+
spec/pg/connection_spec.rb:
|
3297
|
+
Add single row mode of PostgreSQL 9.2
|
3298
|
+
[5cf348b75c1c] <single_row_mode>
|
3102
3299
|
|
3103
3300
|
2012-12-19 Michael Granger <ged@FaerieMUD.org>
|
3104
3301
|
|
@@ -3122,14 +3319,6 @@
|
|
3122
3319
|
fix spacing on README.rdoc:21 to improve display on Github
|
3123
3320
|
[807f040166da]
|
3124
3321
|
|
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
|
-
|
3133
3322
|
2012-12-19 Lars Kanis <kanis@comcard.de>
|
3134
3323
|
|
3135
3324
|
* spec/pg/connection_spec.rb:
|
@@ -3146,11 +3335,6 @@
|
|
3146
3335
|
Add spec for PG::Result#field_values
|
3147
3336
|
[3618eb238aba]
|
3148
3337
|
|
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
|
-
|
3154
3338
|
* lib/pg/connection.rb, spec/lib/helpers.rb:
|
3155
3339
|
Restore compatibility with PostgreSQL down to 8.3
|
3156
3340
|
[e4900f62e56d]
|
@@ -3272,15 +3456,6 @@
|
|
3272
3456
|
Add PGRES_COPY_BOTH to documentation of PG::Result#result_status
|
3273
3457
|
[5e0e06440b1a]
|
3274
3458
|
|
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
|
-
|
3284
3459
|
2012-06-23 Michael Granger <ged@FaerieMUD.org>
|
3285
3460
|
|
3286
3461
|
* .hgtags:
|
@@ -3291,33 +3466,6 @@
|
|
3291
3466
|
Added signature for changeset a45710f8db30
|
3292
3467
|
[634e0a42a101] [v0.14.0]
|
3293
3468
|
|
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
|
-
|
3321
3469
|
2012-06-17 Lars Kanis <kanis@comcard.de>
|
3322
3470
|
|
3323
3471
|
* Rakefile.cross, ext/extconf.rb,
|