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

Sign up to get free protection for your applications and to get access to all the features.
data.tar.gz.sig ADDED
@@ -0,0 +1,2 @@
1
+ F�8"W��d�z�r(5��Ѥ4�u�����o���;�����!eЀ�m��
2
+ G��hb��'���
data/ChangeLog CHANGED
@@ -1,8 +1,354 @@
1
+ 2013-02-03 Michael Granger <ged@FaerieMUD.org>
2
+
3
+ * ext/pg_connection.c, spec/pg/connection_spec.rb:
4
+ Split the dual-mode PG::Connection#exec into #exec and #exec_params.
5
+
6
+ PG::Connection#exec should be backward compatible with old code: it
7
+ just passes control to #exec_params directly instead of calling
8
+ PQexecParams() itself.
9
+
10
+ Thanks to Aaron Patterson for the idea.
11
+ [7c313c2355b7] [tip]
12
+
13
+ 2013-01-31 Michael Granger <ged@FaerieMUD.org>
14
+
15
+ * ext/extconf.rb:
16
+ Add experimental -rpath to the LDFLAGS
17
+ [8496c624dffd]
18
+
19
+ 2013-01-30 Michael Granger <ged@FaerieMUD.org>
20
+
21
+ * .hoerc, ext/pg_connection.c, lib/pg/connection.rb,
22
+ sample/async_api.rb, sample/async_copyto.rb, sample/async_mixed.rb,
23
+ spec/pg/connection_spec.rb:
24
+ Add PG::Connection#socket_io to return a memoized IO for the
25
+ underlying socket.
26
+
27
+ This keeps the IO in scope until the Connection is garbage-
28
+ collected, preventing Ruby from auto-closing the connection to
29
+ PostgreSQL.
30
+ [c1e35a055da6]
31
+
32
+ 2013-01-30 Michael Granger <ged@faeriemud.org>
33
+
34
+ * Close branch copy_both_docu.
35
+ [9a5a0ead9240] <copy_both_docu>
36
+
37
+ * Close branch row_processor.
38
+ [2503026a5b0c] <row_processor>
39
+
40
+ * Close branch use_gvl_for_blocking_functions.
41
+ [c576c578b389] <use_gvl_for_blocking_functions>
42
+
43
+ 2013-01-29 Michael Granger <ged@FaerieMUD.org>
44
+
45
+ * History.rdoc:
46
+ Add @tenderlove's patch credit to History, reworded some stuff
47
+ [dbfbd4a8e88b]
48
+
49
+ * lib/pg/result.rb:
50
+ Whitespace/docs fix
51
+ [6d150feff5b7]
52
+
53
+ * spec/pg/result_spec.rb:
54
+ Merge with github mirror
55
+ [114d4527bc34]
56
+
57
+ * Merge pull request #5 from larskanis/for_ged_2
58
+
59
+ Update History+Manifest files
60
+ [68885ed19424]
61
+
62
+ 2013-01-25 Michael Granger <ged@FaerieMUD.org>
63
+
64
+ * Merge pull request #4 from larskanis/for_ged
65
+
66
+ A bunch of cool stuff from Lars Kanis.
67
+ [0ac815e4c1c2]
68
+
69
+ 2013-01-27 Lars Kanis <lars@greiz-reinsdorf.de>
70
+
71
+ * Manifest.txt:
72
+ Update Manifest file.
73
+ [2ec7220191c3]
74
+
75
+ * ext/pg_connection.c:
76
+ Remove unused variable.
77
+ [ff8729fed34d]
78
+
79
+ * History.rdoc:
80
+ Update the History file.
81
+ [6e1539487554]
82
+
83
+ 2013-01-23 Lars Kanis <kanis@comcard.de>
84
+
85
+ * ext/pg_connection.c:
86
+ Free memory allocated per rb_fd_init().
87
+ [c66205b7855a]
88
+
89
+ * README.rdoc:
90
+ Link the travis build status icon to ged's repository.
91
+ [5230908c87b0]
92
+
93
+ * ext/pg_connection.c, spec/lib/helpers.rb,
94
+ spec/pg/connection_spec.rb:
95
+ conn#socket() can not be used with IO.for_fd() on Windows.
96
+ [35588686dd95]
97
+
98
+ * spec/pg/connection_spec.rb:
99
+ Fix race in threading spec.
100
+ [9a84576d9c1c]
101
+
102
+ * ext/extconf.rb, ext/pg_connection.c:
103
+ Refactor different variants of waiting for the connection socket.
104
+
105
+ Reduce the 4 variants of waiting to only 2 which are used by both
106
+
107
+ This also fixes 'Bad file descriptor' respectively wrong behaviour
108
+ of #wait_for_notify() on Windows and fixes timeout handling of
109
+
110
+ Make use of rb_thread_fd_select() on Ruby 1.9, to avoid deprecation
111
+ warnings on rb_thread_select().
112
+ [bdad1d6ed622]
113
+
114
+ 2013-01-22 Lars Kanis <kanis@comcard.de>
115
+
116
+ * spec/lib/helpers.rb, spec/pg/connection_spec.rb:
117
+ Avoid fork() in specs.
118
+
119
+ fork() is not implemented on windows and jruby.
120
+
121
+ On Rubinius fork() blocks in these tests or raises 'server closed
122
+ the connection unexpectedly' after the test.
123
+ [4a6fe373133f]
124
+
125
+ * ext/extconf.rb, ext/gvl_wrappers.c, ext/gvl_wrappers.h, ext/pg.h,
126
+ ext/pg_connection.c, spec/pg/connection_spec.rb:
127
+ Add wrappers to blocking functions and callbacks in order to release
128
+ the GVL of ruby 1.9 as long as not in ruby code.
129
+
130
+ This allowes better concurrency in threaded applications.
131
+ [ccc3e80c0058]
132
+
133
+ * spec/pg/connection_spec.rb:
134
+ Remove duplicated test.
135
+
136
+ It is equally defined in result_spec.rb.
137
+ [ce203ebe0b00]
138
+
139
+ * spec/pg/connection_spec.rb:
140
+ Don't do parameter test with 'keepalives' on PostgreSQL<9.0
141
+ [b73895632940]
142
+
143
+ * spec/pg/result_spec.rb:
144
+ Adjust PGError test to also match PostgreSQL 8.3
145
+ [69ac504b6895]
146
+
147
+ * spec/pg/connection_spec.rb:
148
+ Skip some tests that do not run on PostgreSQL<9.0
149
+ [451ee7c4195d]
150
+
151
+ * spec/pg/connection_spec.rb:
152
+ Replace Encoding::KOI8_U by Encoding::KOI8_R to allow testing with
153
+ PostgreSQL 8.3.
154
+ [5edc4ca287be]
155
+
156
+ * spec/pg/connection_spec.rb:
157
+ Async connection test seems to be a bit racy on 1.8.7. So allow
158
+ CONNECTION_OK, too.
159
+ [5f29f24727e9]
160
+
161
+ * spec/pg/result_spec.rb:
162
+ Avoid warning about deprecated expect{ }.should.
163
+ [72a839f5fe85]
164
+
165
+ * Merge http://github.com/ged/ruby-pg
166
+ [af2075f15962]
167
+
168
+ 2013-01-21 Lars Kanis <kanis@comcard.de>
169
+
170
+ * .travis.yml, README.rdoc:
171
+ Add configuration for travis-ci.org and add build status icon to
172
+ README.
173
+ [cce08abf93c8]
174
+
175
+ 2013-01-25 Michael Granger <ged@FaerieMUD.org>
176
+
177
+ * .tm_properties:
178
+ Make source settings override TM2 defaults
179
+ [c5706b3f73af]
180
+
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
+ 2012-12-26 Lars Kanis <kanis@comcard.de>
200
+
201
+ * ext/extconf.rb, ext/pg_connection.c, spec/pg/connection_spec.rb:
202
+ merge in default branch
203
+ [ca39e311d1eb] <use_gvl_for_blocking_functions>
204
+
205
+ * ext/gvl_wrappers.h:
206
+ Add some documentation to gvl_wrappers
207
+ [ffeb6a0afd1f] <use_gvl_for_blocking_functions>
208
+
209
+ * spec/pg/connection_spec.rb:
210
+ Add test case for threading with Connection#exec in ruby 1.9
211
+ [73b9aa38e8c0] <use_gvl_for_blocking_functions>
212
+
213
+ * ext/extconf.rb, ext/gvl_wrappers.c, ext/gvl_wrappers.h, ext/pg.h,
214
+ ext/pg_connection.c:
215
+ Add wrappers to blocking functions and callbacks in order to release
216
+ the GVL of ruby 1.9 as long as not in ruby code
217
+ [2f2c681424ed] <use_gvl_for_blocking_functions>
218
+
219
+ 2013-01-05 Lars Kanis <kanis@comcard.de>
220
+
221
+ * Rakefile.cross:
222
+ Update PostgreSQL to 9.2.2 for cross compilation task
223
+ [553bde8e3021]
224
+
225
+ 2013-01-03 Lars Kanis <kanis@comcard.de>
226
+
227
+ * ext/pg_connection.c, spec/pg/connection_spec.rb:
228
+ Fix text encoding for Connection#notifies
229
+ [c1522591aa08]
230
+
231
+ 2012-12-30 Lars Kanis <kanis@comcard.de>
232
+
233
+ * ext/pg_connection.c, spec/pg/connection_spec.rb:
234
+ Fix text encoding for Connection#wait_for_notify
235
+ [3dc45b1416b9]
236
+
237
+ * ext/pg_connection.c, spec/pg/connection_spec.rb:
238
+ Fix encoding of messages delivered by notice callbacks
239
+ [048d07d14867]
240
+
241
+ 2012-12-26 Lars Kanis <kanis@comcard.de>
242
+
243
+ * ext/pg.c:
244
+ Use proper const check instead of implicit relation
245
+ [d0c5d5f7f1e8]
246
+
247
+ * spec/pg/connection_spec.rb:
248
+ Improve spec for Connection#set_single_row_mode
249
+ [0b318fe91ffc]
250
+
251
+ * ext/pg_connection.c:
252
+ Add some more documentation to Connection#set_single_row_mode
253
+ [43f891ee4f64]
254
+
255
+ 2012-12-26 larskanis <lars@greiz-reinsdorf.de>
256
+
257
+ * spec/pg/connection_spec.rb:
258
+ Merged in larskanis/ruby-pg/single_row_mode (pull request #13: Add
259
+ single row mode of PostgreSQL 9.2)
260
+ [49e3fe1dafdf]
261
+
262
+ 2012-12-19 Lars Kanis <kanis@comcard.de>
263
+
264
+ * ext/extconf.rb, ext/pg.c, ext/pg_connection.c,
265
+ spec/pg/connection_spec.rb:
266
+ Add single row mode of PostgreSQL 9.2
267
+ [5cf348b75c1c] <single_row_mode>
268
+
269
+ 2012-12-19 Michael Granger <ged@FaerieMUD.org>
270
+
271
+ * lib/pg/connection.rb:
272
+ Remove accidentally-committed debugging statement
273
+ [05f5faf568cd]
274
+
275
+ * Merge with github mirror
276
+ [95448a126ab5]
277
+
278
+ 2012-12-17 Michael Granger <ged@FaerieMUD.org>
279
+
280
+ * Merge pull request #3 from michaelrkn/master
281
+
282
+ fix spacing in the README
283
+ [9561ce98b144]
284
+
285
+ 2012-12-17 michael <michaelrkn@gmail.com>
286
+
287
+ * README.rdoc:
288
+ fix spacing on README.rdoc:21 to improve display on Github
289
+ [807f040166da]
290
+
291
+ 2012-12-19 Lars Kanis <kanis@comcard.de>
292
+
293
+ * spec/pg/connection_spec.rb:
294
+ Move the spec to param fallback_application_name into PostgreSQL 9.0
295
+ section
296
+ [83bfd3b99c08]
297
+
298
+ * ext/pg_result.c:
299
+ Fix segfault in PG::Result#field_values when called with non String
300
+ value
301
+ [e2f58175db88]
302
+
303
+ * spec/pg/result_spec.rb:
304
+ Add spec for PG::Result#field_values
305
+ [3618eb238aba]
306
+
307
+ * lib/pg/connection.rb, spec/lib/helpers.rb:
308
+ Restore compatibility with PostgreSQL down to 8.3
309
+ [e4900f62e56d]
310
+
311
+ 2012-10-30 Michael Granger <ged@FaerieMUD.org>
312
+
313
+ * spec/lib/helpers.rb, spec/pg/result_spec.rb:
314
+ Adding some fixes for PostgreSQL 9.2.x
315
+ [10804d14d1e7]
316
+
317
+ * lib/pg/connection.rb, spec/pg/connection_spec.rb:
318
+ Write specs for the fallback_application_name addition.
319
+ [994bad887ae9]
320
+
321
+ 2012-09-08 will <will@bitfission.com>
322
+
323
+ * lib/pg/connection.rb:
324
+ Add a default fallback_application_name to connection string
325
+ [ee5c4f860ce1]
326
+
327
+ 2012-10-30 Michael Granger <ged@FaerieMUD.org>
328
+
329
+ * sample/array_insert.rb:
330
+ Adding an example of how to insert array data using a prepared
331
+ statement (issue #145)
332
+ [7a8fdf4ae7fe]
333
+
334
+ 2012-10-01 Michael Granger <ged@FaerieMUD.org>
335
+
336
+ * Contributors.rdoc:
337
+ Update Rafał Bigaj's email address in Contributors.rdoc at his
338
+ request
339
+ [bf7fb95dc4e8]
340
+
341
+ 2012-09-07 Michael Granger <ged@FaerieMUD.org>
342
+
343
+ * ext/pg_result.c:
344
+ Fix the documentation for Result#check (refs #123)
345
+ [283e533abb9b]
346
+
1
347
  2012-09-02 Michael Granger <ged@FaerieMUD.org>
2
348
 
3
349
  * .hgtags:
4
350
  Added tag v0.14.1 for changeset 2d83ce956f97
5
- [523ae4535497] [tip]
351
+ [523ae4535497]
6
352
 
7
353
  * .hgsigs:
8
354
  Added signature for changeset 52d22b060501
@@ -75,10 +421,6 @@
75
421
 
76
422
  2012-07-02 Lars Kanis <kanis@comcard.de>
77
423
 
78
- * ext/pg_result.c:
79
- Add PGRES_COPY_BOTH to documentation of PG::Result#result_status
80
- [5e0e06440b1a]
81
-
82
424
  * ext/pg_connection.c, spec/pg/connection_spec.rb:
83
425
  Fix encoding of values delivered to the row processor and add specs
84
426
  for binary and text data.
@@ -88,21 +430,12 @@
88
430
  Polish the documentation a little bit
89
431
  [b7633be3c941] <row_processor>
90
432
 
91
- 2012-06-23 Michael Granger <ged@FaerieMUD.org>
92
-
93
- * .hgtags:
94
- Added tag v0.14.0 for changeset 634e0a42a101
95
- [35eecb26bd34]
96
-
97
- * .hgsigs:
98
- Added signature for changeset a45710f8db30
99
- [634e0a42a101] [v0.14.0]
433
+ * ext/pg_result.c:
434
+ Add PGRES_COPY_BOTH to documentation of PG::Result#result_status
435
+ [5e0e06440b1a]
100
436
 
101
437
  2012-07-01 Lars Kanis <kanis@comcard.de>
102
438
 
103
- * merge copy_both_docu
104
- [6e8ef5d4d216]
105
-
106
439
  * ext/pg_connection.c:
107
440
  Get rid of gcc warning about (non-)const PGresult to
108
441
  pg_new_result_for_callback()
@@ -125,6 +458,16 @@
125
458
  Add PGRES_COPY_BOTH to documentation of PG::Result#result_status
126
459
  [63998b47da6e] <copy_both_docu>
127
460
 
461
+ 2012-06-23 Michael Granger <ged@FaerieMUD.org>
462
+
463
+ * .hgtags:
464
+ Added tag v0.14.0 for changeset 634e0a42a101
465
+ [35eecb26bd34]
466
+
467
+ * .hgsigs:
468
+ Added signature for changeset a45710f8db30
469
+ [634e0a42a101] [v0.14.0]
470
+
128
471
  2012-06-17 Lars Kanis <kanis@comcard.de>
129
472
 
130
473
  * Rakefile.cross, ext/extconf.rb,
@@ -463,6 +806,12 @@
463
806
  Merged in larskanis/ruby-pg (pull request #5)
464
807
  [ad3e4338ad35]
465
808
 
809
+ 2012-01-26 Michael Granger <ged@FaerieMUD.org>
810
+
811
+ * .hgsigs:
812
+ Added signature for changeset b67309d3ccf2
813
+ [8f5629b33d76]
814
+
466
815
  2012-01-27 Lars Kanis <kanis@comcard.de>
467
816
 
468
817
  * Manifest.txt, POSTGRES, Rakefile, ext/extconf.rb, ext/pg.h,
@@ -473,10 +822,6 @@
473
822
 
474
823
  2012-01-26 Michael Granger <ged@FaerieMUD.org>
475
824
 
476
- * .hgsigs:
477
- Added signature for changeset b67309d3ccf2
478
- [8f5629b33d76]
479
-
480
825
  * .rvmrc, ext/pg_connection.c, spec/pg/connection_spec.rb:
481
826
  Fix for Ruby 1.8, removed accidentally-committed encoding-testing
482
827
  method.
@@ -579,13 +924,6 @@
579
924
  * Merged in larskanis/ruby-pg (pull request #4)
580
925
  [8d88c47ccc9b]
581
926
 
582
- 2012-01-03 Lars Kanis <kanis@comcard.de>
583
-
584
- * ext/extconf.rb, ext/pg.h:
585
- Alternatively include 'st.h' instead of 'ruby/st.h'. This fixes
586
- compilation on Ruby 1.8.
587
- [0cf272cb383f]
588
-
589
927
  2012-01-03 Michael Granger <ged@FaerieMUD.org>
590
928
 
591
929
  * Merged with 6fc514ea2547
@@ -597,6 +935,13 @@
597
935
  Updating history file with the st.h change
598
936
  [935f29411410]
599
937
 
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
+
600
945
  2012-01-02 Michael Granger <ged@FaerieMUD.org>
601
946
 
602
947
  * .hgtags:
@@ -1326,6 +1671,22 @@
1326
1671
  when client_encoding in the connection changes.
1327
1672
  [9d54bbc98488]
1328
1673
 
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
+
1329
1690
  2010-01-18 Michael Granger <ged@FaerieMUD.org>
1330
1691
 
1331
1692
  * ext/extconf.rb:
@@ -1355,12 +1716,31 @@
1355
1716
  Thanks to both Lars and Shun for all their help with this issue.
1356
1717
  [74fab32c2687]
1357
1718
 
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
+
1358
1728
  2010-01-06 Michael Granger <ged@FaerieMUD.org>
1359
1729
 
1360
1730
  * README:
1361
1731
  Rearranged the sections of the README.
1362
1732
  [f8dfc1b6c51c]
1363
1733
 
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
+
1364
1744
  2010-01-05 Michael Granger <ged@FaerieMUD.org>
1365
1745
 
1366
1746
  * README.OS_X:
@@ -1399,6 +1779,16 @@
1399
1779
  Closes #13. Thanks Lars!
1400
1780
  [38a0d2a90664]
1401
1781
 
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
+
1402
1792
  2010-01-03 Michael Granger <ged@FaerieMUD.org>
1403
1793
 
1404
1794
  * .irbrc, COPYING.txt, ChangeLog, MANIFEST, README, README.OS_X,
@@ -1441,6 +1831,12 @@
1441
1831
  Merged i17n-19-patches branch
1442
1832
  [0997a0aa7624]
1443
1833
 
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
+
1444
1840
  2009-12-28 Michael Granger <ged@FaerieMUD.org>
1445
1841
 
1446
1842
  * .hgignore, ext/pg.c, spec/pgconn_spec.rb: