pg 0.20.0-x86-mingw32 → 0.21.0-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 +0 -0
- data.tar.gz.sig +0 -0
- data/ChangeLog +145 -44
- data/History.rdoc +13 -0
- data/Manifest.txt +1 -18
- data/README.rdoc +1 -1
- data/Rakefile +5 -5
- 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 +1 -1
- data/ext/pg_result.c +12 -6
- 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 +1 -1
- 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/2.3/pg_ext.so +0 -0
- data/lib/2.4/pg_ext.so +0 -0
- data/lib/libpq.dll +0 -0
- data/lib/pg.rb +8 -6
- data/lib/pg/connection.rb +0 -4
- data/lib/pg/deprecated_constants.rb +21 -0
- data/lib/pg/result.rb +0 -3
- data/spec/pg/result_spec.rb +4 -4
- metadata +40 -63
- metadata.gz.sig +0 -0
- data/sample/array_insert.rb +0 -20
- data/sample/async_api.rb +0 -106
- data/sample/async_copyto.rb +0 -39
- data/sample/async_mixed.rb +0 -56
- data/sample/check_conn.rb +0 -21
- data/sample/copyfrom.rb +0 -81
- data/sample/copyto.rb +0 -19
- data/sample/cursor.rb +0 -21
- data/sample/disk_usage_report.rb +0 -186
- data/sample/issue-119.rb +0 -94
- data/sample/losample.rb +0 -69
- data/sample/minimal-testcase.rb +0 -17
- data/sample/notify_wait.rb +0 -72
- data/sample/pg_statistics.rb +0 -294
- data/sample/replication_monitor.rb +0 -231
- data/sample/test_binary_values.rb +0 -33
- data/sample/wal_shipper.rb +0 -434
- data/sample/warehouse_partitions.rb +0 -320
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c21eacfb35a39de90794638a8fb69d6e5a4f0b8a
|
4
|
+
data.tar.gz: d8d80431111759970bab2634452b4997b4d5e136
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a0e015f15bfa3d2a84d1893ea906a8a213d38dbde0018478eb8c557223cb8d696f77c66646d13cb099f2522e03a38768b33ab36beb80dd128052e2b05f911c2c
|
7
|
+
data.tar.gz: 28f9a1ba98dfc9591eaf7cbfcef73edb917b8b7b1efa92efe6f20c2ff9f7f53e32cfa588514ffbb691a32ef4ca163097313ce386a084d12dd7036af7f16f148b
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/ChangeLog
CHANGED
@@ -1,8 +1,113 @@
|
|
1
|
+
2017-06-12 Michael Granger <ged@FaerieMUD.org>
|
2
|
+
|
3
|
+
* .hgtags:
|
4
|
+
Added tag v0.21.0 for changeset deae742eacfa
|
5
|
+
[c8b7f9e0a79b] [tip]
|
6
|
+
|
7
|
+
* .hgsigs:
|
8
|
+
Added signature for changeset f275e318641f
|
9
|
+
[deae742eacfa] [v0.21.0]
|
10
|
+
|
11
|
+
* .tm_properties, spec/pg/result_spec.rb:
|
12
|
+
Eliminate use of deprecated PGError constant from specs
|
13
|
+
[f275e318641f]
|
14
|
+
|
15
|
+
* History.rdoc:
|
16
|
+
Add some more History
|
17
|
+
[866ae581d077]
|
18
|
+
|
19
|
+
* Manifest.txt, lib/pg.rb:
|
20
|
+
Merge with 5b2a4c21f962 (deprecation warnings)
|
21
|
+
[81f046a32b14]
|
22
|
+
|
23
|
+
* Manifest.txt:
|
24
|
+
Add missing deprecated_constants.rb to manifest
|
25
|
+
[5b2a4c21f962]
|
26
|
+
|
27
|
+
* Closing branch.
|
28
|
+
[d199582de47f] <olleolleolle/readmerdoc-use-svg-for-travis-build-badg-1489403729779>
|
29
|
+
|
30
|
+
* Merge with bitbucket upstream
|
31
|
+
[7cb095bb8e34]
|
32
|
+
|
33
|
+
* .hgignore, .hoerc, History.rdoc, Manifest.txt, lib/pg.rb:
|
34
|
+
Bunp minor version, update history, fix manifest/ignore files
|
35
|
+
[4729196c11cb]
|
36
|
+
|
37
|
+
2017-06-12 Lars Kanis <lars@greiz-reinsdorf.de>
|
38
|
+
|
39
|
+
* Merged in olleolleolle/ruby-pg/olleolleolle/readmerdoc-use-svg-for-
|
40
|
+
travis-build-badg-1489403729779 (pull request #24)
|
41
|
+
|
42
|
+
README.rdoc: use SVG for Travis build badge
|
43
|
+
[97eca85fc660]
|
44
|
+
|
45
|
+
2017-03-13 Olle Jonsson <olle.jonsson@gmail.com>
|
46
|
+
|
47
|
+
* README.rdoc:
|
48
|
+
README.rdoc: use SVG for Travis build badge
|
49
|
+
[75dcedbff32e] <olleolleolle/readmerdoc-use-svg-for-travis-build-badg-1489403729779>
|
50
|
+
|
51
|
+
2017-05-31 Michael Granger <ged@FaerieMUD.org>
|
52
|
+
|
53
|
+
* Rakefile, lib/pg.rb, lib/pg/connection.rb,
|
54
|
+
lib/pg/deprecated_constants.rb, lib/pg/result.rb, pg.gemspec:
|
55
|
+
Deprecate the old PGconn, PGresult, and PGError constants.
|
56
|
+
[3ce331d8c88e]
|
57
|
+
|
58
|
+
2017-06-12 Michael Granger <ged@FaerieMUD.org>
|
59
|
+
|
60
|
+
* Merged with bitbucket default
|
61
|
+
[f6063a34ae2b]
|
62
|
+
|
63
|
+
2017-06-01 Michael Granger <ged@FaerieMUD.org>
|
64
|
+
|
65
|
+
* ext/pg_result.c, pg.gemspec, sample/copydata.rb:
|
66
|
+
Fix the docs for PG::Result#cmd_tuples
|
67
|
+
|
68
|
+
Also add an example of the nicer #copy_data way of doing `COPY`.
|
69
|
+
[c4a1abc36c47]
|
70
|
+
|
71
|
+
2017-04-07 Lars Kanis <lars@greiz-reinsdorf.de>
|
72
|
+
|
73
|
+
* lib/pg.rb:
|
74
|
+
Move add_dll_directory to the Runtime namespace.
|
75
|
+
|
76
|
+
RubyInstaller::Runtime.add_dll_directory is deprecated with
|
77
|
+
rubyinstaller-2.4.1-1rc1.
|
78
|
+
[050a996456b1]
|
79
|
+
|
80
|
+
2017-03-13 Michael Granger <ged@FaerieMUD.org>
|
81
|
+
|
82
|
+
* .gems, .rvm.gems, Rakefile, pg.gemspec:
|
83
|
+
Update dependencies to latest versions
|
84
|
+
[8a15026cfe77]
|
85
|
+
|
86
|
+
* .hgignore:
|
87
|
+
Ignore bundler vendor directory
|
88
|
+
[fff7debf0630]
|
89
|
+
|
90
|
+
* Rakefile.cross:
|
91
|
+
Bump Postgresql version for windows binary to 9.6.2
|
92
|
+
[11296e69a17f]
|
93
|
+
|
1
94
|
2017-03-10 Michael Granger <ged@FaerieMUD.org>
|
2
95
|
|
96
|
+
* .hgtags:
|
97
|
+
Added tag v0.20.0 for changeset e5eb92cca97a
|
98
|
+
[409cae555174]
|
99
|
+
|
100
|
+
* .hgsigs:
|
101
|
+
Added signature for changeset 838985377b48
|
102
|
+
[e5eb92cca97a] [v0.20.0]
|
103
|
+
|
104
|
+
* History.rdoc, lib/pg.rb, pg.gemspec:
|
105
|
+
Bump the minor version, update history.
|
106
|
+
[838985377b48]
|
107
|
+
|
3
108
|
* .hgignore:
|
4
109
|
Ignore .lock files
|
5
|
-
[379c198c7185]
|
110
|
+
[379c198c7185]
|
6
111
|
|
7
112
|
2017-02-16 Lars Kanis <lars@greiz-reinsdorf.de>
|
8
113
|
|
@@ -108,18 +213,6 @@
|
|
108
213
|
Merged with d62b04efb055
|
109
214
|
[cefe252948ed]
|
110
215
|
|
111
|
-
2016-10-21 Lars Kanis <lars@greiz-reinsdorf.de>
|
112
|
-
|
113
|
-
* lib/pg/text_encoder.rb:
|
114
|
-
Fix typo in JSON#encode
|
115
|
-
[d62b04efb055]
|
116
|
-
|
117
|
-
* History.rdoc, lib/pg/text_decoder.rb, lib/pg/text_encoder.rb:
|
118
|
-
Use secure JSON methods for JSON (de)serialisation.
|
119
|
-
|
120
|
-
This fixes issue #248 : https://bitbucket.org/ged/ruby-pg/issues/248
|
121
|
-
[fe3e883bead2]
|
122
|
-
|
123
216
|
2016-09-21 Michael Granger <ged@FaerieMUD.org>
|
124
217
|
|
125
218
|
* .hgtags:
|
@@ -134,6 +227,18 @@
|
|
134
227
|
Bump the minor version, update history.
|
135
228
|
[8beaa5d72670]
|
136
229
|
|
230
|
+
2016-10-21 Lars Kanis <lars@greiz-reinsdorf.de>
|
231
|
+
|
232
|
+
* lib/pg/text_encoder.rb:
|
233
|
+
Fix typo in JSON#encode
|
234
|
+
[d62b04efb055]
|
235
|
+
|
236
|
+
* History.rdoc, lib/pg/text_decoder.rb, lib/pg/text_encoder.rb:
|
237
|
+
Use secure JSON methods for JSON (de)serialisation.
|
238
|
+
|
239
|
+
This fixes issue #248 : https://bitbucket.org/ged/ruby-pg/issues/248
|
240
|
+
[fe3e883bead2]
|
241
|
+
|
137
242
|
2016-09-04 Lars Kanis <lars@greiz-reinsdorf.de>
|
138
243
|
|
139
244
|
* ext/pg_connection.c:
|
@@ -176,6 +281,22 @@
|
|
176
281
|
Merged with upstream
|
177
282
|
[cf9ac513102e]
|
178
283
|
|
284
|
+
* BSDL, README.rdoc, ext/pg.c:
|
285
|
+
Update copyright year, license files
|
286
|
+
[c77d0997b4e4]
|
287
|
+
|
288
|
+
* README.rdoc, certs/ged.pem:
|
289
|
+
Update/upgrade my signing cert
|
290
|
+
|
291
|
+
Fixes #241.
|
292
|
+
[741c94c3bada]
|
293
|
+
|
294
|
+
2016-08-17 Michael Granger <ged@FaerieMUD.org>
|
295
|
+
|
296
|
+
* pg.gemspec:
|
297
|
+
Bump prerelease version in the gemspec
|
298
|
+
[f7472e7a7902]
|
299
|
+
|
179
300
|
2016-08-20 Lars Kanis <lars@greiz-reinsdorf.de>
|
180
301
|
|
181
302
|
* History.rdoc, lib/pg/connection.rb:
|
@@ -249,26 +370,6 @@
|
|
249
370
|
Update History.rdoc
|
250
371
|
[9c3699255853]
|
251
372
|
|
252
|
-
2016-08-20 Michael Granger <ged@FaerieMUD.org>
|
253
|
-
|
254
|
-
* BSDL, README.rdoc, ext/pg.c:
|
255
|
-
Update copyright year, license files
|
256
|
-
[c77d0997b4e4]
|
257
|
-
|
258
|
-
* README.rdoc, certs/ged.pem:
|
259
|
-
Update/upgrade my signing cert
|
260
|
-
|
261
|
-
Fixes #241.
|
262
|
-
[741c94c3bada]
|
263
|
-
|
264
|
-
2016-08-17 Michael Granger <ged@FaerieMUD.org>
|
265
|
-
|
266
|
-
* pg.gemspec:
|
267
|
-
Bump prerelease version in the gemspec
|
268
|
-
[f7472e7a7902]
|
269
|
-
|
270
|
-
2016-08-14 Lars Kanis <lars@greiz-reinsdorf.de>
|
271
|
-
|
272
373
|
* Merge git master
|
273
374
|
[9b7987626074]
|
274
375
|
|
@@ -2876,6 +2977,12 @@
|
|
2876
2977
|
Merged with 4cc778c5ead7
|
2877
2978
|
[67bb0f34ca05]
|
2878
2979
|
|
2980
|
+
2014-08-20 Michael Granger <ged@FaerieMUD.org>
|
2981
|
+
|
2982
|
+
* spec/helpers.rb, spec/pg/connection_spec.rb:
|
2983
|
+
Check connection status with a matcher in specs
|
2984
|
+
[b32840b98e4b]
|
2985
|
+
|
2879
2986
|
2014-10-09 Lars Kanis <lars@greiz-reinsdorf.de>
|
2880
2987
|
|
2881
2988
|
* Rakefile, Rakefile.cross, ext/extconf.rb:
|
@@ -2951,10 +3058,6 @@
|
|
2951
3058
|
|
2952
3059
|
2014-08-20 Michael Granger <ged@FaerieMUD.org>
|
2953
3060
|
|
2954
|
-
* spec/helpers.rb, spec/pg/connection_spec.rb:
|
2955
|
-
Check connection status with a matcher in specs
|
2956
|
-
[b32840b98e4b]
|
2957
|
-
|
2958
3061
|
* ext/pg_connection.c, lib/pg/connection.rb,
|
2959
3062
|
spec/pg/connection_spec.rb:
|
2960
3063
|
Implement PG::Connection#conninfo and use it to test #188
|
@@ -2979,19 +3082,17 @@
|
|
2979
3082
|
* Merge with 6c2444dc63e1
|
2980
3083
|
[d7160a9fb5dc]
|
2981
3084
|
|
3085
|
+
* .rvm.gems, Rakefile, spec/helpers.rb, spec/lib/helpers.rb,
|
3086
|
+
spec/pg/connection_spec.rb, spec/pg/result_spec.rb, spec/pg_spec.rb:
|
3087
|
+
Convert specs to expect syntax for RSpec 3
|
3088
|
+
[c9108c846ab2]
|
3089
|
+
|
2982
3090
|
2013-12-30 Lars Kanis <lars@greiz-reinsdorf.de>
|
2983
3091
|
|
2984
3092
|
* ext/pg_connection.c:
|
2985
3093
|
Fix typo in documentation.
|
2986
3094
|
[6c2444dc63e1]
|
2987
3095
|
|
2988
|
-
2014-06-05 Michael Granger <ged@FaerieMUD.org>
|
2989
|
-
|
2990
|
-
* .rvm.gems, Rakefile, spec/helpers.rb, spec/lib/helpers.rb,
|
2991
|
-
spec/pg/connection_spec.rb, spec/pg/result_spec.rb, spec/pg_spec.rb:
|
2992
|
-
Convert specs to expect syntax for RSpec 3
|
2993
|
-
[c9108c846ab2]
|
2994
|
-
|
2995
3096
|
2013-12-18 Michael Granger <ged@FaerieMUD.org>
|
2996
3097
|
|
2997
3098
|
* .hgtags:
|
data/History.rdoc
CHANGED
@@ -1,3 +1,16 @@
|
|
1
|
+
== v0.21.0 [2017-06-12] Michael Granger <ged@FaerieMUD.org>
|
2
|
+
|
3
|
+
Enhancements:
|
4
|
+
- Move add_dll_directory to the Runtime namespace for newest versions
|
5
|
+
of RubyInstaller.
|
6
|
+
- Deprecate PGconn, PGresult, and PGError top-level constants; a warning
|
7
|
+
will be output the first time one of them is used. They will be
|
8
|
+
removed in the upcoming 1.0 release.
|
9
|
+
|
10
|
+
Documentation fixes:
|
11
|
+
- Update the docs for PG::Result#cmd_tuples
|
12
|
+
|
13
|
+
|
1
14
|
== v0.20.0 [2017-03-10] Michael Granger <ged@FaerieMUD.org>
|
2
15
|
|
3
16
|
Enhancements:
|
data/Manifest.txt
CHANGED
@@ -46,29 +46,12 @@ lib/pg/basic_type_mapping.rb
|
|
46
46
|
lib/pg/coder.rb
|
47
47
|
lib/pg/connection.rb
|
48
48
|
lib/pg/constants.rb
|
49
|
+
lib/pg/deprecated_constants.rb
|
49
50
|
lib/pg/exceptions.rb
|
50
51
|
lib/pg/result.rb
|
51
52
|
lib/pg/text_decoder.rb
|
52
53
|
lib/pg/text_encoder.rb
|
53
54
|
lib/pg/type_map_by_column.rb
|
54
|
-
sample/array_insert.rb
|
55
|
-
sample/async_api.rb
|
56
|
-
sample/async_copyto.rb
|
57
|
-
sample/async_mixed.rb
|
58
|
-
sample/check_conn.rb
|
59
|
-
sample/copyfrom.rb
|
60
|
-
sample/copyto.rb
|
61
|
-
sample/cursor.rb
|
62
|
-
sample/disk_usage_report.rb
|
63
|
-
sample/issue-119.rb
|
64
|
-
sample/losample.rb
|
65
|
-
sample/minimal-testcase.rb
|
66
|
-
sample/notify_wait.rb
|
67
|
-
sample/pg_statistics.rb
|
68
|
-
sample/replication_monitor.rb
|
69
|
-
sample/test_binary_values.rb
|
70
|
-
sample/wal_shipper.rb
|
71
|
-
sample/warehouse_partitions.rb
|
72
55
|
spec/data/expected_trace.out
|
73
56
|
spec/data/random_binary_data
|
74
57
|
spec/helpers.rb
|
data/README.rdoc
CHANGED
@@ -31,7 +31,7 @@ A small example usage:
|
|
31
31
|
|
32
32
|
== Build Status
|
33
33
|
|
34
|
-
{<img src="https://travis-ci.org/ged/ruby-pg.
|
34
|
+
{<img src="https://travis-ci.org/ged/ruby-pg.svg?branch=master" alt="Build Status Travis-CI" />}[https://travis-ci.org/ged/ruby-pg]
|
35
35
|
{<img src="https://ci.appveyor.com/api/projects/status/at4g4swb2cd4xji7/branch/master?svg=true" alt="Build Status Appveyor" />}[https://ci.appveyor.com/project/ged/ruby-pg]
|
36
36
|
|
37
37
|
|
data/Rakefile
CHANGED
@@ -60,12 +60,12 @@ $hoespec = Hoe.spec 'pg' do
|
|
60
60
|
self.developer 'Michael Granger', 'ged@FaerieMUD.org'
|
61
61
|
self.developer 'Lars Kanis', 'lars@greiz-reinsdorf.de'
|
62
62
|
|
63
|
-
self.dependency 'rake-compiler', '~> 1.0
|
64
|
-
self.dependency 'rake-compiler-dock', '~> 0.6
|
65
|
-
self.dependency 'hoe', '~>
|
66
|
-
self.dependency 'hoe-deveiate', '~> 0.6', :developer
|
63
|
+
self.dependency 'rake-compiler', '~> 1.0', :developer
|
64
|
+
self.dependency 'rake-compiler-dock', '~> 0.6', :developer
|
65
|
+
self.dependency 'hoe-deveiate', '~> 0.9', :developer
|
67
66
|
self.dependency 'hoe-bundler', '~> 1.0', :developer
|
68
|
-
self.dependency 'rspec', '~> 3.
|
67
|
+
self.dependency 'rspec', '~> 3.5', :developer
|
68
|
+
self.dependency 'rdoc', '~> 5.1', :developer
|
69
69
|
|
70
70
|
self.spec_extras[:extensions] = [ 'ext/extconf.rb' ]
|
71
71
|
|
data/ext/pg.c
CHANGED
data/ext/pg_binary_decoder.c
CHANGED
data/ext/pg_binary_encoder.c
CHANGED
data/ext/pg_connection.c
CHANGED
data/ext/pg_result.c
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
/*
|
2
2
|
* pg_result.c - PG::Result class extension
|
3
|
-
* $Id
|
3
|
+
* $Id$
|
4
4
|
*
|
5
5
|
*/
|
6
6
|
|
@@ -772,11 +772,17 @@ pgresult_cmd_status(VALUE self)
|
|
772
772
|
* Returns the number of tuples (rows) affected by the SQL command.
|
773
773
|
*
|
774
774
|
* If the SQL command that generated the PG::Result was not one of:
|
775
|
-
*
|
776
|
-
* *
|
777
|
-
* *
|
778
|
-
* *
|
779
|
-
* *
|
775
|
+
*
|
776
|
+
* * <tt>SELECT</tt>
|
777
|
+
* * <tt>CREATE TABLE AS</tt>
|
778
|
+
* * <tt>INSERT</tt>
|
779
|
+
* * <tt>UPDATE</tt>
|
780
|
+
* * <tt>DELETE</tt>
|
781
|
+
* * <tt>MOVE</tt>
|
782
|
+
* * <tt>FETCH</tt>
|
783
|
+
* * <tt>COPY</tt>
|
784
|
+
* * an +EXECUTE+ of a prepared query that contains an +INSERT+, +UPDATE+, or +DELETE+ statement
|
785
|
+
*
|
780
786
|
* or if no tuples were affected, <tt>0</tt> is returned.
|
781
787
|
*/
|
782
788
|
static VALUE
|
data/ext/pg_text_decoder.c
CHANGED
data/ext/pg_text_encoder.c
CHANGED
data/ext/pg_type_map.c
CHANGED
data/ext/pg_type_map_by_class.c
CHANGED