pg 0.15.0.pre.454-x86-mingw32 → 0.15.0-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data.tar.gz.sig +0 -0
- data/ChangeLog +137 -72
- data/Rakefile +1 -1
- data/Rakefile.cross +2 -0
- data/ext/pg_connection.c +2 -3
- data/lib/1.8/pg_ext.so +0 -0
- data/lib/1.9/pg_ext.so +0 -0
- data/lib/2.0/pg_ext.so +0 -0
- data/lib/pg.rb +1 -1
- metadata +8 -12
- metadata.gz.sig +0 -0
data.tar.gz.sig
CHANGED
Binary file
|
data/ChangeLog
CHANGED
@@ -1,3 +1,47 @@
|
|
1
|
+
2013-03-26 Michael Granger <ged@FaerieMUD.org>
|
2
|
+
|
3
|
+
* README.rdoc:
|
4
|
+
Update README, add Lars as maintainer
|
5
|
+
[5060601d2e64] [tip]
|
6
|
+
|
7
|
+
* ext/pg_result.c, lib/pg/exceptions.rb, sample/async_api.rb,
|
8
|
+
sample/async_mixed.rb, sample/cursor.rb,
|
9
|
+
sample/disk_usage_report.rb, sample/wal_shipper.rb,
|
10
|
+
sample/warehouse_partitions.rb, spec/lib/helpers.rb:
|
11
|
+
Whitespace cleanup
|
12
|
+
[76ebae01c937]
|
13
|
+
|
14
|
+
* .hgtags:
|
15
|
+
Added tag v0.15.0 for changeset 065fd1f0e9dd
|
16
|
+
[3321254ec4fb]
|
17
|
+
|
18
|
+
* .hgsigs:
|
19
|
+
Added signature for changeset 384fcbc92366
|
20
|
+
[065fd1f0e9dd] [v0.15.0]
|
21
|
+
|
22
|
+
* lib/pg.rb:
|
23
|
+
Bump the minor version
|
24
|
+
[384fcbc92366]
|
25
|
+
|
26
|
+
* ext/pg_connection.c:
|
27
|
+
Fix a compiler warning
|
28
|
+
[c031f659f882]
|
29
|
+
|
30
|
+
* Rakefile.cross:
|
31
|
+
Avoid "no implicit conversion of nil into String" on hosts with no
|
32
|
+
cross-ruby installs
|
33
|
+
[3fcdc9620b79]
|
34
|
+
|
35
|
+
2013-03-25 Lars Kanis <kanis@comcard.de>
|
36
|
+
|
37
|
+
* ext/pg_connection.c:
|
38
|
+
Avoid compiler warning about unused variable:
|
39
|
+
|
40
|
+
../../../../ext/pg_connection.c: In function
|
41
|
+
‘pgconn_close_socket_io’: ../../../../ext/pg_connection.c:73:6:
|
42
|
+
warning: unused variable ‘ruby_sd’ [-Wunused-variable]
|
43
|
+
[342fa14086aa]
|
44
|
+
|
1
45
|
2013-03-16 Lars Kanis <kanis@comcard.de>
|
2
46
|
|
3
47
|
* ext/extconf.rb, ext/pg_connection.c, lib/pg/connection.rb,
|
@@ -8,7 +52,7 @@
|
|
8
52
|
This also requires to move the code from Ruby to C.
|
9
53
|
|
10
54
|
Use different excudes for :unix and :socket_io.
|
11
|
-
[79d6ab5cf45a]
|
55
|
+
[79d6ab5cf45a]
|
12
56
|
|
13
57
|
2013-03-14 Lars Kanis <kanis@comcard.de>
|
14
58
|
|
@@ -40,17 +84,6 @@
|
|
40
84
|
Merge with https://bitbucket.org/ged/ruby-pg
|
41
85
|
[3230e6c245e0]
|
42
86
|
|
43
|
-
* Rakefile, Rakefile.cross:
|
44
|
-
Add support for cross build for multiple platforms (i386-mingw32 and
|
45
|
-
x64-mingw32).
|
46
|
-
|
47
|
-
Update OpenSSL for cross build to 1.0.1e Update PostgreSQL for cross
|
48
|
-
build to 9.2.3
|
49
|
-
|
50
|
-
Remove -lws2_32 for PostgreSQL build. It fails to compile for
|
51
|
-
x64-mingw32 elsewise.
|
52
|
-
[6a2a1a53dedc]
|
53
|
-
|
54
87
|
2013-03-12 Michael Granger <ged@FaerieMUD.org>
|
55
88
|
|
56
89
|
* Rakefile.cross:
|
@@ -65,6 +98,19 @@
|
|
65
98
|
Bump versions of dev dependencies
|
66
99
|
[cba92fb4b89e]
|
67
100
|
|
101
|
+
2013-03-13 Lars Kanis <kanis@comcard.de>
|
102
|
+
|
103
|
+
* Rakefile, Rakefile.cross:
|
104
|
+
Add support for cross build for multiple platforms (i386-mingw32 and
|
105
|
+
x64-mingw32).
|
106
|
+
|
107
|
+
Update OpenSSL for cross build to 1.0.1e Update PostgreSQL for cross
|
108
|
+
build to 9.2.3
|
109
|
+
|
110
|
+
Remove -lws2_32 for PostgreSQL build. It fails to compile for
|
111
|
+
x64-mingw32 elsewise.
|
112
|
+
[6a2a1a53dedc]
|
113
|
+
|
68
114
|
2013-03-06 Michael Granger <ged@FaerieMUD.org>
|
69
115
|
|
70
116
|
* README.rdoc:
|
@@ -316,61 +362,6 @@
|
|
316
362
|
Make source settings override TM2 defaults
|
317
363
|
[c5706b3f73af]
|
318
364
|
|
319
|
-
2012-12-26 Lars Kanis <kanis@comcard.de>
|
320
|
-
|
321
|
-
* ext/extconf.rb, ext/pg_connection.c, spec/pg/connection_spec.rb:
|
322
|
-
merge in default branch
|
323
|
-
[ca39e311d1eb] <use_gvl_for_blocking_functions>
|
324
|
-
|
325
|
-
* ext/gvl_wrappers.h:
|
326
|
-
Add some documentation to gvl_wrappers
|
327
|
-
[ffeb6a0afd1f] <use_gvl_for_blocking_functions>
|
328
|
-
|
329
|
-
* spec/pg/connection_spec.rb:
|
330
|
-
Add test case for threading with Connection#exec in ruby 1.9
|
331
|
-
[73b9aa38e8c0] <use_gvl_for_blocking_functions>
|
332
|
-
|
333
|
-
* ext/extconf.rb, ext/gvl_wrappers.c, ext/gvl_wrappers.h, ext/pg.h,
|
334
|
-
ext/pg_connection.c:
|
335
|
-
Add wrappers to blocking functions and callbacks in order to release
|
336
|
-
the GVL of ruby 1.9 as long as not in ruby code
|
337
|
-
[2f2c681424ed] <use_gvl_for_blocking_functions>
|
338
|
-
|
339
|
-
2012-07-02 Lars Kanis <kanis@comcard.de>
|
340
|
-
|
341
|
-
* ext/pg_connection.c, spec/pg/connection_spec.rb:
|
342
|
-
Fix encoding of values delivered to the row processor and add specs
|
343
|
-
for binary and text data.
|
344
|
-
[bb9c6625fbc9] <row_processor>
|
345
|
-
|
346
|
-
* ext/pg_connection.c:
|
347
|
-
Polish the documentation a little bit
|
348
|
-
[b7633be3c941] <row_processor>
|
349
|
-
|
350
|
-
2012-07-01 Lars Kanis <kanis@comcard.de>
|
351
|
-
|
352
|
-
* ext/pg_connection.c:
|
353
|
-
Get rid of gcc warning about (non-)const PGresult to
|
354
|
-
pg_new_result_for_callback()
|
355
|
-
[1a25786ed8f3] <row_processor>
|
356
|
-
|
357
|
-
* ext/pg_connection.c, spec/pg/connection_spec.rb:
|
358
|
-
Fix wrong encoding for Result object passed to a notice-receiver
|
359
|
-
block. Add proper specs for #set_notice_receiver.
|
360
|
-
[4280826bb9b9] <row_processor>
|
361
|
-
|
362
|
-
* ext/extconf.rb, ext/pg.h, ext/pg_connection.c, ext/pg_result.c,
|
363
|
-
spec/lib/helpers.rb, spec/pg/connection_spec.rb:
|
364
|
-
Implement PostgreSQL-9.2 functions PG::Connection#set_row_processor,
|
365
|
-
get_row_processor, skip_result
|
366
|
-
[b7ce4843f4d1] <row_processor>
|
367
|
-
|
368
|
-
2012-06-28 Lars Kanis <kanis@comcard.de>
|
369
|
-
|
370
|
-
* ext/pg_result.c:
|
371
|
-
Add PGRES_COPY_BOTH to documentation of PG::Result#result_status
|
372
|
-
[63998b47da6e] <copy_both_docu>
|
373
|
-
|
374
365
|
2013-01-29 Aaron Patterson <aaron.patterson@gmail.com>
|
375
366
|
|
376
367
|
* ext/pg_result.c, lib/pg/result.rb, spec/pg/result_spec.rb:
|
@@ -399,8 +390,22 @@
|
|
399
390
|
Fix encoding of messages delivered by notice callbacks
|
400
391
|
[048d07d14867]
|
401
392
|
|
393
|
+
2012-12-29 Lars Kanis <kanis@comcard.de>
|
394
|
+
|
395
|
+
* ext/gvl_wrappers.h:
|
396
|
+
Simplify function declaration for gvl_wrappers a bit more
|
397
|
+
[39ba7e52207e] <use_gvl_for_blocking_functions>
|
398
|
+
|
402
399
|
2012-12-26 Lars Kanis <kanis@comcard.de>
|
403
400
|
|
401
|
+
* ext/extconf.rb, ext/pg_connection.c, spec/pg/connection_spec.rb:
|
402
|
+
merge in default branch
|
403
|
+
[ca39e311d1eb] <use_gvl_for_blocking_functions>
|
404
|
+
|
405
|
+
* ext/gvl_wrappers.h:
|
406
|
+
Add some documentation to gvl_wrappers
|
407
|
+
[ffeb6a0afd1f] <use_gvl_for_blocking_functions>
|
408
|
+
|
404
409
|
* ext/pg.c:
|
405
410
|
Use proper const check instead of implicit relation
|
406
411
|
[d0c5d5f7f1e8]
|
@@ -420,12 +425,23 @@
|
|
420
425
|
single row mode of PostgreSQL 9.2)
|
421
426
|
[49e3fe1dafdf]
|
422
427
|
|
423
|
-
2012-12-
|
428
|
+
2012-12-26 Lars Kanis <kanis@comcard.de>
|
424
429
|
|
425
|
-
*
|
426
|
-
|
427
|
-
|
428
|
-
|
430
|
+
* spec/pg/connection_spec.rb:
|
431
|
+
Add test case for threading with Connection#exec in ruby 1.9
|
432
|
+
[73b9aa38e8c0] <use_gvl_for_blocking_functions>
|
433
|
+
|
434
|
+
* ext/extconf.rb, ext/gvl_wrappers.c, ext/gvl_wrappers.h, ext/pg.h,
|
435
|
+
ext/pg_connection.c:
|
436
|
+
Add wrappers to blocking functions and callbacks in order to release
|
437
|
+
the GVL of ruby 1.9 as long as not in ruby code
|
438
|
+
[2f2c681424ed] <use_gvl_for_blocking_functions>
|
439
|
+
|
440
|
+
* ext/extconf.rb, ext/gvl_wrappers.c, ext/gvl_wrappers.h, ext/pg.h,
|
441
|
+
ext/pg_connection.c:
|
442
|
+
Add wrappers to blocking functions and callbacks in order to release
|
443
|
+
the GVL of ruby 1.9 as long as not in ruby code
|
444
|
+
[6ad8aa8e10a5] <use_gvl_for_blocking_functions>
|
429
445
|
|
430
446
|
2012-12-19 Michael Granger <ged@FaerieMUD.org>
|
431
447
|
|
@@ -449,6 +465,14 @@
|
|
449
465
|
fix spacing on README.rdoc:21 to improve display on Github
|
450
466
|
[807f040166da]
|
451
467
|
|
468
|
+
2012-12-26 Lars Kanis <kanis@comcard.de>
|
469
|
+
|
470
|
+
* ext/extconf.rb, ext/gvl_wrappers.c, ext/gvl_wrappers.h, ext/pg.h,
|
471
|
+
ext/pg_connection.c:
|
472
|
+
Add wrappers to blocking functions and callbacks in order to release
|
473
|
+
the GVL of ruby 1.9 while not in ruby code
|
474
|
+
[c31ea26b15e9] <use_gvl_for_blocking_functions>
|
475
|
+
|
452
476
|
2012-12-19 Lars Kanis <kanis@comcard.de>
|
453
477
|
|
454
478
|
* spec/pg/connection_spec.rb:
|
@@ -465,6 +489,11 @@
|
|
465
489
|
Add spec for PG::Result#field_values
|
466
490
|
[3618eb238aba]
|
467
491
|
|
492
|
+
* ext/extconf.rb, ext/pg.c, ext/pg_connection.c,
|
493
|
+
spec/pg/connection_spec.rb:
|
494
|
+
Add single row mode of PostgreSQL 9.2
|
495
|
+
[5cf348b75c1c] <single_row_mode>
|
496
|
+
|
468
497
|
* lib/pg/connection.rb, spec/lib/helpers.rb:
|
469
498
|
Restore compatibility with PostgreSQL down to 8.3
|
470
499
|
[e4900f62e56d]
|
@@ -586,6 +615,15 @@
|
|
586
615
|
Add PGRES_COPY_BOTH to documentation of PG::Result#result_status
|
587
616
|
[5e0e06440b1a]
|
588
617
|
|
618
|
+
* ext/pg_connection.c, spec/pg/connection_spec.rb:
|
619
|
+
Fix encoding of values delivered to the row processor and add specs
|
620
|
+
for binary and text data.
|
621
|
+
[bb9c6625fbc9] <row_processor>
|
622
|
+
|
623
|
+
* ext/pg_connection.c:
|
624
|
+
Polish the documentation a little bit
|
625
|
+
[b7633be3c941] <row_processor>
|
626
|
+
|
589
627
|
2012-06-23 Michael Granger <ged@FaerieMUD.org>
|
590
628
|
|
591
629
|
* .hgtags:
|
@@ -596,6 +634,33 @@
|
|
596
634
|
Added signature for changeset a45710f8db30
|
597
635
|
[634e0a42a101] [v0.14.0]
|
598
636
|
|
637
|
+
2012-07-01 Lars Kanis <kanis@comcard.de>
|
638
|
+
|
639
|
+
* merge copy_both_docu
|
640
|
+
[6e8ef5d4d216]
|
641
|
+
|
642
|
+
* ext/pg_connection.c:
|
643
|
+
Get rid of gcc warning about (non-)const PGresult to
|
644
|
+
pg_new_result_for_callback()
|
645
|
+
[1a25786ed8f3] <row_processor>
|
646
|
+
|
647
|
+
* ext/pg_connection.c, spec/pg/connection_spec.rb:
|
648
|
+
Fix wrong encoding for Result object passed to a notice-receiver
|
649
|
+
block. Add proper specs for #set_notice_receiver.
|
650
|
+
[4280826bb9b9] <row_processor>
|
651
|
+
|
652
|
+
* ext/extconf.rb, ext/pg.h, ext/pg_connection.c, ext/pg_result.c,
|
653
|
+
spec/lib/helpers.rb, spec/pg/connection_spec.rb:
|
654
|
+
Implement PostgreSQL-9.2 functions PG::Connection#set_row_processor,
|
655
|
+
get_row_processor, skip_result
|
656
|
+
[b7ce4843f4d1] <row_processor>
|
657
|
+
|
658
|
+
2012-06-28 Lars Kanis <kanis@comcard.de>
|
659
|
+
|
660
|
+
* ext/pg_result.c:
|
661
|
+
Add PGRES_COPY_BOTH to documentation of PG::Result#result_status
|
662
|
+
[63998b47da6e] <copy_both_docu>
|
663
|
+
|
599
664
|
2012-06-17 Lars Kanis <kanis@comcard.de>
|
600
665
|
|
601
666
|
* Rakefile.cross, ext/extconf.rb,
|
data/Rakefile
CHANGED
@@ -112,7 +112,7 @@ Rake::ExtensionTask.new do |ext|
|
|
112
112
|
ext.lib_dir = 'lib'
|
113
113
|
ext.source_pattern = "*.{c,h}"
|
114
114
|
ext.cross_compile = true
|
115
|
-
ext.cross_platform = CrossLibraries.map
|
115
|
+
ext.cross_platform = CrossLibraries.map &:for_platform
|
116
116
|
|
117
117
|
ext.cross_config_options += CrossLibraries.map do |lib|
|
118
118
|
{
|
data/Rakefile.cross
CHANGED
@@ -73,6 +73,8 @@ class CrossLibrary < OpenStruct
|
|
73
73
|
config_file = YAML.load_file(File.expand_path("~/.rake-compiler/config.yml"))
|
74
74
|
_, rbfile = config_file.find{|key, fname| key.start_with?("rbconfig-#{for_platform}-") }
|
75
75
|
IO.read(rbfile).match(/CONFIG\["host"\] = "(.*)"/)[1]
|
76
|
+
rescue
|
77
|
+
nil
|
76
78
|
end
|
77
79
|
|
78
80
|
|
data/ext/pg_connection.c
CHANGED
@@ -70,11 +70,10 @@ void
|
|
70
70
|
pgconn_close_socket_io( VALUE self )
|
71
71
|
{
|
72
72
|
VALUE socket_io = rb_iv_get( self, "@socket_io" );
|
73
|
-
int ruby_sd;
|
74
73
|
|
75
74
|
if ( RTEST(socket_io) ) {
|
76
75
|
#if defined(_WIN32) && defined(HAVE_RB_W32_WRAP_IO_HANDLE)
|
77
|
-
ruby_sd = NUM2INT(rb_funcall( socket_io, rb_intern("fileno"), 0 ));
|
76
|
+
int ruby_sd = NUM2INT(rb_funcall( socket_io, rb_intern("fileno"), 0 ));
|
78
77
|
if( rb_w32_unwrap_io_handle(ruby_sd) ){
|
79
78
|
rb_raise(rb_ePGerror, "Could not unwrap win32 socket handle");
|
80
79
|
}
|
@@ -762,7 +761,7 @@ pgconn_socket_io(VALUE self)
|
|
762
761
|
{
|
763
762
|
int sd;
|
764
763
|
int ruby_sd;
|
765
|
-
|
764
|
+
ID id_autoclose = rb_intern("autoclose=");
|
766
765
|
VALUE socket_io = rb_iv_get( self, "@socket_io" );
|
767
766
|
|
768
767
|
if ( !RTEST(socket_io) ) {
|
data/lib/1.8/pg_ext.so
CHANGED
Binary file
|
data/lib/1.9/pg_ext.so
CHANGED
Binary file
|
data/lib/2.0/pg_ext.so
CHANGED
Binary file
|
data/lib/pg.rb
CHANGED
metadata
CHANGED
@@ -1,15 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pg
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
5
|
-
prerelease:
|
4
|
+
hash: 35
|
5
|
+
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 15
|
9
9
|
- 0
|
10
|
-
|
11
|
-
- 454
|
12
|
-
version: 0.15.0.pre.454
|
10
|
+
version: 0.15.0
|
13
11
|
platform: x86-mingw32
|
14
12
|
authors:
|
15
13
|
- Michael Granger
|
@@ -38,7 +36,7 @@ cert_chain:
|
|
38
36
|
mMFp4kPUHbWOqCp2mz9gCA==
|
39
37
|
-----END CERTIFICATE-----
|
40
38
|
|
41
|
-
date: 2013-03-
|
39
|
+
date: 2013-03-26 00:00:00 Z
|
42
40
|
dependencies:
|
43
41
|
- !ruby/object:Gem::Dependency
|
44
42
|
name: hoe-mercurial
|
@@ -258,14 +256,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
258
256
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
259
257
|
none: false
|
260
258
|
requirements:
|
261
|
-
- - "
|
259
|
+
- - ">="
|
262
260
|
- !ruby/object:Gem::Version
|
263
|
-
hash:
|
261
|
+
hash: 3
|
264
262
|
segments:
|
265
|
-
-
|
266
|
-
|
267
|
-
- 1
|
268
|
-
version: 1.3.1
|
263
|
+
- 0
|
264
|
+
version: "0"
|
269
265
|
requirements: []
|
270
266
|
|
271
267
|
rubyforge_project: pg
|
metadata.gz.sig
CHANGED
Binary file
|