pg 0.15.0.pre.432-x86-mingw32 → 0.15.0.pre.454-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
data.tar.gz.sig CHANGED
Binary file
data/ChangeLog CHANGED
@@ -1,3 +1,141 @@
1
+ 2013-03-16 Lars Kanis <kanis@comcard.de>
2
+
3
+ * ext/extconf.rb, ext/pg_connection.c, lib/pg/connection.rb,
4
+ spec/lib/helpers.rb, spec/pg/connection_spec.rb:
5
+ Add working Connection#socket_io for Windows and remove this method
6
+ for platforms that don't support it.
7
+
8
+ This also requires to move the code from Ruby to C.
9
+
10
+ Use different excudes for :unix and :socket_io.
11
+ [79d6ab5cf45a] [tip]
12
+
13
+ 2013-03-14 Lars Kanis <kanis@comcard.de>
14
+
15
+ * ext/pg_connection.c:
16
+ Use #async_exec as alias to #exec on platforms with native threads.
17
+
18
+ Since we release the GVL for all blocking function calls, now, #exec
19
+ has the same behaviour as #async_exec.
20
+
21
+ Discussed on: https://groups.google.com/d/msg/ruby-
22
+ pg/OVVO7XjH7Aw/7UIwi6g10PsJ
23
+ [ca09386c2aac]
24
+
25
+ * ext/pg_connection.c:
26
+ Test case 'can wait for NOTIFY events' failed before this fix.
27
+ [266d915dfb86]
28
+
29
+ 2013-03-13 Lars Kanis <kanis@comcard.de>
30
+
31
+ * spec/pg/connection_spec.rb:
32
+ Mark tests to #socket_io as UNIX-only - they fail on Windows.
33
+ [1f23c39fb8c8]
34
+
35
+ * Rakefile.cross:
36
+ Print proper message in case that cross compilation is not usable.
37
+ [307438918863]
38
+
39
+ * Rakefile, Rakefile.cross:
40
+ Merge with https://bitbucket.org/ged/ruby-pg
41
+ [3230e6c245e0]
42
+
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
+ 2013-03-12 Michael Granger <ged@FaerieMUD.org>
55
+
56
+ * Rakefile.cross:
57
+ Bump PostgreSQL/OpenSSL versions for the binary gem
58
+ [b6f885cd57f7]
59
+
60
+ * spec/pg/connection_spec.rb:
61
+ Re-enable application_name setting with corrected guard
62
+ [5b2e5992bb78]
63
+
64
+ * .rvm.gems, Rakefile, Rakefile.cross:
65
+ Bump versions of dev dependencies
66
+ [cba92fb4b89e]
67
+
68
+ 2013-03-06 Michael Granger <ged@FaerieMUD.org>
69
+
70
+ * README.rdoc:
71
+ Add a hint about installing with Bundler to the README.
72
+
73
+ Thanks to StackExchange user 'darnumbrella' for this hint.
74
+ http://stackoverflow.com/questions/15234810/cannot-install-pg-gem
75
+ [93bacacab796]
76
+
77
+ * History.rdoc:
78
+ Update History
79
+ [0ab4e5cf47e9]
80
+
81
+ 2013-03-03 Michael Granger <ged@FaerieMUD.org>
82
+
83
+ * spec/pg/connection_spec.rb:
84
+ Remove application_name setting for PG < 8.3
85
+ [130d50d246fb]
86
+
87
+ * spec/pg/connection_spec.rb:
88
+ Fix tests under Postgres 8.3.
89
+
90
+ Ugh. I need an 8.3 testing box.
91
+ [bda5c1c794f1]
92
+
93
+ * spec/pg/connection_spec.rb:
94
+ Don't set the application_name for versions of PG less than 9.0
95
+ [9daa5a0012d8]
96
+
97
+ * spec/lib/helpers.rb:
98
+ Remove reference comment
99
+ [edc642a94aa6]
100
+
101
+ * ext/pg_connection.c, spec/lib/helpers.rb,
102
+ spec/pg/connection_spec.rb:
103
+ Clean up the #socket_io if it exists on #finish and #reset.
104
+ [fc290848221b]
105
+
106
+ 2013-02-27 Michael Granger <ged@FaerieMUD.org>
107
+
108
+ * README.ja.rdoc, README.rdoc:
109
+ Update READMEs
110
+
111
+ * Update relevant versions
112
+ * Move the badge to a status section
113
+ * Add link list to the header
114
+ * Add a (hopefully) more-lucid description to README.ja.rdoc.
115
+ [ac1c999e8514]
116
+
117
+ 2013-02-26 Michael Granger <ged@FaerieMUD.org>
118
+
119
+ * .travis.yml:
120
+ Add Ruby 2 to the Travis matrix
121
+ [d8c0be8a00fa]
122
+
123
+ 2013-02-25 Michael Granger <ged@FaerieMUD.org>
124
+
125
+ * .rvmrc:
126
+ Test under Ruby 2.0.0 by default
127
+ [c7919322ac00]
128
+
129
+ * Merge with rpath_ldflag
130
+ [a249c3b79f82]
131
+
132
+ 2013-02-04 Lars Kanis <kanis@comcard.de>
133
+
134
+ * ext/pg_connection.c:
135
+ Avoid warning about DWORD to int mapping in rb_raise() format
136
+ string.
137
+ [b1d3a145bef5]
138
+
1
139
  2013-02-03 Michael Granger <ged@FaerieMUD.org>
2
140
 
3
141
  * ext/pg_connection.c, spec/pg/connection_spec.rb:
@@ -8,7 +146,7 @@
8
146
  PQexecParams() itself.
9
147
 
10
148
  Thanks to Aaron Patterson for the idea.
11
- [7c313c2355b7] [tip]
149
+ [7c313c2355b7]
12
150
 
13
151
  2013-01-31 Michael Granger <ged@FaerieMUD.org>
14
152
 
@@ -178,24 +316,6 @@
178
316
  Make source settings override TM2 defaults
179
317
  [c5706b3f73af]
180
318
 
181
- 2013-01-29 Aaron Patterson <aaron.patterson@gmail.com>
182
-
183
- * ext/pg_result.c, lib/pg/result.rb, spec/pg/result_spec.rb:
184
- adding PG::Result#each_row for looping over result sets by row
185
- [fe820dfcc7a6]
186
-
187
- 2013-01-22 Lars Kanis <kanis@comcard.de>
188
-
189
- * ext/pg_connection.c, spec/pg/connection_spec.rb:
190
- merge from default branch
191
- [2c5eaaef55fd] <use_gvl_for_blocking_functions>
192
-
193
- 2012-12-29 Lars Kanis <kanis@comcard.de>
194
-
195
- * ext/gvl_wrappers.h:
196
- Simplify function declaration for gvl_wrappers a bit more
197
- [39ba7e52207e] <use_gvl_for_blocking_functions>
198
-
199
319
  2012-12-26 Lars Kanis <kanis@comcard.de>
200
320
 
201
321
  * ext/extconf.rb, ext/pg_connection.c, spec/pg/connection_spec.rb:
@@ -216,6 +336,47 @@
216
336
  the GVL of ruby 1.9 as long as not in ruby code
217
337
  [2f2c681424ed] <use_gvl_for_blocking_functions>
218
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
+ 2013-01-29 Aaron Patterson <aaron.patterson@gmail.com>
375
+
376
+ * ext/pg_result.c, lib/pg/result.rb, spec/pg/result_spec.rb:
377
+ adding PG::Result#each_row for looping over result sets by row
378
+ [fe820dfcc7a6]
379
+
219
380
  2013-01-05 Lars Kanis <kanis@comcard.de>
220
381
 
221
382
  * Rakefile.cross:
@@ -421,43 +582,10 @@
421
582
 
422
583
  2012-07-02 Lars Kanis <kanis@comcard.de>
423
584
 
424
- * ext/pg_connection.c, spec/pg/connection_spec.rb:
425
- Fix encoding of values delivered to the row processor and add specs
426
- for binary and text data.
427
- [bb9c6625fbc9] <row_processor>
428
-
429
- * ext/pg_connection.c:
430
- Polish the documentation a little bit
431
- [b7633be3c941] <row_processor>
432
-
433
585
  * ext/pg_result.c:
434
586
  Add PGRES_COPY_BOTH to documentation of PG::Result#result_status
435
587
  [5e0e06440b1a]
436
588
 
437
- 2012-07-01 Lars Kanis <kanis@comcard.de>
438
-
439
- * ext/pg_connection.c:
440
- Get rid of gcc warning about (non-)const PGresult to
441
- pg_new_result_for_callback()
442
- [1a25786ed8f3] <row_processor>
443
-
444
- * ext/pg_connection.c, spec/pg/connection_spec.rb:
445
- Fix wrong encoding for Result object passed to a notice-receiver
446
- block. Add proper specs for #set_notice_receiver.
447
- [4280826bb9b9] <row_processor>
448
-
449
- * ext/extconf.rb, ext/pg.h, ext/pg_connection.c, ext/pg_result.c,
450
- spec/lib/helpers.rb, spec/pg/connection_spec.rb:
451
- Implement PostgreSQL-9.2 functions PG::Connection#set_row_processor,
452
- get_row_processor, skip_result
453
- [b7ce4843f4d1] <row_processor>
454
-
455
- 2012-06-28 Lars Kanis <kanis@comcard.de>
456
-
457
- * ext/pg_result.c:
458
- Add PGRES_COPY_BOTH to documentation of PG::Result#result_status
459
- [63998b47da6e] <copy_both_docu>
460
-
461
589
  2012-06-23 Michael Granger <ged@FaerieMUD.org>
462
590
 
463
591
  * .hgtags:
@@ -806,12 +934,6 @@
806
934
  Merged in larskanis/ruby-pg (pull request #5)
807
935
  [ad3e4338ad35]
808
936
 
809
- 2012-01-26 Michael Granger <ged@FaerieMUD.org>
810
-
811
- * .hgsigs:
812
- Added signature for changeset b67309d3ccf2
813
- [8f5629b33d76]
814
-
815
937
  2012-01-27 Lars Kanis <kanis@comcard.de>
816
938
 
817
939
  * Manifest.txt, POSTGRES, Rakefile, ext/extconf.rb, ext/pg.h,
@@ -822,6 +944,10 @@
822
944
 
823
945
  2012-01-26 Michael Granger <ged@FaerieMUD.org>
824
946
 
947
+ * .hgsigs:
948
+ Added signature for changeset b67309d3ccf2
949
+ [8f5629b33d76]
950
+
825
951
  * .rvmrc, ext/pg_connection.c, spec/pg/connection_spec.rb:
826
952
  Fix for Ruby 1.8, removed accidentally-committed encoding-testing
827
953
  method.
@@ -924,6 +1050,13 @@
924
1050
  * Merged in larskanis/ruby-pg (pull request #4)
925
1051
  [8d88c47ccc9b]
926
1052
 
1053
+ 2012-01-03 Lars Kanis <kanis@comcard.de>
1054
+
1055
+ * ext/extconf.rb, ext/pg.h:
1056
+ Alternatively include 'st.h' instead of 'ruby/st.h'. This fixes
1057
+ compilation on Ruby 1.8.
1058
+ [0cf272cb383f]
1059
+
927
1060
  2012-01-03 Michael Granger <ged@FaerieMUD.org>
928
1061
 
929
1062
  * Merged with 6fc514ea2547
@@ -935,13 +1068,6 @@
935
1068
  Updating history file with the st.h change
936
1069
  [935f29411410]
937
1070
 
938
- 2012-01-03 Lars Kanis <kanis@comcard.de>
939
-
940
- * ext/extconf.rb, ext/pg.h:
941
- Alternatively include 'st.h' instead of 'ruby/st.h'. This fixes
942
- compilation on Ruby 1.8.
943
- [0cf272cb383f]
944
-
945
1071
  2012-01-02 Michael Granger <ged@FaerieMUD.org>
946
1072
 
947
1073
  * .hgtags:
@@ -1671,22 +1797,6 @@
1671
1797
  when client_encoding in the connection changes.
1672
1798
  [9d54bbc98488]
1673
1799
 
1674
- 2010-01-27 COMCARD-NT\kanis <COMCARD-NT\kanis@c1170lx.comcard-nt.de>
1675
-
1676
- * spec/lib/helpers.rb:
1677
- drop an recreate the test db for each test
1678
- [bbe869c00d46] <setting_up_test_database_patch>
1679
-
1680
- 2010-01-26 kueche <kueche@eee>
1681
-
1682
- * ext/pg.c:
1683
- same behavior for async_exec like exec
1684
- [fdb088fca6e0] <async_exec_behavior_patch>
1685
-
1686
- * spec/lib/helpers.rb:
1687
- improved test database setup
1688
- [825e424a4b08] <setting_up_test_database_patch>
1689
-
1690
1800
  2010-01-18 Michael Granger <ged@FaerieMUD.org>
1691
1801
 
1692
1802
  * ext/extconf.rb:
@@ -1716,31 +1826,12 @@
1716
1826
  Thanks to both Lars and Shun for all their help with this issue.
1717
1827
  [74fab32c2687]
1718
1828
 
1719
- 2010-01-11 COMCARD-NT\kanis <COMCARD-NT\kanis@c1170lx.comcard-nt.de>
1720
-
1721
- * ext/pg.c:
1722
- remaped to async_exec
1723
- [df509c9a45c0] <always_use_async_exec>
1724
-
1725
- * merged from default
1726
- [7f9623f8af4c] <workaround_broken_rb_thread_select>
1727
-
1728
1829
  2010-01-06 Michael Granger <ged@FaerieMUD.org>
1729
1830
 
1730
1831
  * README:
1731
1832
  Rearranged the sections of the README.
1732
1833
  [f8dfc1b6c51c]
1733
1834
 
1734
- 2010-01-08 COMCARD-NT\kanis <COMCARD-NT\kanis@c1170lx.comcard-nt.de>
1735
-
1736
- * ext/pg.c, ext/pg.h, spec/pgconn_spec.rb:
1737
- reworked patch that should not block a second thread
1738
- [01ad62c60c74] <workaround_broken_rb_thread_select>
1739
-
1740
- * ext/pg.c:
1741
- merged with default
1742
- [d8936a677dd0] <workaround_broken_rb_thread_select>
1743
-
1744
1835
  2010-01-05 Michael Granger <ged@FaerieMUD.org>
1745
1836
 
1746
1837
  * README.OS_X:
@@ -1779,16 +1870,6 @@
1779
1870
  Closes #13. Thanks Lars!
1780
1871
  [38a0d2a90664]
1781
1872
 
1782
- 2010-01-04 COMCARD-NT\kanis <COMCARD-NT\kanis@c1170lx.comcard-nt.de>
1783
-
1784
- * README.windows, Rakefile.local, ext/extconf.rb:
1785
- win32 cross-compilation patch applied
1786
- [b55949db8e2e] <cross-compilation-with-rake-compiler>
1787
-
1788
- * ext/pg.c:
1789
- win32 workaround rb_thread_select() applied
1790
- [78fbefffe863] <workaround_broken_rb_thread_select>
1791
-
1792
1873
  2010-01-03 Michael Granger <ged@FaerieMUD.org>
1793
1874
 
1794
1875
  * .irbrc, COPYING.txt, ChangeLog, MANIFEST, README, README.OS_X,
@@ -1831,12 +1912,6 @@
1831
1912
  Merged i17n-19-patches branch
1832
1913
  [0997a0aa7624]
1833
1914
 
1834
- 2009-12-30 COMCARD-NT\kanis <COMCARD-NT\kanis@c1170lx.comcard-nt.de>
1835
-
1836
- * README.windows, Rakefile.local, ext/extconf.rb:
1837
- static library building for cross compilation
1838
- [065a842e7bf8] <i17n-19-patches>
1839
-
1840
1915
  2009-12-28 Michael Granger <ged@FaerieMUD.org>
1841
1916
 
1842
1917
  * .hgignore, ext/pg.c, spec/pgconn_spec.rb:
@@ -1,4 +1,4 @@
1
- == v0.15.0 [YYYY-MM-DD] Michael Granger <ged@FaerieMUD.org>
1
+ == v0.15.0 [2013-03-03] Michael Granger <ged@FaerieMUD.org>
2
2
 
3
3
  Bugfixes:
4
4
 
@@ -14,6 +14,7 @@ Documentation fixes:
14
14
 
15
15
  Enhancements:
16
16
 
17
+ - Tested under Ruby 2.0.0p0.
17
18
  - Add single row mode of PostgreSQL 9.2.
18
19
  - Set fallback_application_name to programm name $0. Thanks to Will Leinweber
19
20
  for the patch.
@@ -24,8 +25,10 @@ Enhancements:
24
25
  rb_thread_select().
25
26
  - Add an example of how to insert array data using a prepared statement (#145).
26
27
  - Add continous integration tests on travis-ci.org.
27
- - Add PG::Result#each_value for looping over result sets by row. Thanks to
28
+ - Add PG::Result#each_row for iterative over result sets by row. Thanks to
28
29
  Aaron Patterson for the patch.
30
+ - Add a PG::Connection#socket_io method for fetching a (non-autoclosing) IO
31
+ object for the connection's socket.
29
32
 
30
33
  Specs:
31
34
 
@@ -1,7 +1,14 @@
1
1
  = pg
2
2
 
3
- * https://bitbucket.org/ged/ruby-pg
3
+ home :: https://bitbucket.org/ged/ruby-pg
4
+ mirror :: https://github.com/ged/ruby-pg
5
+ docs :: http://deveiate.org/code/pg
4
6
 
5
- This file needs translation. Anyone who is willing to volunteer, please
6
- mail <ged@FaerieMUD.org>.
7
+
8
+ == Description
9
+
10
+ This file needs a translation of the English README. Pull requests, patches, or
11
+ volunteers gladly accepted.
12
+
13
+ Until such time, please accept my sincere apologies for not knowing Japanese.
7
14
 
@@ -1,8 +1,9 @@
1
- {<img src="https://travis-ci.org/ged/ruby-pg.png?branch=master" alt="Build Status" />}[https://travis-ci.org/ged/ruby-pg]
2
-
3
1
  = pg
4
2
 
5
- * https://bitbucket.org/ged/ruby-pg
3
+ home :: https://bitbucket.org/ged/ruby-pg
4
+ mirror :: https://github.com/ged/ruby-pg
5
+ docs :: http://deveiate.org/code/pg
6
+
6
7
 
7
8
  == Description
8
9
 
@@ -26,10 +27,14 @@ A small example usage:
26
27
  end
27
28
  end
28
29
 
30
+ == Build Status
31
+
32
+ {<img src="https://travis-ci.org/ged/ruby-pg.png?branch=master" alt="Build Status" />}[https://travis-ci.org/ged/ruby-pg]
33
+
29
34
 
30
35
  == Requirements
31
36
 
32
- * Ruby 1.8.7-p249 or 1.9.3-p0.
37
+ * Ruby 1.8.7-p371, 1.9.3-p392, or 2.0.0-p0.
33
38
  * PostgreSQL 8.3.x (with headers, -dev packages, etc).
34
39
 
35
40
  It may work with earlier versions of Ruby as well, but those are not regularly tested.
@@ -46,6 +51,10 @@ Postgres:
46
51
 
47
52
  gem install pg -- --with-pg-config=<path to pg_config>
48
53
 
54
+ If you're installing via Bundler, you can provide compile hints like so:
55
+
56
+ bundle config build.pg --with-pg-config=<path to pg_config>
57
+
49
58
  See README-OS_X.rdoc for more information about installing under MacOS X, and
50
59
  README-Windows.rdoc for Windows build/installation instructions.
51
60