pg 0.15.0.pre.454-x64-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.
Files changed (57) hide show
  1. data.tar.gz.sig +0 -0
  2. data/.gemtest +0 -0
  3. data/BSDL +22 -0
  4. data/ChangeLog +2945 -0
  5. data/Contributors.rdoc +46 -0
  6. data/History.rdoc +205 -0
  7. data/LICENSE +56 -0
  8. data/Manifest.txt +53 -0
  9. data/POSTGRES +23 -0
  10. data/README-OS_X.rdoc +68 -0
  11. data/README-Windows.rdoc +67 -0
  12. data/README.ja.rdoc +14 -0
  13. data/README.rdoc +111 -0
  14. data/Rakefile +156 -0
  15. data/Rakefile.cross +271 -0
  16. data/ext/extconf.rb +91 -0
  17. data/ext/gvl_wrappers.c +13 -0
  18. data/ext/gvl_wrappers.h +185 -0
  19. data/ext/pg.c +525 -0
  20. data/ext/pg.h +126 -0
  21. data/ext/pg_connection.c +3600 -0
  22. data/ext/pg_result.c +939 -0
  23. data/ext/vc/pg.sln +26 -0
  24. data/ext/vc/pg_18/pg.vcproj +216 -0
  25. data/ext/vc/pg_19/pg_19.vcproj +209 -0
  26. data/lib/2.0/pg_ext.so +0 -0
  27. data/lib/pg.rb +52 -0
  28. data/lib/pg/connection.rb +71 -0
  29. data/lib/pg/constants.rb +11 -0
  30. data/lib/pg/exceptions.rb +11 -0
  31. data/lib/pg/result.rb +16 -0
  32. data/sample/array_insert.rb +20 -0
  33. data/sample/async_api.rb +106 -0
  34. data/sample/async_copyto.rb +39 -0
  35. data/sample/async_mixed.rb +56 -0
  36. data/sample/check_conn.rb +21 -0
  37. data/sample/copyfrom.rb +81 -0
  38. data/sample/copyto.rb +19 -0
  39. data/sample/cursor.rb +21 -0
  40. data/sample/disk_usage_report.rb +186 -0
  41. data/sample/issue-119.rb +94 -0
  42. data/sample/losample.rb +69 -0
  43. data/sample/minimal-testcase.rb +17 -0
  44. data/sample/notify_wait.rb +72 -0
  45. data/sample/pg_statistics.rb +294 -0
  46. data/sample/replication_monitor.rb +231 -0
  47. data/sample/test_binary_values.rb +33 -0
  48. data/sample/wal_shipper.rb +434 -0
  49. data/sample/warehouse_partitions.rb +320 -0
  50. data/spec/data/expected_trace.out +26 -0
  51. data/spec/data/random_binary_data +0 -0
  52. data/spec/lib/helpers.rb +279 -0
  53. data/spec/pg/connection_spec.rb +1013 -0
  54. data/spec/pg/result_spec.rb +278 -0
  55. data/spec/pg_spec.rb +31 -0
  56. metadata +275 -0
  57. metadata.gz.sig +0 -0
Binary file
File without changes
data/BSDL ADDED
@@ -0,0 +1,22 @@
1
+ Copyright (C) 1993-2010 Yukihiro Matsumoto. All rights reserved.
2
+
3
+ Redistribution and use in source and binary forms, with or without
4
+ modification, are permitted provided that the following conditions
5
+ are met:
6
+ 1. Redistributions of source code must retain the above copyright
7
+ notice, this list of conditions and the following disclaimer.
8
+ 2. Redistributions in binary form must reproduce the above copyright
9
+ notice, this list of conditions and the following disclaimer in the
10
+ documentation and/or other materials provided with the distribution.
11
+
12
+ THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
13
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
14
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
15
+ ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
16
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
17
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
18
+ OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
19
+ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
20
+ LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
21
+ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
22
+ SUCH DAMAGE.
@@ -0,0 +1,2945 @@
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
+
139
+ 2013-02-03 Michael Granger <ged@FaerieMUD.org>
140
+
141
+ * ext/pg_connection.c, spec/pg/connection_spec.rb:
142
+ Split the dual-mode PG::Connection#exec into #exec and #exec_params.
143
+
144
+ PG::Connection#exec should be backward compatible with old code: it
145
+ just passes control to #exec_params directly instead of calling
146
+ PQexecParams() itself.
147
+
148
+ Thanks to Aaron Patterson for the idea.
149
+ [7c313c2355b7]
150
+
151
+ 2013-01-31 Michael Granger <ged@FaerieMUD.org>
152
+
153
+ * ext/extconf.rb:
154
+ Add experimental -rpath to the LDFLAGS
155
+ [8496c624dffd]
156
+
157
+ 2013-01-30 Michael Granger <ged@FaerieMUD.org>
158
+
159
+ * .hoerc, ext/pg_connection.c, lib/pg/connection.rb,
160
+ sample/async_api.rb, sample/async_copyto.rb, sample/async_mixed.rb,
161
+ spec/pg/connection_spec.rb:
162
+ Add PG::Connection#socket_io to return a memoized IO for the
163
+ underlying socket.
164
+
165
+ This keeps the IO in scope until the Connection is garbage-
166
+ collected, preventing Ruby from auto-closing the connection to
167
+ PostgreSQL.
168
+ [c1e35a055da6]
169
+
170
+ 2013-01-30 Michael Granger <ged@faeriemud.org>
171
+
172
+ * Close branch copy_both_docu.
173
+ [9a5a0ead9240] <copy_both_docu>
174
+
175
+ * Close branch row_processor.
176
+ [2503026a5b0c] <row_processor>
177
+
178
+ * Close branch use_gvl_for_blocking_functions.
179
+ [c576c578b389] <use_gvl_for_blocking_functions>
180
+
181
+ 2013-01-29 Michael Granger <ged@FaerieMUD.org>
182
+
183
+ * History.rdoc:
184
+ Add @tenderlove's patch credit to History, reworded some stuff
185
+ [dbfbd4a8e88b]
186
+
187
+ * lib/pg/result.rb:
188
+ Whitespace/docs fix
189
+ [6d150feff5b7]
190
+
191
+ * spec/pg/result_spec.rb:
192
+ Merge with github mirror
193
+ [114d4527bc34]
194
+
195
+ * Merge pull request #5 from larskanis/for_ged_2
196
+
197
+ Update History+Manifest files
198
+ [68885ed19424]
199
+
200
+ 2013-01-25 Michael Granger <ged@FaerieMUD.org>
201
+
202
+ * Merge pull request #4 from larskanis/for_ged
203
+
204
+ A bunch of cool stuff from Lars Kanis.
205
+ [0ac815e4c1c2]
206
+
207
+ 2013-01-27 Lars Kanis <lars@greiz-reinsdorf.de>
208
+
209
+ * Manifest.txt:
210
+ Update Manifest file.
211
+ [2ec7220191c3]
212
+
213
+ * ext/pg_connection.c:
214
+ Remove unused variable.
215
+ [ff8729fed34d]
216
+
217
+ * History.rdoc:
218
+ Update the History file.
219
+ [6e1539487554]
220
+
221
+ 2013-01-23 Lars Kanis <kanis@comcard.de>
222
+
223
+ * ext/pg_connection.c:
224
+ Free memory allocated per rb_fd_init().
225
+ [c66205b7855a]
226
+
227
+ * README.rdoc:
228
+ Link the travis build status icon to ged's repository.
229
+ [5230908c87b0]
230
+
231
+ * ext/pg_connection.c, spec/lib/helpers.rb,
232
+ spec/pg/connection_spec.rb:
233
+ conn#socket() can not be used with IO.for_fd() on Windows.
234
+ [35588686dd95]
235
+
236
+ * spec/pg/connection_spec.rb:
237
+ Fix race in threading spec.
238
+ [9a84576d9c1c]
239
+
240
+ * ext/extconf.rb, ext/pg_connection.c:
241
+ Refactor different variants of waiting for the connection socket.
242
+
243
+ Reduce the 4 variants of waiting to only 2 which are used by both
244
+
245
+ This also fixes 'Bad file descriptor' respectively wrong behaviour
246
+ of #wait_for_notify() on Windows and fixes timeout handling of
247
+
248
+ Make use of rb_thread_fd_select() on Ruby 1.9, to avoid deprecation
249
+ warnings on rb_thread_select().
250
+ [bdad1d6ed622]
251
+
252
+ 2013-01-22 Lars Kanis <kanis@comcard.de>
253
+
254
+ * spec/lib/helpers.rb, spec/pg/connection_spec.rb:
255
+ Avoid fork() in specs.
256
+
257
+ fork() is not implemented on windows and jruby.
258
+
259
+ On Rubinius fork() blocks in these tests or raises 'server closed
260
+ the connection unexpectedly' after the test.
261
+ [4a6fe373133f]
262
+
263
+ * ext/extconf.rb, ext/gvl_wrappers.c, ext/gvl_wrappers.h, ext/pg.h,
264
+ ext/pg_connection.c, spec/pg/connection_spec.rb:
265
+ Add wrappers to blocking functions and callbacks in order to release
266
+ the GVL of ruby 1.9 as long as not in ruby code.
267
+
268
+ This allowes better concurrency in threaded applications.
269
+ [ccc3e80c0058]
270
+
271
+ * spec/pg/connection_spec.rb:
272
+ Remove duplicated test.
273
+
274
+ It is equally defined in result_spec.rb.
275
+ [ce203ebe0b00]
276
+
277
+ * spec/pg/connection_spec.rb:
278
+ Don't do parameter test with 'keepalives' on PostgreSQL<9.0
279
+ [b73895632940]
280
+
281
+ * spec/pg/result_spec.rb:
282
+ Adjust PGError test to also match PostgreSQL 8.3
283
+ [69ac504b6895]
284
+
285
+ * spec/pg/connection_spec.rb:
286
+ Skip some tests that do not run on PostgreSQL<9.0
287
+ [451ee7c4195d]
288
+
289
+ * spec/pg/connection_spec.rb:
290
+ Replace Encoding::KOI8_U by Encoding::KOI8_R to allow testing with
291
+ PostgreSQL 8.3.
292
+ [5edc4ca287be]
293
+
294
+ * spec/pg/connection_spec.rb:
295
+ Async connection test seems to be a bit racy on 1.8.7. So allow
296
+ CONNECTION_OK, too.
297
+ [5f29f24727e9]
298
+
299
+ * spec/pg/result_spec.rb:
300
+ Avoid warning about deprecated expect{ }.should.
301
+ [72a839f5fe85]
302
+
303
+ * Merge http://github.com/ged/ruby-pg
304
+ [af2075f15962]
305
+
306
+ 2013-01-21 Lars Kanis <kanis@comcard.de>
307
+
308
+ * .travis.yml, README.rdoc:
309
+ Add configuration for travis-ci.org and add build status icon to
310
+ README.
311
+ [cce08abf93c8]
312
+
313
+ 2013-01-25 Michael Granger <ged@FaerieMUD.org>
314
+
315
+ * .tm_properties:
316
+ Make source settings override TM2 defaults
317
+ [c5706b3f73af]
318
+
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
+ 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
+
380
+ 2013-01-05 Lars Kanis <kanis@comcard.de>
381
+
382
+ * Rakefile.cross:
383
+ Update PostgreSQL to 9.2.2 for cross compilation task
384
+ [553bde8e3021]
385
+
386
+ 2013-01-03 Lars Kanis <kanis@comcard.de>
387
+
388
+ * ext/pg_connection.c, spec/pg/connection_spec.rb:
389
+ Fix text encoding for Connection#notifies
390
+ [c1522591aa08]
391
+
392
+ 2012-12-30 Lars Kanis <kanis@comcard.de>
393
+
394
+ * ext/pg_connection.c, spec/pg/connection_spec.rb:
395
+ Fix text encoding for Connection#wait_for_notify
396
+ [3dc45b1416b9]
397
+
398
+ * ext/pg_connection.c, spec/pg/connection_spec.rb:
399
+ Fix encoding of messages delivered by notice callbacks
400
+ [048d07d14867]
401
+
402
+ 2012-12-26 Lars Kanis <kanis@comcard.de>
403
+
404
+ * ext/pg.c:
405
+ Use proper const check instead of implicit relation
406
+ [d0c5d5f7f1e8]
407
+
408
+ * spec/pg/connection_spec.rb:
409
+ Improve spec for Connection#set_single_row_mode
410
+ [0b318fe91ffc]
411
+
412
+ * ext/pg_connection.c:
413
+ Add some more documentation to Connection#set_single_row_mode
414
+ [43f891ee4f64]
415
+
416
+ 2012-12-26 larskanis <lars@greiz-reinsdorf.de>
417
+
418
+ * spec/pg/connection_spec.rb:
419
+ Merged in larskanis/ruby-pg/single_row_mode (pull request #13: Add
420
+ single row mode of PostgreSQL 9.2)
421
+ [49e3fe1dafdf]
422
+
423
+ 2012-12-19 Lars Kanis <kanis@comcard.de>
424
+
425
+ * ext/extconf.rb, ext/pg.c, ext/pg_connection.c,
426
+ spec/pg/connection_spec.rb:
427
+ Add single row mode of PostgreSQL 9.2
428
+ [5cf348b75c1c] <single_row_mode>
429
+
430
+ 2012-12-19 Michael Granger <ged@FaerieMUD.org>
431
+
432
+ * lib/pg/connection.rb:
433
+ Remove accidentally-committed debugging statement
434
+ [05f5faf568cd]
435
+
436
+ * Merge with github mirror
437
+ [95448a126ab5]
438
+
439
+ 2012-12-17 Michael Granger <ged@FaerieMUD.org>
440
+
441
+ * Merge pull request #3 from michaelrkn/master
442
+
443
+ fix spacing in the README
444
+ [9561ce98b144]
445
+
446
+ 2012-12-17 michael <michaelrkn@gmail.com>
447
+
448
+ * README.rdoc:
449
+ fix spacing on README.rdoc:21 to improve display on Github
450
+ [807f040166da]
451
+
452
+ 2012-12-19 Lars Kanis <kanis@comcard.de>
453
+
454
+ * spec/pg/connection_spec.rb:
455
+ Move the spec to param fallback_application_name into PostgreSQL 9.0
456
+ section
457
+ [83bfd3b99c08]
458
+
459
+ * ext/pg_result.c:
460
+ Fix segfault in PG::Result#field_values when called with non String
461
+ value
462
+ [e2f58175db88]
463
+
464
+ * spec/pg/result_spec.rb:
465
+ Add spec for PG::Result#field_values
466
+ [3618eb238aba]
467
+
468
+ * lib/pg/connection.rb, spec/lib/helpers.rb:
469
+ Restore compatibility with PostgreSQL down to 8.3
470
+ [e4900f62e56d]
471
+
472
+ 2012-10-30 Michael Granger <ged@FaerieMUD.org>
473
+
474
+ * spec/lib/helpers.rb, spec/pg/result_spec.rb:
475
+ Adding some fixes for PostgreSQL 9.2.x
476
+ [10804d14d1e7]
477
+
478
+ * lib/pg/connection.rb, spec/pg/connection_spec.rb:
479
+ Write specs for the fallback_application_name addition.
480
+ [994bad887ae9]
481
+
482
+ 2012-09-08 will <will@bitfission.com>
483
+
484
+ * lib/pg/connection.rb:
485
+ Add a default fallback_application_name to connection string
486
+ [ee5c4f860ce1]
487
+
488
+ 2012-10-30 Michael Granger <ged@FaerieMUD.org>
489
+
490
+ * sample/array_insert.rb:
491
+ Adding an example of how to insert array data using a prepared
492
+ statement (issue #145)
493
+ [7a8fdf4ae7fe]
494
+
495
+ 2012-10-01 Michael Granger <ged@FaerieMUD.org>
496
+
497
+ * Contributors.rdoc:
498
+ Update Rafał Bigaj's email address in Contributors.rdoc at his
499
+ request
500
+ [bf7fb95dc4e8]
501
+
502
+ 2012-09-07 Michael Granger <ged@FaerieMUD.org>
503
+
504
+ * ext/pg_result.c:
505
+ Fix the documentation for Result#check (refs #123)
506
+ [283e533abb9b]
507
+
508
+ 2012-09-02 Michael Granger <ged@FaerieMUD.org>
509
+
510
+ * .hgtags:
511
+ Added tag v0.14.1 for changeset 2d83ce956f97
512
+ [523ae4535497]
513
+
514
+ * .hgsigs:
515
+ Added signature for changeset 52d22b060501
516
+ [2d83ce956f97] [v0.14.1]
517
+
518
+ * History.rdoc:
519
+ Updating the History file
520
+ [52d22b060501]
521
+
522
+ 2012-08-14 Michael Granger <ged@FaerieMUD.org>
523
+
524
+ * ext/pg_result.c:
525
+ Add some documentation to PG::Result#fnumber (fixes #139)
526
+ [b03c4641e58f]
527
+
528
+ 2012-08-12 Michael Granger <ged@FaerieMUD.org>
529
+
530
+ * History.rdoc, lib/pg.rb:
531
+ Bump the patch version, update history.
532
+ [ef533f731814]
533
+
534
+ 2012-08-08 Jeremy Evans <code@jeremyevans.net>
535
+
536
+ * ext/extconf.rb, ext/pg_result.c:
537
+ [PATCH] Recognize PGRES_SINGLE_TUPLE as OK when checking PGresult
538
+
539
+ From 10cdc23ac4e3cfc91488f3f8a7a44f3275c9fe0a Mon Sep 17 00:00:00
540
+ 2001 This is used for the new single row mode introduced in
541
+ 9.2beta3, and indicates a successful result when using that mode.
542
+ --- ext/extconf.rb | 1 + ext/pg_result.c | 3 +++ 2 files
543
+ changed, 4 insertions(+), 0 deletions(-)
544
+ [f92b6456c566]
545
+
546
+ 2012-08-10 Michael Granger <ged@FaerieMUD.org>
547
+
548
+ * ext/pg_result.c:
549
+ Apply the heap vs. stack fix for PG::Result#fields too.
550
+ [512a362e883e]
551
+
552
+ * ext/pg_result.c:
553
+ Additional fixes for PG::Result#values and #column_values.
554
+
555
+ - Revert the row-building loop of Result#values to use the heap,
556
+ too.
557
+ - Use the heap for building #column_values, too.
558
+
559
+ Props to Lars Kanis for figuring out the problem.
560
+
561
+ Refs #135, #136, #138.
562
+ [62c8ee5406db]
563
+
564
+ * ext/pg_result.c:
565
+ Use heap instead of stack for result array in #values, etc al. (refs
566
+ #135, #136, #138)
567
+ [4d5e457062e8]
568
+
569
+ 2012-08-04 Lars Kanis <kanis@comcard.de>
570
+
571
+ * spec/pg/connection_spec.rb:
572
+ Add missing require for using the TCPServer in connection_spec. This
573
+ fixes #137 .
574
+ [72b45840d975]
575
+
576
+ 2012-07-03 Lars Kanis <kanis@comcard.de>
577
+
578
+ * ext/pg_connection.c:
579
+ Add note about the usage scope of the result object received by the
580
+ #set_notice_receiver block.
581
+ [de900bfaff1a]
582
+
583
+ 2012-07-02 Lars Kanis <kanis@comcard.de>
584
+
585
+ * ext/pg_result.c:
586
+ Add PGRES_COPY_BOTH to documentation of PG::Result#result_status
587
+ [5e0e06440b1a]
588
+
589
+ 2012-06-23 Michael Granger <ged@FaerieMUD.org>
590
+
591
+ * .hgtags:
592
+ Added tag v0.14.0 for changeset 634e0a42a101
593
+ [35eecb26bd34]
594
+
595
+ * .hgsigs:
596
+ Added signature for changeset a45710f8db30
597
+ [634e0a42a101] [v0.14.0]
598
+
599
+ 2012-06-17 Lars Kanis <kanis@comcard.de>
600
+
601
+ * Rakefile.cross, ext/extconf.rb,
602
+ misc/postgresql-9.1.4.mingw-w64-support.patch:
603
+ Update windows cross compilation tasks to the latest
604
+ Openssl+Postgresql versions and the latest mingw-w64 compiler
605
+ [a45710f8db30]
606
+
607
+ * Rakefile:
608
+ Use RbConfig instead of obsolete and deprecated Config.
609
+ [d67cbb4310ac]
610
+
611
+ 2012-06-17 Michael Granger <ged@FaerieMUD.org>
612
+
613
+ * History.rdoc, ext/pg_connection.c, lib/pg.rb:
614
+ Bumped minor version, updated history.
615
+ [a3a3177b921c]
616
+
617
+ * .hoerc, ext/pg.h, ext/pg_connection.c, ext/pg_result.c,
618
+ spec/pg/result_spec.rb:
619
+ New method: PG::Result#check. (fixes #123)
620
+
621
+ This method exposes a previously internal-only function for checking
622
+ the status of a PG::Result, primarily for people using the async
623
+ interface. The check is done for you if you're using the synchronous
624
+ interface, but there was no way to get the same behavior for results
625
+ fetched via PG::Connection#get_result.
626
+
627
+ This change also adds the PG::Connection associated with a result as
628
+ an instance variable (@connection) on the PG::Result object.
629
+
630
+ Thanks to @royaltm for the idea.
631
+ [237cc4f69f63]
632
+
633
+ * ext/pg_connection.c, spec/pg/connection_spec.rb:
634
+ New method: PG::Connection#set_default_encoding (fixes #124)
635
+
636
+ This pulls up the code that sets the client_encoding in synchronous
637
+ connections into a public method that can be called by people using
638
+ the asynchronous API to achieve the same thing once the connection
639
+ is established.
640
+
641
+ Thanks to @royaltm for the suggestion.
642
+ [6680b395e6f4]
643
+
644
+ * Manifest.txt, sample/check_conn.rb:
645
+ Adding a minimal "connection-test function" example
646
+ [15bfcbe2bd5e]
647
+
648
+ * .rvm.gems:
649
+ Bump the hoe-deveiate version in the rvm gemset
650
+ [bc2ef3d461cd]
651
+
652
+ 2012-06-12 Mahlon E. Smith <mahlon@laika.com>
653
+
654
+ * sample/warehouse_partitions.rb:
655
+ Move indexes across tablespaces along with their parents. Remove
656
+ the 'parent table' option, as we can derive that automatically from
657
+ the pg_inherits table.
658
+ [be46f44349bf]
659
+
660
+ 2012-05-07 Michael Granger <ged@FaerieMUD.org>
661
+
662
+ * Rakefile, ext/pg.c, ext/pg_connection.c, ext/pg_result.c:
663
+ Documentation fixes.
664
+ [a965926418dd]
665
+
666
+ 2012-04-23 Michael Granger <ged@FaerieMUD.org>
667
+
668
+ * Manifest.txt:
669
+ Adding Mahlon's samples to the manifest.
670
+ [997c3a247f44]
671
+
672
+ * .rvm.gems, Rakefile:
673
+ Updated dev dependencies
674
+ [cc07b81eaf18]
675
+
676
+ 2012-04-17 Mahlon E. Smith <mahlon@laika.com>
677
+
678
+ * sample/disk_usage_report.rb, sample/minimal-testcase.rb,
679
+ sample/pg_statistics.rb, sample/replication_monitor.rb,
680
+ sample/wal_shipper.rb, sample/warehouse_partitions.rb:
681
+ Add a pile of additional sample scripts that perform various
682
+ administrative tasks.
683
+
684
+ These have all been fairly well battle-tested and are in production
685
+ use at $DAYJOB, though they were cleaned up for addition to the
686
+ Ruby-PG repo.
687
+
688
+ See the top comments in each script for additional information, or
689
+ the
690
+ --help flag on any of them for usage.
691
+
692
+ - disk_usage_report
693
+
694
+ Quick reporting on the heaviest disk consumers for a
695
+ database. Nice for cronned/email reporting.
696
+
697
+ - pg_statistics
698
+
699
+ Continuous polled statistics for a database.
700
+ Suitable for graphing with gnuplot (example
701
+ included.)
702
+
703
+ - replication_monitor
704
+
705
+ A command-line monitor for slave replication lag.
706
+ Works for both streaming replication and WAL
707
+ shipping. You should be able to use it as a base to
708
+ plug into your preferred monitoring system.
709
+
710
+ - wal_shipper
711
+
712
+ A smart WAL file transfer script, similar to
713
+ PITRTools.
714
+
715
+ - warehouse_partitions
716
+
717
+ An automated tablespace migrator for older, date-
718
+ based partitioned tables.
719
+ [36ca5b412583]
720
+
721
+ 2012-04-02 Michael Granger <ged@FaerieMUD.org>
722
+
723
+ * sample/issue-119.rb:
724
+ Add a sample from <<issue 119>>
725
+ [35d75de3f5a5]
726
+
727
+ 2012-03-26 Michael Granger <ged@FaerieMUD.org>
728
+
729
+ * sample/minimal-testcase.rb:
730
+ Adding a minimal-testcase sample
731
+ [87a8dadf1fdd]
732
+
733
+ 2012-03-10 Michael Granger <ged@faeriemud.org>
734
+
735
+ * ext/pg_result.c:
736
+ Merged in larskanis/ruby-pg (pull request #7)
737
+ [4050c3412bd7]
738
+
739
+ 2012-03-10 Lars Kanis <kanis@comcard.de>
740
+
741
+ * spec/pg/result_spec.rb:
742
+ Add checks with binary data for other PG::Result methods
743
+ [ef981c14a854]
744
+
745
+ * ext/pg_result.c:
746
+ Don't associate encoding with non-text-type fields in
747
+ PGresult#getvalue. This fixes #104 .
748
+ [9c90c50ca41a]
749
+
750
+ 2012-03-09 Michael Granger <ged@FaerieMUD.org>
751
+
752
+ * ext/pg_result.c:
753
+ Avoid use of uninitialized Arrays (fixes #47).
754
+
755
+ Instead of declaring an Array at the beginning of fetching results
756
+ and pushing values onto it to return at the end (which could result
757
+ in a segfault if the GC runs during a NEWOBJ.
758
+ [6cea3cea3b2b]
759
+
760
+ 2012-03-06 Michael Granger <ged@FaerieMUD.org>
761
+
762
+ * ext/pg.c, ext/pg_result.c:
763
+ Fix the guard for PGRES_COPY_BOTH.
764
+ [4053dfd600e8]
765
+
766
+ * ext/pg.c, ext/pg_connection.c, lib/pg/connection.rb,
767
+ spec/lib/helpers.rb, spec/pg/connection_spec.rb, spec/pg_spec.rb:
768
+ Factor some library-introspection methods up into the toplevel
769
+ namespace.
770
+
771
+ - PG::Connection.library_version -> PG.library_version
772
+ - PG::Connection.isthreadsafe -> PG.is_threadsafe? (with backward-
773
+ compat aliases)
774
+ - Split up examples by PG version metadata
775
+ [e24ff9f37b12]
776
+
777
+ * Rakefile:
778
+ Depend on RSpec 2.8 for example metadata
779
+ [c0b00fdff58a]
780
+
781
+ * ext/extconf.rb, ext/pg_result.c:
782
+ ifdef'ed PGRES_COPY_BOTH
783
+ [ad4f62c38edf]
784
+
785
+ 2012-03-06 Michael Granger <ged@faeriemud.org>
786
+
787
+ * Merged in krasul/ruby-pg/issue-68 (pull request #6)
788
+ [dedcce66d5e8]
789
+
790
+ 2012-03-05 Kashif Rasul <kashif@nomad-labs.com>
791
+
792
+ * ext/pg_connection.c, ext/pg_result.c, sample/async_api.rb:
793
+ Added logic for missing cases.
794
+ [ae9e73972844] <issue-68>
795
+
796
+ 2012-03-04 Kashif Rasul <kashif@nomad-labs.com>
797
+
798
+ * ext/extconf.rb, ext/pg.c, ext/pg_connection.c,
799
+ spec/pg/connection_spec.rb:
800
+ Added server ping() API.
801
+ [fec045ed060d] <issue-68>
802
+
803
+ 2012-03-02 Kashif Rasul <kashif@nomad-labs.com>
804
+
805
+ * ext/extconf.rb, ext/pg_connection.c:
806
+ Added library_version() as a singleton method. Removed non-
807
+ singletons.
808
+ [f82d969cc755] <issue-68>
809
+
810
+ * ext/pg_connection.c:
811
+ Added missing #def to rb_define_method() calls.
812
+ [fd22651ae6c5] <issue-68>
813
+
814
+ * ext/pg_connection.c, spec/pg/connection_spec.rb,
815
+ spec/pg/result_spec.rb:
816
+ Added spec for escape_literal().
817
+ [1ce12f2fe97c] <issue-68>
818
+
819
+ * ext/pg_connection.c:
820
+ Removed unused variable.
821
+ [3b52e0e0d421] <issue-68>
822
+
823
+ * ext/extconf.rb, ext/pg_connection.c, spec/pg/connection_spec.rb:
824
+ Added PGconn#escape_literal and PGconn#escape_identifier API and a
825
+ spec to test for keepalive connection parameters.
826
+ [3bdbb90eb13b] <issue-68>
827
+
828
+ 2012-02-22 Michael Granger <ged@FaerieMUD.org>
829
+
830
+ * .hgtags:
831
+ Added tag v0.13.2 for changeset c79cd308363d
832
+ [d8e73919acb6]
833
+
834
+ * .hgsigs:
835
+ Added signature for changeset 41e071bdd6ed
836
+ [c79cd308363d] [v0.13.2]
837
+
838
+ * History.rdoc, lib/pg.rb:
839
+ Bumped patch version, updated history.
840
+ [41e071bdd6ed]
841
+
842
+ * ext/extconf.rb:
843
+ Abort early if libpq is too old.
844
+ [fa5f8e1d7c19]
845
+
846
+ * .rvmrc:
847
+ Updated rvmrc
848
+ [dbd04c449eea]
849
+
850
+ 2012-02-12 Michael Granger <ged@FaerieMUD.org>
851
+
852
+ * .hgtags:
853
+ Added tag v0.13.1 for changeset 9e60b2c477cd
854
+ [f20d1b488312]
855
+
856
+ * .hgsigs:
857
+ Added signature for changeset 1ba641824000
858
+ [9e60b2c477cd] [v0.13.1]
859
+
860
+ * .hoerc, History.rdoc, Manifest.txt, lib/pg.rb:
861
+ Bumped patch version, updated History, Manifest.
862
+ [1ba641824000]
863
+
864
+ * ext/pg_connection.c, spec/pg/connection_spec.rb:
865
+ Raise a rescue-able exception when a connection is used after it's
866
+ been closed. (fixes #110)
867
+ [679b1db2b430]
868
+
869
+ 2012-02-11 Lars Kanis <kanis@comcard.de>
870
+
871
+ * Rakefile:
872
+ allow overriding of RUBY_CC_VERSION
873
+ [a9b8576bb35c]
874
+
875
+ * Rakefile.cross:
876
+ update Postgresql download URL for cross compilation
877
+ [216d08f2bc92]
878
+
879
+ 2012-02-09 Michael Granger <ged@FaerieMUD.org>
880
+
881
+ * misc/postgres/README.txt, misc/postgres/lib/postgres.rb:
882
+ Fix the Google group email and bump the patch version
883
+ [64aa4a38059e]
884
+
885
+ * .hgignore, misc/postgres/History.txt, misc/postgres/Manifest.txt,
886
+ misc/postgres/README.txt, misc/postgres/Rakefile,
887
+ misc/postgres/lib/postgres.rb:
888
+ Add a stub gem build for the deprecated 'postgres' gem
889
+ [62271bf75eac]
890
+
891
+ * .hgignore, misc/ruby-pg/History.txt, misc/ruby-pg/Manifest.txt, misc
892
+ /ruby-pg/README.txt, misc/ruby-pg/Rakefile, misc/ruby-
893
+ pg/lib/ruby/pg.rb:
894
+ Add a stub gem build for the deprecated 'ruby-pg' gem
895
+ [b7521150de9d]
896
+
897
+ * BSDL:
898
+ Add missing BSDL license file (fixes #108)
899
+ [4d629ff60589]
900
+
901
+ * History.rdoc:
902
+ Add the missing date to the History file
903
+ [29de189a4581]
904
+
905
+ * .hgtags:
906
+ Added tag v0.13.0 for changeset 7b2da7e0815c
907
+ [150ea5f80ee4]
908
+
909
+ * .hgsigs:
910
+ Added signature for changeset 9c262b875047
911
+ [7b2da7e0815c] [v0.13.0]
912
+
913
+ 2012-01-28 Michael Granger <ged@FaerieMUD.org>
914
+
915
+ * .hgsigs:
916
+ Added signature for changeset 0e7f0c2451e5
917
+ [9c262b875047]
918
+
919
+ * ext/extconf.rb:
920
+ Backed out the addition of `pg_config --libs` to the linked
921
+ libraries
922
+ [0e7f0c2451e5]
923
+
924
+ 2012-01-27 Michael Granger <ged@FaerieMUD.org>
925
+
926
+ * Manifest.txt, README-OS_X.rdoc, README-Windows.rdoc, readme-
927
+ os_x.rdoc, readme-windows.rdoc:
928
+ More case-corrections
929
+ [5732b34d5769]
930
+
931
+ 2012-01-27 Michael Granger <ged@faeriemud.org>
932
+
933
+ * postgres:
934
+ Merged in larskanis/ruby-pg (pull request #5)
935
+ [ad3e4338ad35]
936
+
937
+ 2012-01-27 Lars Kanis <kanis@comcard.de>
938
+
939
+ * Manifest.txt, POSTGRES, Rakefile, ext/extconf.rb, ext/pg.h,
940
+ postgres:
941
+ fix cross compilation of win32 binary gem, fix mixed case file
942
+ naming
943
+ [17151d677ad7]
944
+
945
+ 2012-01-26 Michael Granger <ged@FaerieMUD.org>
946
+
947
+ * .hgsigs:
948
+ Added signature for changeset b67309d3ccf2
949
+ [8f5629b33d76]
950
+
951
+ * .rvmrc, ext/pg_connection.c, spec/pg/connection_spec.rb:
952
+ Fix for Ruby 1.8, removed accidentally-committed encoding-testing
953
+ method.
954
+ [b67309d3ccf2]
955
+
956
+ 2012-01-24 Michael Granger <ged@FaerieMUD.org>
957
+
958
+ * History.rdoc, Manifest.txt, README.rdoc, Rakefile, lib/pg.rb:
959
+ Updated the History file, Manifest, README, added missing require.
960
+ [b2cd37832d02]
961
+
962
+ * .rvm.gems:
963
+ Removed rspec 2.8.1 -- not yet released, and 2.8.0 is now pulled in
964
+ via hoe-deveiate
965
+ [a4494f18a0d3]
966
+
967
+ * lib/pg/constants.rb:
968
+ Whitespace cleanup
969
+ [e1b146cd9c2f]
970
+
971
+ * sample/async_api.rb, sample/notify_wait.rb, sample/psql.rb,
972
+ sample/psqlHelp.rb, sample/test1.rb, sample/test2.rb,
973
+ sample/test4.rb, sample/test_binary_values.rb:
974
+ Cleaned up the sample/ directory
975
+ [287c71f3c89e]
976
+
977
+ * .rvm.gems:
978
+ Bump hoe-deveiate version in the rvm gemset
979
+ [59d4530b4e43]
980
+
981
+ * .rvm.gems, BSD, Contributors.rdoc, GPL, LICENSE, Manifest.txt,
982
+ README.OS_X.rdoc, README.ja.rdoc, README.rdoc, README.windows.rdoc,
983
+ Rakefile, postgres, readme-os_x.rdoc, readme-windows.rdoc:
984
+ Updated/simplified authors/license sections of the README, API doc
985
+ cleanup, updated license files (fixes #72).
986
+ [29a15971cd3a]
987
+
988
+ * ext/pg.c, ext/pg_connection.c, ext/pg_result.c, spec/lib/helpers.rb,
989
+ spec/pg/connection_spec.rb:
990
+ Fix for exception message encoding (#96)
991
+ [1cdad2ce8993]
992
+
993
+ * .pryrc, .tm_properties, Manifest.txt, README.rdoc, ext/compat.c,
994
+ ext/compat.h, ext/extconf.rb, ext/pg.c, ext/pg.h,
995
+ ext/pg_connection.c, ext/pg_result.c, lib/pg.rb,
996
+ lib/pg/connection.rb, lib/pg/constants.rb, lib/pg/exceptions.rb,
997
+ lib/pg/result.rb, misc/openssl-pg-segfault.rb, sample/async_api.rb,
998
+ sample/async_copyto.rb, sample/async_mixed.rb, sample/copyfrom.rb,
999
+ sample/copyto.rb, sample/cursor.rb, sample/losample.rb,
1000
+ sample/notify_wait.rb, sample/psql.rb, sample/test1.rb,
1001
+ sample/test2.rb, sample/test4.rb, sample/test_binary_values.rb,
1002
+ spec/lib/helpers.rb, spec/m17n_spec.rb, spec/pg/connection_spec.rb,
1003
+ spec/pg/result_spec.rb, spec/pg_spec.rb, spec/pgconn_spec.rb,
1004
+ spec/pgresult_spec.rb:
1005
+ Rearranging classes under the PG namespace to be a better Ruby
1006
+ citizen
1007
+ [f346861fbb8b]
1008
+
1009
+ 2012-01-19 Michael Granger <ged@FaerieMUD.org>
1010
+
1011
+ * .hoerc, .rvm.gems, .rvmrc:
1012
+ Adding rvmrc and gemset
1013
+ [dca3d7464a00]
1014
+
1015
+ 2012-01-13 Michael Granger <ged@FaerieMUD.org>
1016
+
1017
+ * Manifest.txt, sample/async_mixed.rb:
1018
+ Adding an example of mixed synchronous/async API.
1019
+ [3ba256ccee89]
1020
+
1021
+ 2012-01-03 Michael Granger <ged@FaerieMUD.org>
1022
+
1023
+ * .hgtags:
1024
+ Added tag v0.12.2 for changeset 88bd78632f86
1025
+ [622bef3960c3]
1026
+
1027
+ * .hgsigs:
1028
+ Added signature for changeset f3dfdb6929b7
1029
+ [88bd78632f86] [v0.12.2]
1030
+
1031
+ * History.rdoc, ext/pg.c:
1032
+ Bump patch version for release.
1033
+ [f3dfdb6929b7]
1034
+
1035
+ * ext/pg.c, spec/m17n_spec.rb:
1036
+ Encode the messages of PGErrors with the encoding of the connection.
1037
+ (fixes #96)
1038
+ [b62c49d91eb2]
1039
+
1040
+ * History.rdoc:
1041
+ Updating history for Lars's patch
1042
+ [5daf0ca646d2]
1043
+
1044
+ * spec/m17n_spec.rb, spec/pgconn_spec.rb, spec/pgresult_spec.rb:
1045
+ Moved all the spec hooks to the top of the file
1046
+ [42671e5d4d67]
1047
+
1048
+ 2012-01-03 Michael Granger <ged@faeriemud.org>
1049
+
1050
+ * Merged in larskanis/ruby-pg (pull request #4)
1051
+ [8d88c47ccc9b]
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
+
1060
+ 2012-01-03 Michael Granger <ged@FaerieMUD.org>
1061
+
1062
+ * Merged with 6fc514ea2547
1063
+ [5ec3792d1cac]
1064
+
1065
+ 2011-12-27 Michael Granger <ged@FaerieMUD.org>
1066
+
1067
+ * History.rdoc:
1068
+ Updating history file with the st.h change
1069
+ [935f29411410]
1070
+
1071
+ 2012-01-02 Michael Granger <ged@FaerieMUD.org>
1072
+
1073
+ * .hgtags:
1074
+ Added tag v0.12.1 for changeset 21f84883e5c2
1075
+ [6fc514ea2547]
1076
+
1077
+ * .hgsigs:
1078
+ Added signature for changeset f72b14d349bf
1079
+ [21f84883e5c2] [v0.12.1]
1080
+
1081
+ 2011-12-27 Michael Granger <ged@FaerieMUD.org>
1082
+
1083
+ * Merged with f8d66e32b9a8
1084
+ [f72b14d349bf]
1085
+
1086
+ 2011-12-14 Michael Granger <ged@FaerieMUD.org>
1087
+
1088
+ * History.rdoc, ext/pg.c:
1089
+ Bumped patch version, updated History.
1090
+ [f8d66e32b9a8]
1091
+
1092
+ 2011-12-27 Michael Granger <ged@FaerieMUD.org>
1093
+
1094
+ * .tm_properties:
1095
+ Adding my TextMate2 project settings
1096
+ [daa6f202c54a]
1097
+
1098
+ * ext/extconf.rb, ext/pg.h:
1099
+ Explicitly include the st.h file for interpreters that need it
1100
+ (fixes #95)
1101
+ [448cccfe5bbb]
1102
+
1103
+ * Rakefile.cross:
1104
+ Allow native compiles without Mingw tools present
1105
+ [f15ac13b396b]
1106
+
1107
+ * Rakefile, Rakefile.cross:
1108
+ Whitespace consistency fixes
1109
+ [784c6c5cbea9]
1110
+
1111
+ 2011-12-14 Michael Granger <ged@FaerieMUD.org>
1112
+
1113
+ * Rakefile:
1114
+ Made rake-compiler a dev dependency. Thanks to eolamey@bitbucket and
1115
+ Jeremy Evans for pointing out that it isn't needed for gem
1116
+ installation. (Fixes #93)
1117
+ [af645318f239]
1118
+
1119
+ 2011-12-07 Michael Granger <ged@FaerieMUD.org>
1120
+
1121
+ * .hgtags:
1122
+ Added tag v0.12.0 for changeset b767401684d8
1123
+ [1060487e7621]
1124
+
1125
+ * .hgsigs:
1126
+ Added signature for changeset 19b551f972e2
1127
+ [b767401684d8] [v0.12.0]
1128
+
1129
+ * Contributors.rdoc, History.rdoc, Manifest.txt, README.rdoc:
1130
+ Updated some metadata files in preparation for release.
1131
+ [19b551f972e2]
1132
+
1133
+ 2011-10-31 Lars Kanis <kanis@comcard.de>
1134
+
1135
+ * README.windows.rdoc, Rakefile, Rakefile.cross:
1136
+ re-add mingw32 cross compilation tasks, updated to current
1137
+ pg,openssl,ruby versions
1138
+ [a8b505d430d0]
1139
+
1140
+ 2011-12-07 Michael Granger <ged@FaerieMUD.org>
1141
+
1142
+ * Rakefile:
1143
+ Fix for the 'clobber' rake task under 1.9.x.
1144
+ [c4952fd07cc0]
1145
+
1146
+ * .hgignore:
1147
+ Adding binary build dir to the ignorefile
1148
+ [12ae62d666cb]
1149
+
1150
+ 2011-12-05 Michael Granger <ged@FaerieMUD.org>
1151
+
1152
+ * Manifest.txt, Rakefile, ext/pg.c, spec/lib/helpers.rb,
1153
+ spec/pgconn_spec.rb, spec/pgresult_spec.rb:
1154
+ Fixes for PGresult#error_field
1155
+ - Return +nil+ for unset PQresultErrorField() results instead of a
1156
+ String wrapped around a NULL pointer
1157
+ - Rename PGresult#result_error_field -> #error_field and
1158
+ #result_error_message -> #error_message; aliases for backward
1159
+ compatibility
1160
+ - Add an example of how to COPY asynchronously
1161
+ - Make the 'clobber' task clobber the spec tmpdir
1162
+ - Log the command being run during test database setup/teardown
1163
+ [6cece559d01c]
1164
+
1165
+ 2011-11-28 Michael Granger <ged@FaerieMUD.org>
1166
+
1167
+ * sample/async_copyto.rb:
1168
+ Adding an example of how to use COPY asynchronously
1169
+ [9ebcdc3394fb]
1170
+
1171
+ * sample/copyto.rb, sample/cursor.rb:
1172
+ Fixing some comments
1173
+ [13cd5d7e1307]
1174
+
1175
+ 2011-10-31 Michael Granger <ged@FaerieMUD.org>
1176
+
1177
+ * Manifest.txt, ext/extconf.rb, ext/pg.c, spec/m17n_spec.rb:
1178
+ Encdb fix for Ruby 1.9.3-rc1; thanks to wishdev@bitbucket for the
1179
+ patch (fixes #88).
1180
+ [31ff2758248a]
1181
+
1182
+ 2011-10-10 Michael Granger <ged@FaerieMUD.org>
1183
+
1184
+ * sample/cursor.rb:
1185
+ Adding an example of using a cursor with PGconn#exec
1186
+ [0639e0040af1]
1187
+
1188
+ 2011-10-07 Michael Granger <ged@FaerieMUD.org>
1189
+
1190
+ * .hgignore, Contributors, Contributors.rdoc, History.md,
1191
+ History.rdoc, Manifest.txt, README.OS_X.md, README.OS_X.rdoc,
1192
+ README.ja.md, README.ja.rdoc, README.md, README.rdoc,
1193
+ README.windows.md, README.windows.rdoc, Rakefile, lib/pg.rb,
1194
+ misc/openssl-1.0.0a.mingw-nocapi.patch:
1195
+ Documentation update
1196
+ [d8eea3141983]
1197
+
1198
+ * ext/pg.c:
1199
+ Ensure values returned from #wait_for_notify are tainted and encoded
1200
+ [6d565a8c3670]
1201
+
1202
+ * .hgtags:
1203
+ Added tag v0.8.0 for changeset 7fbe4187e9e5
1204
+ [6f043966cbe4]
1205
+
1206
+ * .hgtags:
1207
+ Added tag v0.9.0 for changeset da726282493c
1208
+ [ee09cf2d34ee]
1209
+
1210
+ * ext/pg.c:
1211
+ Bumping minor version.
1212
+ [5acdaac61975]
1213
+
1214
+ * ext/pg.c, spec/pgconn_spec.rb:
1215
+ Make PGconn#wait_for_notify send nil as the payload argument if the
1216
+ NOTIFY didn't have one.
1217
+ [e47aa3bf402a]
1218
+
1219
+ * ext/pg.c, spec/pgconn_spec.rb:
1220
+ Making #wait_for_notify accept a nil argument for no timeout (Sequel
1221
+ support)
1222
+ [2d2e977241e4]
1223
+
1224
+ * sample/async_api.rb, sample/copyfrom.rb, sample/losample.rb,
1225
+ sample/psql.rb, sample/psqlHelp.rb, sample/test1.rb,
1226
+ sample/test2.rb, sample/test4.rb:
1227
+ Made all the samples executable
1228
+ [7bc74288b271]
1229
+
1230
+ * .gemtest, .hgsub, .hgsubstate, Contributors, History.md,
1231
+ Manifest.txt, README, README.OS_X, README.OS_X.md, README.ja,
1232
+ README.ja.md, README.md, README.windows, README.windows.md,
1233
+ Rakefile, Rakefile.local, doc/postgres.html, doc/postgres.jp.html,
1234
+ ext/extconf.rb, ext/mingw/Rakefile, ext/mingw/build.rake,
1235
+ project.yml:
1236
+ Converted to Hoe
1237
+ [30bd5229899d]
1238
+
1239
+ 2011-09-18 Michael Granger <ged@FaerieMUD.org>
1240
+
1241
+ * ext/pg.c:
1242
+ Handle errors while rb_thread_select()ing in PGconn#block. Thanks to
1243
+ Brian Weaver for the patch.
1244
+ [adb5bb3175a4]
1245
+
1246
+ 2011-10-06 Michael Granger <ged@FaerieMUD.org>
1247
+
1248
+ * ext/pg.c:
1249
+ Added docs for the payload argument to the block from
1250
+ PGconn#wait_for_notify
1251
+ [3623caf38391]
1252
+
1253
+ 2011-09-16 Michael Granger <ged@FaerieMUD.org>
1254
+
1255
+ * sample/copyto.rb:
1256
+ Added an example of PGconn#get_copy_data.
1257
+ [857ec5164f03]
1258
+
1259
+ 2011-09-01 Michael Granger <ged@FaerieMUD.org>
1260
+
1261
+ * misc/openssl-pg-segfault.rb:
1262
+ Adding a test file for duplicating the OpenSSL linking problem
1263
+ [a810901bff03]
1264
+
1265
+ 2011-07-31 cwgem <cwprogram@live.com>
1266
+
1267
+ * sample/test1.rb:
1268
+ Fixing an issue with out of data properties and constants in the
1269
+ sample file.
1270
+ [44b5f65d0abe]
1271
+
1272
+ 2011-06-17 Michael Granger <ged@FaerieMUD.org>
1273
+
1274
+ * ext/pg.c:
1275
+ Split out pgconn_block #ifdef madness into three functions; added
1276
+ error-checking that will hopefully help with #75
1277
+ [3d744d9776c3]
1278
+
1279
+ 2011-06-07 Michael Granger <ged@FaerieMUD.org>
1280
+
1281
+ * ext/pg.c:
1282
+ Fix #ifdef for Ruby 1.9.2 under non-windows platform.
1283
+ [88f7f11fe764]
1284
+
1285
+ * ext/pg.c:
1286
+ Merged Rafał Bigaj's fixes for Win32 async queries
1287
+ [315a497006a3]
1288
+
1289
+ 2011-05-13 rafal <rafal@Bonifacy.intranet>
1290
+
1291
+ * ext/pg.c:
1292
+ Memory leak fixed: Closing opened WSA event.
1293
+ [2bc78e46c1b6]
1294
+
1295
+ 2011-05-04 rafal <rafal@Bonifacy.intranet>
1296
+
1297
+ * ext/pg.c:
1298
+ Fixes for #66 Win32 asynchronous queries hang on connection error.
1299
+ Using Winsock events and rb_w32_wait_events() on WIN32 and Ruby 1.9
1300
+ instead of rb_thread_select().
1301
+ [fc4109b2ddba]
1302
+
1303
+ 2011-04-14 rafal <rafal@Bonifacy.intranet>
1304
+
1305
+ * ext/pg.c:
1306
+ Fixes #66 Win32 asynchronous queries hang on connection error
1307
+ [17a6a01c1725]
1308
+
1309
+ 2011-05-30 Michael Granger <ged@FaerieMUD.org>
1310
+
1311
+ * spec/m17n_spec.rb, spec/pgconn_spec.rb, spec/pgresult_spec.rb:
1312
+ Fixed executable name in spec shebangs (refs #74)
1313
+ [70bf05114369]
1314
+
1315
+ 2011-05-18 Michael Granger <ged@FaerieMUD.org>
1316
+
1317
+ * sample/async_api.rb:
1318
+ Added a few more comments to the results part of the async example
1319
+ [b5361e087db3]
1320
+
1321
+ * sample/async_api.rb:
1322
+ Adding an asynchronous API example
1323
+ [cf4c3a05a380]
1324
+
1325
+ * ext/pg.c:
1326
+ Fixed a typo in PGconn#error_message's documentation
1327
+ [34fc8e167542]
1328
+
1329
+ 2011-05-04 Michael Granger <ged@FaerieMUD.org>
1330
+
1331
+ * ext/extconf.rb:
1332
+ Quote the path to pg_config, since now we're using backticks instead
1333
+ of pipe+exec. Closes #65.
1334
+ [3ec32bb496b9]
1335
+
1336
+ 2011-04-22 Aaron Patterson <aaron.patterson@gmail.com>
1337
+
1338
+ * lib/pg.rb:
1339
+ fixing unused variable warnings for ruby 1.9.3
1340
+ [37d40754ae58]
1341
+
1342
+ 2011-04-18 Michael Granger <ged@FaerieMUD.org>
1343
+
1344
+ * .hgtags:
1345
+ Added tag v0.11.0 for changeset 3cb8e57c6c80
1346
+ [9e8896275efa]
1347
+
1348
+ * .hgsigs:
1349
+ Added signature for changeset 24aa7899c696
1350
+ [3cb8e57c6c80] [v0.11.0]
1351
+
1352
+ * ext/pg.c, lib/pg.rb, spec/pgconn_spec.rb:
1353
+ Move connection-parameter parsing into Ruby, and make option-
1354
+ handling more flexible. No longer segfaults on no-option, <7-option
1355
+ array, and other combinations of arguments to ::connect and
1356
+ ::connect_start. Fixes #67.
1357
+ [24aa7899c696]
1358
+
1359
+ 2011-03-30 Michael Granger <ged@FaerieMUD.org>
1360
+
1361
+ * Automated merge with ssh://bitbucket.org/larskanis/ruby-pg
1362
+ [b477174160c8]
1363
+
1364
+ 2011-03-15 Lars Kanis <kanis@comcard.de>
1365
+
1366
+ * README.windows, Rakefile.local:
1367
+ Update cross compilation tasks to use Ruby 1.8.7 instead of 1.8.6,
1368
+ since pg.gem requires at least 1.8.7 to get installed
1369
+ [cc3a7476465c]
1370
+
1371
+ 2011-03-12 Lars Kanis <kanis@comcard.de>
1372
+
1373
+ * README.windows:
1374
+ Update readme for cross compile
1375
+ [b90f74cb11a5]
1376
+
1377
+ * Rakefile.local:
1378
+ Use RUBY_CC_VERSION from command line, if set
1379
+ [780650f201e3]
1380
+
1381
+ 2011-03-11 Lars Kanis <kanis@comcard.de>
1382
+
1383
+ * Rakefile.local:
1384
+ update PG and OpenSSL version for cross compile
1385
+ [31089d6c9dde]
1386
+
1387
+ * Rakefile.local:
1388
+ always run "make libpq.a" for cross compilation
1389
+ [dfe3e7c1ea27]
1390
+
1391
+ * Rakefile.local, ext/extconf.rb:
1392
+ re-add required libs for cross compilation add ws2_32.dll because
1393
+ libpq of PostgreSQL 9.0 makes use of it to determine host IP
1394
+ addresses
1395
+ [06e17573b133]
1396
+
1397
+ 2011-03-30 Michael Granger <ged@FaerieMUD.org>
1398
+
1399
+ * ext/pg.c:
1400
+ Comment the WIN32 console FD stuff so I remember what it does.
1401
+ [56098b479a23]
1402
+
1403
+ 2011-02-23 Michael Granger <ged@FaerieMUD.org>
1404
+
1405
+ * ext/pg.c:
1406
+ Whitespace/line-ending fixes
1407
+ [1baa7a8e673e]
1408
+
1409
+ * ext/pg.c:
1410
+ Merged with 1c3a1ca9f0cd
1411
+ [fb7d22101adf]
1412
+
1413
+ 2011-01-22 Greg Hazel <ghazel@gmail.com>
1414
+
1415
+ * ext/pg.c:
1416
+ for windows support, duplicate the sockets from libpq and create
1417
+ temporary CRT fds
1418
+ [1c3a1ca9f0cd]
1419
+
1420
+ 2011-01-22 Michael Granger <ged@FaerieMUD.org>
1421
+
1422
+ * Pulling fixes for Windows from ghazel on Github
1423
+ [c3f163bf1ecd]
1424
+
1425
+ 2011-02-10 Michael Granger <ged@FaerieMUD.org>
1426
+
1427
+ * ext/pg.c:
1428
+ Bump minor version.
1429
+ [18f413081e0c]
1430
+
1431
+ 2011-01-31 Michael Granger <ged@FaerieMUD.org>
1432
+
1433
+ * Contributors, ext/pg.c, spec/pgresult_spec.rb:
1434
+ Reformatting fixes for PGresult#[] and PGresult#values
1435
+ [739692aa8dd1]
1436
+
1437
+ 2011-01-31 Jason Yanowitz <me-bitbucket@jasonyanowitz.com>
1438
+
1439
+ * ext/pg.c, spec/pgresult_spec.rb:
1440
+ added PGresult#values to get an array of arrays
1441
+ [59679aee98ee]
1442
+
1443
+ 2011-01-19 Michael Granger <ged@FaerieMUD.org>
1444
+
1445
+ * .hgtags:
1446
+ Added tag v0.10.1 for changeset de10b5d8e442
1447
+ [8ab3dd3c757b]
1448
+
1449
+ * .hgsigs:
1450
+ Added signature for changeset 230ea3e68db2
1451
+ [de10b5d8e442] [v0.10.1]
1452
+
1453
+ * ext/pg.h:
1454
+ Add an include guard for pg.h
1455
+ [230ea3e68db2]
1456
+
1457
+ * lib/pg.rb:
1458
+ Simplify the common case require of the ext
1459
+ [f877d2d399cc]
1460
+
1461
+ * ext/compat.h:
1462
+ Include the extconf header
1463
+ [8e1707a90330]
1464
+
1465
+ 2010-12-06 Michael Granger <ged@FaerieMUD.org>
1466
+
1467
+ * ext/extconf.rb:
1468
+ Experimenting with a greatly-simplified extconf, since the complex
1469
+ one isn't solving any problems
1470
+ [89348c8bb6d1]
1471
+
1472
+ * ext/pg.c:
1473
+ Bumping version to 0.10.1.
1474
+ [aea173eec98a]
1475
+
1476
+ * ext/extconf.rb, ext/pg.c:
1477
+ Fixing compatibility with versions of PostgreSQL without
1478
+ PQgetCancel. (fixes #36)
1479
+ [d61e3310ea3d]
1480
+
1481
+ * .hgsubstate, lib/pg.rb:
1482
+ Fix require for natively-compiled extension under Windows. (fixes
1483
+ #55)
1484
+ [89979f184b22]
1485
+
1486
+ * ext/pg.c, spec/pgconn_spec.rb:
1487
+ Change rb_yield_splat() to rb_yield_values() for compatibility with
1488
+ Rubinius. (fixes #54)
1489
+ [9e11be78bfe4]
1490
+
1491
+ 2010-12-01 Michael Granger <ged@FaerieMUD.org>
1492
+
1493
+ * .hgtags:
1494
+ Removed tag 0.10.0
1495
+ [eb0d4b1df418]
1496
+
1497
+ * .hgtags:
1498
+ Added tag v0.10.0 for changeset 1822a169c4fe
1499
+ [78a63dce1491]
1500
+
1501
+ * spec/pgconn_spec.rb:
1502
+ Fix deprecated expectation.
1503
+ [469211f606ea]
1504
+
1505
+ * .hgpatchinfo/pg90_notify_payload.dep,
1506
+ .hgpatchinfo/pg90_notify_payload.desc:
1507
+ Merged in Mahlon's wait_for_notify update for PostgreSQL 9's
1508
+ notification payload
1509
+ [857722663a6f]
1510
+
1511
+ * Closing pg90_notify_payload pbranch for merge into default
1512
+ [8ffb67a23f45] <pg90_notify_payload>
1513
+
1514
+ * ext/pg.c, spec/pgconn_spec.rb:
1515
+ Finished the merge of default; fixed specs under 1.9.2.
1516
+ [de86dca00ad2] <pg90_notify_payload>
1517
+
1518
+ * .hgpatchinfo/pg90_notify_payload.dep, ext/extconf.rb, ext/pg.c,
1519
+ spec/lib/helpers.rb, spec/pgconn_spec.rb:
1520
+ merge of default
1521
+ [60664b2495cf] <pg90_notify_payload>
1522
+
1523
+ * .hgtags:
1524
+ Added tag 0.10.0 for changeset 1822a169c4fe
1525
+ [148d0cc3db4a]
1526
+
1527
+ * .hgsigs:
1528
+ Added signature for changeset 3993015a841e
1529
+ [1822a169c4fe] [v0.10.0]
1530
+
1531
+ * .hgignore, Rakefile.local:
1532
+ Ignore the yard cache, handle missing rake-compiler for non-compile-
1533
+ related tasks.
1534
+ [3993015a841e]
1535
+
1536
+ 2010-11-11 Michael Granger <ged@FaerieMUD.org>
1537
+
1538
+ * .hgsubstate, Rakefile, ext/pg.c, project.yml:
1539
+ Build/gem updates
1540
+ * Updated the build system with Rubygems suggestions from RubyConf
1541
+ 2010
1542
+ * Bumped version to 0.10.0 to follow the Semantic Versioning spec
1543
+ (http://semver.org/)
1544
+ [71786704391b]
1545
+
1546
+ * README, spec/pgconn_spec.rb:
1547
+ Added a spec for collapsed notifications.
1548
+ [899329ce1b4e]
1549
+
1550
+ 2010-11-01 Michael Granger <ged@FaerieMUD.org>
1551
+
1552
+ * Rakefile.local, ext/extconf.rb:
1553
+ More work trying to get the Windows-native gem to compile. No luck,
1554
+ but it's closer.
1555
+ * Revert the 1.8 build back to 1.8.6 on the advice of Louis Lavena's
1556
+ blog: http://bit.ly/bFs4hj
1557
+ * Undo the ARCHLIBDIR change
1558
+ * Don't depend on the static-build option for the cross-compilation
1559
+ section of extconf.rb to facilitate easy testing while the static
1560
+ build parts are commented out.
1561
+ [413f9e81e3ea]
1562
+
1563
+ 2010-10-31 Michael Granger <ged@FaerieMUD.org>
1564
+
1565
+ * ext/compat.c, ext/pg.c, spec/lib/helpers.rb, spec/m17n_spec.rb,
1566
+ spec/pgconn_spec.rb:
1567
+ Fixed issue with PGconn#wait_for_notify that caused it to miss
1568
+ notifications that happened after the LISTEN but before the
1569
+ wait_for_notify.
1570
+ [3402babf2cdf]
1571
+
1572
+ 2010-10-29 Michael Granger <ged@FaerieMUD.org>
1573
+
1574
+ * .hgsubstate, Rakefile, project.yml, spec/m17n_spec.rb,
1575
+ spec/pgconn_spec.rb, spec/pgresult_spec.rb:
1576
+ Updated to RSpec 2.0
1577
+ [9d8f82721f69]
1578
+
1579
+ 2010-10-11 Michael Granger <ged@FaerieMUD.org>
1580
+
1581
+ * Rakefile.local, ext/extconf.rb, misc/openssl-1.0.0a.mingw-
1582
+ nocapi.patch:
1583
+ Fixes for windows static build.
1584
+ * Disable capi engine in OpenSSL build until it's fixed
1585
+ (http://rt.openssl.org/Ticket/Display.html?id=1747)
1586
+ * Rearrange some stuff in Rakefile.local to make the logic more
1587
+ obvious
1588
+ [b2df89600d95]
1589
+
1590
+ 2010-10-08 Michael Granger <ged@FaerieMUD.org>
1591
+
1592
+ * ext/extconf.rb, ext/pg.c, spec/lib/helpers.rb, spec/pgconn_spec.rb:
1593
+ Added support for the payload of NOTIFY events (w/Mahlon E. Smith)
1594
+ [193043bf2244] <pg90_notify_payload>
1595
+
1596
+ * .hgpatchinfo/pg90_notify_payload.dep,
1597
+ .hgpatchinfo/pg90_notify_payload.desc:
1598
+ start new patch on default
1599
+ [ce9b893ff824] <pg90_notify_payload>
1600
+
1601
+ * Rakefile.local, ext/extconf.rb:
1602
+ Fixes to get the static windows build to work with PostgreSQL 9.0
1603
+ and OpenSSL 1.0.0a
1604
+ [49ff3442c2ee]
1605
+
1606
+ 2010-09-28 Michael Granger <ged@FaerieMUD.org>
1607
+
1608
+ * Rakefile.local:
1609
+ More work trying to get the native windows gem to compile under
1610
+ PostgreSQL 9.0
1611
+ [1fa5cd6851e3]
1612
+
1613
+ * sample/copyfrom.rb:
1614
+ Adding a sample of how to use COPY FROM
1615
+ [c9fb855a7d50]
1616
+
1617
+ 2010-09-24 Michael Granger <ged@FaerieMUD.org>
1618
+
1619
+ * .hgsubstate, Rakefile, Rakefile.local, project.yml,
1620
+ spec/m17n_spec.rb, spec/pgconn_spec.rb, spec/pgresult_spec.rb:
1621
+ Fixes for Ruby 1.9.2.
1622
+ [d85ff87e5949]
1623
+
1624
+ * Rakefile, ext/pg.c, lib/pg.rb, spec/lib/helpers.rb,
1625
+ spec/pgconn_spec.rb:
1626
+ Version bump, updates for PostgreSQL 9.
1627
+ * Bump version to 0.9.1.
1628
+ * Fixed the specs for JRuby (and other no-fork Ruby interpreters)
1629
+ [5dbc24f596c8]
1630
+
1631
+ 2010-08-03 Michael Granger <ged@FaerieMUD.org>
1632
+
1633
+ * .hgsubstate, Rakefile:
1634
+ Merged JRuby fix into the build system, pulled down other build-
1635
+ system updates. Thanks to timfel for the fix.
1636
+ [1f8dd92ca16c]
1637
+
1638
+ 2010-08-03 Tim Felgentreff <timfelgentreff@gmail.com>
1639
+
1640
+ * Rakefile:
1641
+ Fix to allow Rakefile to work on JRuby
1642
+ [4f705f605e51]
1643
+
1644
+ 2010-08-02 Michael Granger <ged@FaerieMUD.org>
1645
+
1646
+ * ext/pg.c, spec/m17n_spec.rb:
1647
+ Honor Ruby's default_internal encoding when connecting via the
1648
+ synchronous interface; fixes #33
1649
+ [92cc211ef553]
1650
+
1651
+ * ext/extconf.rb:
1652
+ Don't treat the installed pg_config not having archflags as an
1653
+ error; fixes #39
1654
+ [a2237e39d399]
1655
+
1656
+ * Rakefile.local, lib/pg.rb:
1657
+ Install extension under arch-specific directory (RPS fix)
1658
+ [14b882b7b88c]
1659
+
1660
+ 2010-07-26 Michael Granger <ged@FaerieMUD.org>
1661
+
1662
+ * .hgsub, .hgsubstate:
1663
+ Adding rake tasklibs as a sub-repo
1664
+ [b0a5ae858569]
1665
+
1666
+ 2010-07-21 Michael Granger <ged@FaerieMUD.org>
1667
+
1668
+ * spec/pgresult_spec.rb:
1669
+ Removed spec for issue #22, as the library is behaving the same as
1670
+ the underlying library; closes #22
1671
+ [37835e3b8701]
1672
+
1673
+ * Merged with 168:dfaa59767b2e
1674
+ [86f238c12fa3]
1675
+
1676
+ * spec/pgconn_spec.rb:
1677
+ Reworded an example's description and added a specific transaction-
1678
+ abort spec
1679
+ [dfaa59767b2e]
1680
+
1681
+ 2010-06-22 Michael Granger <ged@FaerieMUD.org>
1682
+
1683
+ * Rakefile.local:
1684
+ Merged with 170:5418a1d86d91
1685
+ [e756f8fb15d8]
1686
+
1687
+ * Rakefile.local, ext/pg.c, sample/test_binary_values.rb:
1688
+ Adding example of invalid binary data issue (refs #22), fixing
1689
+ EXT_SO path
1690
+ [8922f0a8ee44]
1691
+
1692
+ 2010-02-25 Michael Granger <ged@FaerieMUD.org>
1693
+
1694
+ * spec/pgresult_spec.rb:
1695
+ Adding a spec to test bug #12
1696
+ [cb92aa4b6599]
1697
+
1698
+ * project.yml:
1699
+ Adding rake-compiler to the dev dependencies
1700
+ [86026f5ecf70]
1701
+
1702
+ 2010-06-22 Michael Granger <ged@FaerieMUD.org>
1703
+
1704
+ * Rakefile.local, ext/extconf.rb:
1705
+ Cross-compile tasks cleanup, extconf diagnostic improvement.
1706
+ * Cleaned up the cross-compilation task, factored stuff up into
1707
+ constants, used pure-ruby download, untar, etc.
1708
+ * Improved diagnostics of failed extconf runs (refs #32, #24)
1709
+ [5418a1d86d91]
1710
+
1711
+ * .hgignore:
1712
+ Adding some more stuff to the ignorefile
1713
+ [07502a793f3a]
1714
+
1715
+ * sample/losample.rb:
1716
+ Modified the large-object sample script to reflect the pg library's
1717
+ API (refs #35)
1718
+ [873867122e80]
1719
+
1720
+ 2010-06-21 Michael Granger <ged@FaerieMUD.org>
1721
+
1722
+ * .hgignore, Rakefile:
1723
+ Updating build system, adding .orig files to ignore list.
1724
+ [ea6eae59e917]
1725
+
1726
+ 2010-06-14 Michael Granger <ged@FaerieMUD.org>
1727
+
1728
+ * spec/m17n_spec.rb:
1729
+ Whitespace fix
1730
+ [bb8a3baad96e]
1731
+
1732
+ 2010-05-26 Michael Granger <ged@FaerieMUD.org>
1733
+
1734
+ * ext/extconf.rb:
1735
+ Actually, just use the cflags from pg_config, which should resolve
1736
+ both the -Wall and the -lsocket issue (refs #30)
1737
+ [45e6518b780d]
1738
+
1739
+ * ext/extconf.rb:
1740
+ Fixing compilation for non-GCC platforms (fixes #30)
1741
+ [730fb885ce08]
1742
+
1743
+ 2010-03-16 Michael Granger <ged@FaerieMUD.org>
1744
+
1745
+ * ext/extconf.rb:
1746
+ Fixed typo in ext/extconf.rb -- thanks to Keith Cascio for spotting
1747
+ this. Closes #27.
1748
+ [a47ffe890970]
1749
+
1750
+ 2010-02-28 Michael Granger <ged@FaerieMUD.org>
1751
+
1752
+ * .hgtags:
1753
+ Added tag 0.9.0 for changeset da726282493c
1754
+ [9a296096f7e9]
1755
+
1756
+ * .hgsigs:
1757
+ Added signature for changeset 872063e42b12
1758
+ [da726282493c] [0.9.0, v0.9.0]
1759
+
1760
+ 2010-02-19 Michael Granger <ged@FaerieMUD.org>
1761
+
1762
+ * Rakefile.local, ext/extconf.rb, ext/pg.c, ext/pg.h, lib/pg.rb:
1763
+ Adding "fat gem" compatible loader, set the default RUBY_CC_VERSION.
1764
+ [872063e42b12]
1765
+
1766
+ * Rakefile, Rakefile.local:
1767
+ Updated the Rakefile so it includes itself in gems. (closes #15)
1768
+ Thanks to flameeyes@bitbucket for noticing this.
1769
+ [ab525ca90531]
1770
+
1771
+ 2010-02-18 Michael Granger <ged@FaerieMUD.org>
1772
+
1773
+ * ext/pg.c, spec/pgconn_spec.rb:
1774
+ Applied patch for PGconn#async_exec to make it have the same
1775
+ semantics as PGconn#exec (closes #19). Thanks again to Lars Kanis
1776
+ for the patch.
1777
+ [9c65eb905416]
1778
+
1779
+ 2010-02-17 Michael Granger <ged@FaerieMUD.org>
1780
+
1781
+ * Rakefile:
1782
+ Updated the Rakefile to always default the package version even if a
1783
+ version can't be read from the VERSION_FILE.
1784
+ [b0017ac0ecb5]
1785
+
1786
+ * spec/lib/helpers.rb:
1787
+ Improving spec database setup function (closes #18). Thanks to Lars
1788
+ Kanis for another fine patch.
1789
+ [c7d5458af696]
1790
+
1791
+ * spec/m17n_spec.rb:
1792
+ Ack! Removing typo
1793
+ [39b11474d035]
1794
+
1795
+ * spec/m17n_spec.rb:
1796
+ Adding a test to ensure the result encoding remains the same even
1797
+ when client_encoding in the connection changes.
1798
+ [9d54bbc98488]
1799
+
1800
+ 2010-01-18 Michael Granger <ged@FaerieMUD.org>
1801
+
1802
+ * ext/extconf.rb:
1803
+ Made the 'make_header' in the extconf more clear.
1804
+ [31afece7c203]
1805
+
1806
+ 2010-01-13 Jeff Davis <pgsql@j-davis.com>
1807
+
1808
+ * spec/pgconn_spec.rb:
1809
+ Merged
1810
+ [d9c920068712]
1811
+
1812
+ * spec/pgconn_spec.rb:
1813
+ In rspec tests, replace the pattern: CREATE TABLE ... INSERT ...
1814
+ SELECT ... with: VALUES ...
1815
+ [294eb6d5530b]
1816
+
1817
+ 2010-01-11 Michael Granger <ged@FaerieMUD.org>
1818
+
1819
+ * ext/extconf.rb, ext/pg.c, spec/pgconn_spec.rb:
1820
+ A better fix for the PGconn#block weirdness on Win32 (closes #16).
1821
+ * Replaced the WIN32 conditionals in PGconn#block with a much simpler
1822
+ solution.
1823
+ * Added a few specs to test PGconn#block based on Lars Kanis's
1824
+ proposed one.
1825
+
1826
+ Thanks to both Lars and Shun for all their help with this issue.
1827
+ [74fab32c2687]
1828
+
1829
+ 2010-01-06 Michael Granger <ged@FaerieMUD.org>
1830
+
1831
+ * README:
1832
+ Rearranged the sections of the README.
1833
+ [f8dfc1b6c51c]
1834
+
1835
+ 2010-01-05 Michael Granger <ged@FaerieMUD.org>
1836
+
1837
+ * README.OS_X:
1838
+ Updating MacOS X README.
1839
+ [0df792de2a19]
1840
+
1841
+ 2010-01-04 Michael Granger <ged@FaerieMUD.org>
1842
+
1843
+ * ext/pg.c:
1844
+ Work around broken rb_thread_select() on win32; thanks to Lars Kanis
1845
+ for the patch!
1846
+ [2894973bc63f]
1847
+
1848
+ * ext/pg.c, spec/pgresult_spec.rb:
1849
+ Reverted removal of PGresult::InvalidOid, fixed broken spec.
1850
+ [88dacdb9c97d]
1851
+
1852
+ * .hgignore, README, Rakefile, ext/pg.c, project.yml:
1853
+ Ignore some generated files, documentation work, removed type OID
1854
+ constants.
1855
+ * Updated the various READMEs with more up-to-date info.
1856
+ * Updated build system (rdoc fixes, packaged files)
1857
+ * Fixed some RDoc problems and formatting glitches
1858
+ * Removed the type OID constants from PGresult; I was including them
1859
+ so they could be used for comparison with PGresult#ftype return
1860
+ values. RhodiumToad on #postgresql@freenode showed me the
1861
+ format_type() SQL function, so I added an example of how to get
1862
+ the same information via that function instead, which is
1863
+ guaranteed to be correct even if src/include/catalog/pg_type.h
1864
+ changes.
1865
+ [739cec560448]
1866
+
1867
+ * README.windows, Rakefile.local, ext/extconf.rb:
1868
+ Applied patch for static cross-compilation of win32 gem from Lars
1869
+ Kanis with a few changes to support MacOS X as a host as well.
1870
+ Closes #13. Thanks Lars!
1871
+ [38a0d2a90664]
1872
+
1873
+ 2010-01-03 Michael Granger <ged@FaerieMUD.org>
1874
+
1875
+ * .irbrc, COPYING.txt, ChangeLog, MANIFEST, README, README.OS_X,
1876
+ Rakefile, Rakefile.local, ext/extconf.rb, ext/pg.h, ext_helper.rb:
1877
+ Updated build system
1878
+ * Backed out the experimental arch-specific subdir of lib
1879
+ * Removed second copy of GPL; one is more than enough.
1880
+ * Removed the ChangeLog -- this should be built on demand instead of
1881
+ checked in.
1882
+ * Removed the out-of-date and now-superfluous MANIFEST
1883
+ * Started updating the remaining documentation to reflect the current
1884
+ state of the library/build instructions/people.
1885
+ * Pass options to 'rake' through to extconf.rb, allowing 'rake --
1886
+ --with-pg-dir=/path/to/pg'
1887
+ * Updated the handling of compilation on MacOS X to use the
1888
+ architectures common to both libpq and Ruby.
1889
+ * Use an extconf.h for configuration
1890
+ * Removed the now-unused ext_helper.rb
1891
+
1892
+ Still more work to be done, but I'm checkpointing this so it's not
1893
+ too huge.
1894
+ [f31202539234]
1895
+
1896
+ 2010-01-02 Michael Granger <ged@FaerieMUD.org>
1897
+
1898
+ * .hgtags:
1899
+ Added tag 0.8.0 for changeset 7fbe4187e9e5
1900
+ [cc09390cb0a8]
1901
+
1902
+ 2009-12-31 Michael Granger <ged@FaerieMUD.org>
1903
+
1904
+ * Closing branch
1905
+ [d5fa3e079a55] <i17n-19-patches>
1906
+
1907
+ * ext/pg.c:
1908
+ Bumped version to 0.9.0
1909
+ [05834d47aac3]
1910
+
1911
+ * ext/mkrf_config.rb:
1912
+ Merged i17n-19-patches branch
1913
+ [0997a0aa7624]
1914
+
1915
+ 2009-12-28 Michael Granger <ged@FaerieMUD.org>
1916
+
1917
+ * .hgignore, ext/pg.c, spec/pgconn_spec.rb:
1918
+ Make PGconn.connect_start use PQconnectStart instead of PQconnectdb
1919
+ so asynchronous connection works. Fixes #14; thanks to 'ibc'
1920
+ @bitbucket for submitting the test case that brought this to my
1921
+ attention.
1922
+ [f5af71167dea] <i17n-19-patches>
1923
+
1924
+ * ext/pg.c, spec/pgconn_spec.rb:
1925
+ Added column-selection methods to PGresult (#field_values and
1926
+ #column_values). Closes #12. Thanks to Sugano Yoshihisa for the
1927
+ patch on which these methods were based.
1928
+ [42919e2a4ef8] <i17n-19-patches>
1929
+
1930
+ 2009-12-23 Michael Granger <ged@FaerieMUD.org>
1931
+
1932
+ * ext/pg.c, spec/pgconn_spec.rb:
1933
+ Fixed #11: encrypt_arguments doesn't receive password, thanks to
1934
+ Yuki Miyauchi for the patch.
1935
+ [39fdb2552163] <i17n-19-patches>
1936
+
1937
+ * .hgignore, ext/pg.c, spec/pgconn_spec.rb:
1938
+ Fixed infinite loop in async_exec("COPY"), thanks to Mike Pomraning
1939
+ for the patch. Closes #9.
1940
+ [df770b6ad237] <i17n-19-patches>
1941
+
1942
+ 2009-12-16 Michael Granger <ged@FaerieMUD.org>
1943
+
1944
+ * .hgignore, Contributors, Rakefile, Rakefile.local, ext/extconf.rb,
1945
+ ext/pg.c, project.yml, spec/m17n_spec.rb, spec/pgconn_spec.rb,
1946
+ spec/pgresult_spec.rb:
1947
+ New build system, build with rake-compiler, added PGconn::VERSION.
1948
+ * Replaced the existing Rakefile with a small core set of tasks and
1949
+ task libraries under rake/.
1950
+ * Added a PGconn::VERSION constant (closes #4).
1951
+ * Replaced the ARCHFLAGS warning under Darwin with code to duplicate
1952
+ the archflags Postgres was compiled with.
1953
+ [4cbcf197cb82] <i17n-19-patches>
1954
+
1955
+ 2009-12-15 Michael Granger <ged@FaerieMUD.org>
1956
+
1957
+ * Rakefile, ext/pg.c, spec/lib/helpers.rb, spec/pgconn_spec.rb:
1958
+ Applied Rubyforge patch 26282; fixes #1. Thanks to Nikolai Lugovoi
1959
+ for the patch.
1960
+ [6ba661bbdb28] <i17n-19-patches>
1961
+
1962
+ 2009-12-11 Michael Granger <ged@FaerieMUD.org>
1963
+
1964
+ * Rakefile, ext/pg.c, spec/lib/helpers.rb, spec/pgconn_spec.rb:
1965
+ Notify spec fixes, cleanup, Rakefile clean task adjustments.
1966
+ * Made PGconn#wait_for_notify do more error-checking to track down a
1967
+ problem with running it in transactions.
1968
+ * Moved PGconn#wait_for_notify source closer to PGconn#notifies
1969
+ * Split some stuff that used to get removed by 'clean' into the
1970
+ 'clobber' task instead.
1971
+ [3e42badc15de] <i17n-19-patches>
1972
+
1973
+ * .hgignore, spec/lib/helpers.rb, spec/pgconn_spec.rb:
1974
+ Simplified the spec for PGconn#notify, still segfaulting.
1975
+ [659d80221a45] <i17n-19-patches>
1976
+
1977
+ * Merged Mahlon's examples-directory patch from default.
1978
+ [26b614a7ece8] <i17n-19-patches>
1979
+
1980
+ * ext/pg.c, spec/pgconn_spec.rb:
1981
+ Merged Mahlon's notify patch from default.
1982
+ [66234afab283] <i17n-19-patches>
1983
+
1984
+ 2009-12-10 Mahlon E. Smith <mahlon@martini.nu>
1985
+
1986
+ * sample/notify_wait.rb:
1987
+ Add a sample (usage example) for wait_for_notify().
1988
+ [1e6349a799c3]
1989
+
1990
+ * ext/pg.c, sample/psql.rb, sample/psqlHelp.rb, spec/pgconn_spec.rb:
1991
+ * Small documentation fix for conn.notifies()
1992
+ * Add wait_for_notify(), a method to do a blocking select() for a
1993
+ NOTIFY event.
1994
+ [a3434e641f6a]
1995
+
1996
+ 2009-10-29 Michael Granger <ged@FaerieMUD.org>
1997
+
1998
+ * ext/mkrf_config.rb:
1999
+ Remove old mkrf config file to avoid confusion
2000
+ [59549227d7c3] <i17n-19-patches>
2001
+
2002
+ 2009-10-28 Michael Granger <ged@FaerieMUD.org>
2003
+
2004
+ * .hgignore, ext/pg.c, spec/pgresult_spec.rb:
2005
+ Write specs for and applied patch #26283; thanks to Nikolai Lugovoi.
2006
+ [f30139fb0587] <i17n-19-patches>
2007
+
2008
+ * .hgignore, spec/data/expected_trace.out, spec/m17n_spec.rb,
2009
+ spec/pgconn_spec.rb:
2010
+ Fixups after conversion to Mercurial, fixing tests broken by the
2011
+ changes in the previous commit.
2012
+ * Fixed differences in expected trace output caused by every test
2013
+ being wrapped in a transaction.
2014
+ * Fixed require-order bug in two of the specs
2015
+ * Corrected a mis-paste in the m17n spec before:all block
2016
+ [a41d4291ffbb] <i17n-19-patches>
2017
+
2018
+ * Rakefile, spec/lib/helpers.rb, spec/m17n_spec.rb,
2019
+ spec/pgconn_spec.rb, spec/pgresult_spec.rb:
2020
+ * Made spec output elide output from the command line by default,
2021
+ and log everything for diagnostics.
2022
+ * Factored out the database setup and teardown functions into helpers,
2023
+ added a collection of other helper functions for specs.
2024
+ * Added specs to cover behavior around Nikolai Lugovoi's patch
2025
+ (#26283) for PGresult#fmod, #ftable, and #ftablecol prior to
2026
+ applying it.
2027
+ [91ee1ac36a54] <i17n-19-patches>
2028
+
2029
+ 2009-10-17 Michael Granger <ged@FaerieMUD.org>
2030
+
2031
+ * .irbrc, Rakefile, ext/pg.c, ext/pg.h, spec/pgconn_spec.rb,
2032
+ spec/pgresult_spec.rb:
2033
+ Applied patch #26277; thanks to Nikolai Lugovoi.
2034
+ * fixed number of parameters in definition of PGresult#paramtype --
2035
+ expected 1 but was declared 0
2036
+ * minor consistency update for range checks of column/tuple indices
2037
+ * PGconn#lo_read : fixed to return string with length of really read
2038
+ data, not provided length
2039
+
2040
+ I also added:
2041
+ * Constants for paramtype Oids.
2042
+ * A couple of additional rake tasks
2043
+ * Append PQerrorMessage to some exception messages
2044
+ * Specs for the above patch
2045
+ [0b28f9bd8935] <i17n-19-patches>
2046
+
2047
+ 2009-10-16 Michael Granger <ged@FaerieMUD.org>
2048
+
2049
+ * Rakefile, ext/extconf.rb, ext/pg.c, ext/pg.h, spec/m17n_spec.rb,
2050
+ spec/pgconn_spec.rb, spec/pgresult_spec.rb:
2051
+ Build and warnings cleanup.
2052
+ * Added a :default task
2053
+ * Made spec execution quieter
2054
+ * Silenced warning about 'dup()' by including unistd.h if we have it.
2055
+ * Silenced warnings about generated exception messages by adding a
2056
+ format.
2057
+ [cb5335861c5d] <i17n-19-patches>
2058
+
2059
+ 2009-08-28 Michael Granger <ged@FaerieMUD.org>
2060
+
2061
+ * ext/pg.c, spec/m17n_spec.rb:
2062
+ Applied patch #26116; thanks to Nikolai Lugovoi.
2063
+ * apply client encoding to result of @conn.escape(string)
2064
+ * set ASCII_8BIT for results returned in binary format
2065
+ * fixed memory leak on exception in @conn.escape(string) for truncated
2066
+ multibyte
2067
+ [1d001b550715] <i17n-19-patches>
2068
+
2069
+ * ext/pg.c, spec/m17n_spec.rb, spec/pgconn_spec.rb,
2070
+ spec/pgresult_spec.rb:
2071
+ * Use pg_ctl -w instead of sleep for specs
2072
+ * Fix up the specs to use #external_encoding, #internal_encoding,
2073
+ and #internal_encoding=
2074
+ * Added a pending spec for Johab (I can't figure out how to return
2075
+ JOHAB-encoded results from Postgres)
2076
+ [d67c62945540] <i17n-19-patches>
2077
+
2078
+ 2009-08-25 Michael Granger <ged@FaerieMUD.org>
2079
+
2080
+ * Rakefile, ext/pg.c, ext_helper.rb, spec/m17n_spec.rb,
2081
+ spec/pgconn_spec.rb, spec/pgresult_spec.rb:
2082
+ * Applied patch from (rubyforge:25931), fixes (rubyforge:22925).
2083
+ * Normalized indentation
2084
+ * Create all databases without locale to ensure consistency.
2085
+ * Fixed the gemspec to make copying of the .so to lib/ unnecessary.
2086
+ Extensions belong in ext/.
2087
+ [0524dd20fb0f] <i17n-19-patches>
2088
+
2089
+ 2009-07-30 Michael Granger <ged@FaerieMUD.org>
2090
+
2091
+ * Making a branch for merging the patches and new specs to test them.
2092
+ [d0267176eb61] <i17n-19-patches>
2093
+
2094
+ 2009-03-28 Jeff Davis <davis.jeffrey@gmail.com>
2095
+
2096
+ * Rakefile, spec/pgconn_spec.rb, spec/pgresult_spec.rb:
2097
+ Bump version to 0.8.0
2098
+
2099
+ Update tests.
2100
+ [7fbe4187e9e5] [0.8.0, v0.8.0]
2101
+
2102
+ 2009-03-28 Charlie Savage <cfis@rubyforge.org>
2103
+
2104
+ * spec/pgconn_spec.rb:
2105
+ Don't call file trace on windows.
2106
+ [39a19c65b0a0]
2107
+
2108
+ * Updated VC2008 project
2109
+ [c4598eee6d1b]
2110
+
2111
+ * ext/vc/pg.sln, ext/vc/pg_18/pg.vcproj, ext/vc/pg_19/pg_19.vcproj:
2112
+ Updated VC2008 project
2113
+ [c75883fb5979]
2114
+
2115
+ 2009-03-28 Jeff Davis <davis.jeffrey@gmail.com>
2116
+
2117
+ * ext/pg.c:
2118
+ Fix socket leak when connection error occurs.
2119
+
2120
+ Thanks to: Andrea Barisani <andrea@inversepath.com> Rob Holland
2121
+ <rob@inversepath.com>
2122
+ [4192e6d1ccc0]
2123
+
2124
+ * ext/pg.c:
2125
+ PGconn#lo_close was calling lo_unlink.
2126
+ [03d6ef0de9ef]
2127
+
2128
+ * ext/pg.h:
2129
+ Change header so it builds correctly on 1.8 and 1.9.
2130
+ [b27b4b4a54eb]
2131
+
2132
+ 2009-03-14 Charlie Savage <cfis@rubyforge.org>
2133
+
2134
+ * ext/pg.c:
2135
+ Oops - use ALLOC_N not ALLOC, fixes compile error with VC2008.
2136
+ [f7b97416c101]
2137
+
2138
+ * spec/pgconn_spec.rb:
2139
+ Ignore rdoc directory, pkg directory, nbproject directory.
2140
+ [c0fd7531850f]
2141
+
2142
+ * ext/mingw/Rakefile:
2143
+ This rakefile is just used for installing the windows gem.
2144
+ [c675c7534c4d]
2145
+
2146
+ * ext/mingw/build.rake:
2147
+ Split out building on mingw to a separate rake file.
2148
+ [c3329724ef5b]
2149
+
2150
+ * ext/vc/pg.sln, ext/vc/pg.vcproj, ext/vc/pg_18/pg.vcproj,
2151
+ ext/vc/pg_19/pg_19.vcproj:
2152
+ Updated VC2008 projects for Ruby 1.8 and Ruby 1.9 (1.9 not quite
2153
+ setup yet).
2154
+ [01e1dbb950c8]
2155
+
2156
+ * Rakefile:
2157
+ Added rdoc task so you can type rake rdoc. Makes it easier to debug
2158
+ rdoc documentation.
2159
+ [677d3eae5b16]
2160
+
2161
+ * spec/pgresult_spec.rb:
2162
+ Windows compatibility - use tcp/ip sockets, use full path names,
2163
+ read files in binary mode.
2164
+ [c33a73c14126]
2165
+
2166
+ * spec/pgconn_spec.rb:
2167
+ Ripple port change through text. Always full path to open spec
2168
+ file.
2169
+ [241d3410b875]
2170
+
2171
+ * spec/pgconn_spec.rb:
2172
+ First stab at getting test to work on Windows. Windows does not
2173
+ support unix-sockets, so have to use tcp/ip sockets. Also windows
2174
+ requires that command line parameters are quoted with " and not '.
2175
+ [1bf29d30c16c]
2176
+
2177
+ * ext/pg.h:
2178
+ Export Init_pg in windows shared library.
2179
+ [4dae2cabb5ae]
2180
+
2181
+ * ext/pg.c:
2182
+ Fix up memory handling for Windows (match ALLOC with xfree).
2183
+ [4e9b028c55cd]
2184
+
2185
+ 2009-03-06 Jeff Davis <davis.jeffrey@gmail.com>
2186
+
2187
+ * ext/pg.c:
2188
+ 1.9 compatibility fixes.
2189
+ [4a9ffd0aa913]
2190
+
2191
+ 2008-12-03 Jeff Davis <davis.jeffrey@gmail.com>
2192
+
2193
+ * Rakefile, ext/compat.c, ext/mingw/Rakefile, ext/mingw/build.rake,
2194
+ ext/mkrf_config.rb, ext/pg.c, ext/vc/pg.sln, ext/vc/pg.vcproj:
2195
+ Add better support for windows build.
2196
+
2197
+ Big thanks to Charlie Savage.
2198
+ [7178d13749b7]
2199
+
2200
+ 2008-10-14 Jeff Davis <davis.jeffrey@gmail.com>
2201
+
2202
+ * ext/extconf.rb:
2203
+ Merged revisions 175 via svnmerge from
2204
+ svn+ssh://jdavis@rubyforge.org/var/svn/ruby-pg/ruby-pg/trunk
2205
+
2206
+ ........ r175 | jdavis | 2008-10-13 22:25:00 -0700 (Mon, 13 Oct
2207
+ 2008) | 4 lines
2208
+
2209
+ Revert r172. ........
2210
+ [4c2ea65f2eb9] <stable>
2211
+
2212
+ * ext/extconf.rb:
2213
+ Revert r172.
2214
+ [3bf9ef75bae5]
2215
+
2216
+ 2008-10-05 Jeff Davis <davis.jeffrey@gmail.com>
2217
+
2218
+ * ext/extconf.rb, ext/pg.c, spec/pgconn_spec.rb:
2219
+ Merged revisions 169-173 via svnmerge from
2220
+ svn+ssh://jdavis@rubyforge.org/var/svn/ruby-pg/ruby-pg/trunk
2221
+
2222
+ ........ r169 | jdavis | 2008-08-20 19:48:10 -0700 (Wed, 20 Aug
2223
+ 2008) | 6 lines
2224
+
2225
+ Fixed option connection argument in the case of using 7
2226
+ arguments.
2227
+
2228
+ Thanks Erik Hollensbe (erikh) for the bug report. ........ r170
2229
+ | jdavis | 2008-10-05 11:01:40 -0700 (Sun, 05 Oct 2008) | 4 lines
2230
+
2231
+ Throw correct exception when result is NULL. ........ r171 |
2232
+ jdavis | 2008-10-05 11:47:01 -0700 (Sun, 05 Oct 2008) | 12 lines
2233
+
2234
+ Fix PGconn#async_exec and PGconn#get_last_result to properly clear
2235
+ all results when an exception is raised. Before, the connection
2236
+ could be left in a state that is not ready for new commands.
2237
+
2238
+ Also, change PGconn#get_result to not raise an exception
2239
+ when the result is in an error state. You can still check the
2240
+ result object for an error, but it's not appropriate to raise an
2241
+ exception, because that could prevent the caller from properly
2242
+ clearing all results.
2243
+
2244
+ Thanks to Tarmo Tänav. ........ r172 | jdavis | 2008-10-05
2245
+ 12:04:45 -0700 (Sun, 05 Oct 2008) | 6 lines
2246
+
2247
+ Include all libraries listed in "pg_config --libs" in the build.
2248
+
2249
+ Thanks Hans-Thomas Mueller. ........ r173 | jdavis | 2008-10-05
2250
+ 12:18:58 -0700 (Sun, 05 Oct 2008) | 4 lines
2251
+
2252
+ Update spec tests. ........
2253
+ [7e7c22be0302] <stable>
2254
+
2255
+ * spec/pgconn_spec.rb:
2256
+ Update spec tests.
2257
+ [cdf306d84adf]
2258
+
2259
+ * ext/extconf.rb:
2260
+ Include all libraries listed in "pg_config --libs" in the build.
2261
+
2262
+ Thanks Hans-Thomas Mueller.
2263
+ [0386537bd139]
2264
+
2265
+ * ext/pg.c:
2266
+ Fix PGconn#async_exec and PGconn#get_last_result to properly clear
2267
+ all results when an exception is raised. Before, the connection
2268
+ could be left in a state that is not ready for new commands.
2269
+
2270
+ Also, change PGconn#get_result to not raise an exception when the
2271
+ result is in an error state. You can still check the result object
2272
+ for an error, but it's not appropriate to raise an exception,
2273
+ because that could prevent the caller from properly clearing all
2274
+ results.
2275
+
2276
+ Thanks to Tarmo Tänav.
2277
+ [68473ee45e28]
2278
+
2279
+ * ext/pg.c:
2280
+ Throw correct exception when result is NULL.
2281
+ [622eec9c6b0b]
2282
+
2283
+ 2008-08-21 Jeff Davis <davis.jeffrey@gmail.com>
2284
+
2285
+ * ext/pg.c:
2286
+ Fixed option connection argument in the case of using 7 arguments.
2287
+
2288
+ Thanks Erik Hollensbe (erikh) for the bug report.
2289
+ [8e8045947a9c]
2290
+
2291
+ 2008-08-17 Jeff Davis <davis.jeffrey@gmail.com>
2292
+
2293
+ * ext/pg.c:
2294
+ Merged revisions 166 via svnmerge from
2295
+ svn+ssh://jdavis@rubyforge.org/var/svn/ruby-pg/ruby-pg/trunk
2296
+
2297
+ ........ r166 | jdavis | 2008-08-17 13:35:51 -0700 (Sun, 17 Aug
2298
+ 2008) | 4 lines
2299
+
2300
+ Typo fix. ........
2301
+ [3e9dda291ef3] <stable>
2302
+
2303
+ * ext/pg.c:
2304
+ Typo fix.
2305
+ [c5c44a6267f7]
2306
+
2307
+ * ext_helper.rb:
2308
+ Add ext_helper.rb
2309
+ [3686c9944fe1] <stable>
2310
+
2311
+ * Rakefile, ext/extconf.rb, ext/pg.c, pg.gemspec,
2312
+ spec/data/expected_trace.out, spec/data/random_binary_data,
2313
+ spec/pgconn_spec.rb, spec/pgresult_spec.rb:
2314
+ Merged revisions 149-160 via svnmerge from
2315
+ svn+ssh://jdavis@rubyforge.org/var/svn/ruby-pg/ruby-pg/trunk
2316
+
2317
+ ........ r149 | jdavis | 2008-03-19 14:17:20 -0700 (Wed, 19 Mar
2318
+ 2008) | 5 lines
2319
+
2320
+ This commmit just cleans up indenting and coding
2321
+ conventions. It's a big patch, but does nothing meaningful. ........
2322
+ r150 | jdavis | 2008-03-19 14:19:53 -0700 (Wed, 19 Mar 2008) | 5
2323
+ lines
2324
+
2325
+
2326
+ * forgot to add the expected output to the repository, so one
2327
+ test was failing. Corrected now. ........ r151 | jdavis |
2328
+ 2008-03-20 11:20:25 -0700 (Thu, 20 Mar 2008) | 12 lines
2329
+
2330
+
2331
+ * added PGconn.connect_start(...) -> PGconn
2332
+ * added test for PGconn.connect_start()
2333
+ * refactored to separate the complexity of parsing the connection
2334
+ arguments
2335
+ * Removed some superfluous code for old versions of Ruby that
2336
+ don't support rb_define_alloc_func(). Those versions of Ruby
2337
+ most likely don't work anyway, and I'm not testing them.
2338
+
2339
+ ........ r152 | jdavis | 2008-03-20 12:16:06 -0700 (Thu, 20 Mar
2340
+ 2008) | 5 lines
2341
+
2342
+
2343
+ * added PGconn#cancel() -> String
2344
+ * added test for PGconn#cancel() ........ r153 | jdavis | 2008-04-21
2345
+ 10:13:39 -0700 (Mon, 21 Apr 2008) | 4 lines
2346
+
2347
+
2348
+ * added some tests for binary data ........ r154 | jdavis |
2349
+ 2008-04-21 10:24:05 -0700 (Mon, 21 Apr 2008) | 5 lines
2350
+
2351
+
2352
+ * applied patch from Louis Lavena to improve the build process
2353
+ (particularly for windows). ........ r155 | jdavis | 2008-04-21
2354
+ 10:41:04 -0700 (Mon, 21 Apr 2008) | 6 lines
2355
+
2356
+
2357
+ * backtracked a small piece of the patch, to catch the condition
2358
+ where pg_config is not in the PATH on posix platforms. ........
2359
+ r156 | jdavis | 2008-07-07 23:21:07 -0700 (Mon, 07 Jul 2008) | 6
2360
+ lines
2361
+
2362
+ Fix oversight in connect arguments for options and
2363
+ connect_timeout when passed in a hash. (Thanks Rob Holland for
2364
+ the bug report). ........ r157 | jdavis | 2008-07-23 22:33:26
2365
+ -0700 (Wed, 23 Jul 2008) | 10 lines
2366
+
2367
+ Changed all temporary allocations to use ALLOC_N (heap
2368
+ allocation) rather than ALLOCA_N (stack allocation). In
2369
+ particular, this allows PGconn#escape_string to accept larger
2370
+ input strings without fear of exceeding the stack size.
2371
+
2372
+ Thanks to Brett Neumeier. ........ r158 | jdavis | 2008-07-23
2373
+ 22:46:34 -0700 (Wed, 23 Jul 2008) | 6 lines
2374
+
2375
+ Fixed PGconn#setnonblocking
2376
+
2377
+ Thanks to Mohammad Ali (oldmoe) for the report. ........ r159 |
2378
+ jdavis | 2008-08-17 11:19:09 -0700 (Sun, 17 Aug 2008) | 4 lines
2379
+
2380
+ Applied build patch from Brett Neumeier. Thanks! ........ r160
2381
+ | jdavis | 2008-08-17 12:26:33 -0700 (Sun, 17 Aug 2008) | 7 lines
2382
+
2383
+ Properly protect variables from garbage collection, preventing
2384
+ possible memory corruption.
2385
+
2386
+ Big thanks to Peter Seebach for reporting and clearly diagnosing
2387
+ the problem. ........
2388
+ [ed3294b76bf7] <stable>
2389
+
2390
+ * Initialized merge tracking via "svnmerge" with revisions "1-146"
2391
+ from svn+ssh://jdavis@rubyforge.org/var/svn/ruby-pg/ruby-pg/trunk
2392
+ [ff6af5fc4dc3] <stable>
2393
+
2394
+ * Initialized merge tracking via "svnmerge" with revisions "1-146"
2395
+ from svn+ssh://jdavis@rubyforge.org/var/svn/ruby-pg/ruby-
2396
+ pg/trunk@146
2397
+ [1a7b63bacfee] <stable>
2398
+
2399
+ * ext/pg.c:
2400
+ Properly protect variables from garbage collection, preventing
2401
+ possible memory corruption.
2402
+
2403
+ Big thanks to Peter Seebach for reporting and clearly diagnosing the
2404
+ problem.
2405
+ [ed8927d7f45d]
2406
+
2407
+ * Rakefile:
2408
+ Applied build patch from Brett Neumeier. Thanks!
2409
+ [c7c5d25c851c]
2410
+
2411
+ 2008-07-24 Jeff Davis <davis.jeffrey@gmail.com>
2412
+
2413
+ * ext/pg.c:
2414
+ Fixed PGconn#setnonblocking
2415
+
2416
+ Thanks to Mohammad Ali (oldmoe) for the report.
2417
+ [48d2bdfcc630]
2418
+
2419
+ * ext/pg.c:
2420
+ Changed all temporary allocations to use ALLOC_N (heap allocation)
2421
+ rather than ALLOCA_N (stack allocation). In particular, this allows
2422
+ PGconn#escape_string to accept larger input strings without fear of
2423
+ exceeding the stack size.
2424
+
2425
+ Thanks to Brett Neumeier.
2426
+ [b2e1bc03aca5]
2427
+
2428
+ 2008-07-08 Jeff Davis <davis.jeffrey@gmail.com>
2429
+
2430
+ * ext/pg.c:
2431
+ Fix oversight in connect arguments for options and connect_timeout
2432
+ when passed in a hash. (Thanks Rob Holland for the bug report).
2433
+ [c775c24a75f9]
2434
+
2435
+ 2008-04-21 Jeff Davis <davis.jeffrey@gmail.com>
2436
+
2437
+ * ext/extconf.rb, pg.gemspec:
2438
+ * backtracked a small piece of the patch, to catch the condition
2439
+ where pg_config is not in the PATH on posix platforms.
2440
+ [b86f0f75181e]
2441
+
2442
+ * Rakefile, ext/extconf.rb, ext_helper.rb, pg.gemspec:
2443
+ * applied patch from Louis Lavena to improve the build process
2444
+ (particularly for windows).
2445
+ [b3a05d09fb27]
2446
+
2447
+ * spec/data/random_binary_data, spec/pgconn_spec.rb,
2448
+ spec/pgresult_spec.rb:
2449
+ * added some tests for binary data
2450
+ [7579885aff18]
2451
+
2452
+ 2008-03-20 Jeff Davis <davis.jeffrey@gmail.com>
2453
+
2454
+ * ext/pg.c, spec/pgconn_spec.rb:
2455
+ * added PGconn#cancel() -> String
2456
+ * added test for PGconn#cancel()
2457
+ [de58e242dd99]
2458
+
2459
+ * ext/pg.c, spec/pgconn_spec.rb:
2460
+ * added PGconn.connect_start(...) -> PGconn
2461
+ * added test for PGconn.connect_start()
2462
+ * refactored to separate the complexity of parsing the connection
2463
+ arguments
2464
+ * Removed some superfluous code for old versions of Ruby that don't
2465
+ support rb_define_alloc_func(). Those versions of Ruby most
2466
+ likely don't work anyway, and I'm not testing them.
2467
+ [778892302876]
2468
+
2469
+ 2008-03-19 Jeff Davis <davis.jeffrey@gmail.com>
2470
+
2471
+ * spec/data/expected_trace.out:
2472
+ * forgot to add the expected output to the repository, so one
2473
+ test was failing. Corrected now.
2474
+ [630cca5e74c1]
2475
+
2476
+ * ext/pg.c:
2477
+ This commmit just cleans up indenting and coding conventions. It's
2478
+ a big patch, but does nothing meaningful.
2479
+ [661ed2fea9e2]
2480
+
2481
+ 2008-03-18 Jeff Davis <davis.jeffrey@gmail.com>
2482
+
2483
+ * BSD, README, ext/compat.c, ext/compat.h, ext/extconf.rb,
2484
+ ext/mkrf_config.rb, ext/pg.c, ext/pg.h, pg.gemspec,
2485
+ spec/pgconn_spec.rb, spec/pgresult_spec.rb:
2486
+ merged ruby-pg/trunk rev 123:146 with ruby-pg/branches/stable
2487
+ [f9cd915ea427] <stable>
2488
+
2489
+ 2008-03-17 Jeff Davis <davis.jeffrey@gmail.com>
2490
+
2491
+ * ext/mkrf_config.rb:
2492
+ re-adding mkrf_config.rb
2493
+ [d821d50b7d95]
2494
+
2495
+ * ext/mkrf_config.rb:
2496
+ temporarily removing mkrf_config.rb and will re-add it in the next
2497
+ revision. This is an attempt to fix what may be a repository
2498
+ problem.
2499
+ [a66f44648857]
2500
+
2501
+ * COPYING, README.windows, ext/extconf.rb, ext/pg.c, ext/pg.h,
2502
+ spec/pgconn_spec.rb, spec/pgresult_spec.rb:
2503
+ merged ruby-pg/trunk rev 123:125 with ruby-pg/branches/stable
2504
+ [bae01401c92b] <stable>
2505
+
2506
+ * ext/compat.c, ext/compat.h, ext/extconf.rb, ext/pg.c, pg.gemspec:
2507
+ * 7.3 compatibility fixes
2508
+ * cleanup
2509
+ [c8752b1a33cd]
2510
+
2511
+ * ext/pg.c:
2512
+ * Added PGconn#reset_start
2513
+ * Added PGconn#reset_poll
2514
+ * Added PGconn#socket
2515
+ * Added PGconn#connect_poll (needs docs)
2516
+ [4aa1190e1873]
2517
+
2518
+ 2008-03-12 Jeff Davis <davis.jeffrey@gmail.com>
2519
+
2520
+ * spec/pgconn_spec.rb:
2521
+ * added SQLSTATE test
2522
+ * added binary format test
2523
+ [1224350cdcb6]
2524
+
2525
+ * README:
2526
+ * updated the README to reflect the fact that the pg module is
2527
+ supported by ActiveRecord now.
2528
+ [639f8bf03621]
2529
+
2530
+ 2008-03-11 Jeff Davis <davis.jeffrey@gmail.com>
2531
+
2532
+ * BSD, COPYING, README, ext/pg.c:
2533
+ * tried to make it easier to find the license information
2534
+ [1fd6244025c5]
2535
+
2536
+ 2008-03-10 Jeff Davis <davis.jeffrey@gmail.com>
2537
+
2538
+ * ext/pg.c, spec/pgconn_spec.rb, spec/pgresult_spec.rb:
2539
+ * add better checking to make sure that PGconn#trace is passed a
2540
+ stream that can provide a valid and writable file descriptor
2541
+ * added test case for PGconn#trace
2542
+ [1c4f58ec2264]
2543
+
2544
+ * ext/pg.c:
2545
+ * corrected handling of bytea when passed in binary format
2546
+ * corrected handling of +nil+ values passed as type or format
2547
+ specifiers when using the array-of-hashes form of parameterization
2548
+ for PGconn#exec
2549
+ [e94ce7f92a06]
2550
+
2551
+ * ext/pg.c:
2552
+ * make PGconn#trace accept any object that provides a writable
2553
+ file descriptor via the method "fileno".
2554
+ [221e68f16f2d]
2555
+
2556
+ * ext/pg.c:
2557
+ * Added PGconn#trace(filename)
2558
+ [2e722b22b4bc]
2559
+
2560
+ 2008-03-07 Jeff Davis <davis.jeffrey@gmail.com>
2561
+
2562
+ * ext/extconf.rb, ext/mkrf_config.rb:
2563
+ * Added check to find pg_config. If not found, throw an error.
2564
+ This should make it more obvious when pg_config is not in your
2565
+ path.
2566
+
2567
+ * Added proper check on MAC OS X so that it gives the correct
2568
+ warning on ppc when ARCHFLAGS isn't set.
2569
+ [9b1308e85390]
2570
+
2571
+ 2008-02-22 Jeff Davis <davis.jeffrey@gmail.com>
2572
+
2573
+ * ext/pg.c, ext/pg.h:
2574
+ * fixed PGconn#trace
2575
+ [480eae4733ff]
2576
+
2577
+ 2008-02-21 Jeff Davis <davis.jeffrey@gmail.com>
2578
+
2579
+ * ext/pg.c:
2580
+ * added PGconn#set_notice_receiver{ |result| ... }
2581
+ - This is a more powerful form of PGconn#set_notice_processor
2582
+ * cleaned up PGconn#set_notice_processor
2583
+ * removed superfluous debugging from PGconn#transaction
2584
+ * fixed PGresult#result_error_field
2585
+ [a6a1c8613b31]
2586
+
2587
+ 2008-02-19 Jeff Davis <davis.jeffrey@gmail.com>
2588
+
2589
+ * ext/mkrf_config.rb:
2590
+ quick change
2591
+ [8a6e663a70f7]
2592
+
2593
+ * ext/mkrf_config.rb:
2594
+ fix escaping of paths on windows (another try)
2595
+ [5fc41a8f71f0]
2596
+
2597
+ 2008-02-18 Jeff Davis <davis.jeffrey@gmail.com>
2598
+
2599
+ * ext/mkrf_config.rb, ext/pg.c:
2600
+ * attempted some compatibility fixes for windows
2601
+ * fixed some warnings
2602
+ [a465fe9f95a3]
2603
+
2604
+ 2008-02-13 Jeff Davis <davis.jeffrey@gmail.com>
2605
+
2606
+ * ext/mkrf_config.rb:
2607
+ * better quoting and error handling when invoking other programs,
2608
+ e.g. pg_config
2609
+ [5a91f5660c17]
2610
+
2611
+ * ext/mkrf_config.rb:
2612
+ quote include and library paths
2613
+ [5289d5034472]
2614
+
2615
+ * ext/mkrf_config.rb:
2616
+ * created a mkrf_config.rb. I am attempting to transition away from
2617
+ mkmf to mkrf
2618
+ [ed53517514b1]
2619
+
2620
+ 2008-02-11 Jeff Davis <davis.jeffrey@gmail.com>
2621
+
2622
+ * README.windows, ext/extconf.rb, ext/pg.h:
2623
+ * windows fixes (thanks Daniel Berger!)
2624
+ [21bf96d0f702]
2625
+
2626
+ * spec/pgconn_spec.rb, spec/pgresult_spec.rb:
2627
+ * fix temporary postgresql test installation in test.
2628
+ [9d0a23cf2113]
2629
+
2630
+ 2008-02-08 Jeff Davis <davis.jeffrey@gmail.com>
2631
+
2632
+ * ext/pg.c:
2633
+ * properly retrieve binary data from result sets
2634
+ [7fcd53437c79]
2635
+
2636
+ 2008-02-05 Jeff Davis <davis.jeffrey@gmail.com>
2637
+
2638
+ * Rakefile, ext/compat.h, ext/pg.c, pg.gemspec, ruby-pg.gemspec,
2639
+ sample/losample.rb, sample/psql.rb, sample/test1.rb,
2640
+ sample/test2.rb, sample/test4.rb, spec/pgconn_spec.rb,
2641
+ spec/pgresult_spec.rb, tests/pg_spec.rb:
2642
+ merged ruby-pg/trunk rev 109:121 with ruby-pg/branches/stable
2643
+ [83e5013eccc8] <stable>
2644
+
2645
+ * ext/compat.h:
2646
+ fixed bug caused by a typo. HAVE_LOCREATE should have been
2647
+ HAVE_LO_CREATE
2648
+ [295c477ed74f]
2649
+
2650
+ 2008-02-01 Jeff Davis <davis.jeffrey@gmail.com>
2651
+
2652
+ * ext/pg.c, spec/pgresult_spec.rb:
2653
+ * made exec, exec_prepared, send_query, and send_prepared with
2654
+ parameters accept nil as NULL
2655
+ * updated comments and tests to reflect that
2656
+ [ef2214d7f448]
2657
+
2658
+ * ext/pg.c, sample/losample.rb, sample/psql.rb, sample/test1.rb,
2659
+ sample/test2.rb, sample/test4.rb:
2660
+ * Corrected a comment.
2661
+ * Cleaned up the sample directory somewhat. It's still out of date,
2662
+ though.
2663
+ [7303b8165a37]
2664
+
2665
+ 2008-01-31 Jeff Davis <davis.jeffrey@gmail.com>
2666
+
2667
+ * ext/pg.c:
2668
+ * removed duplicate definition of PGconn.open
2669
+ [b3ad2112a91e]
2670
+
2671
+ * spec/pgconn_spec.rb, spec/pgresult_spec.rb, tests/pgconn_spec.rb,
2672
+ tests/pgresult_spec.rb:
2673
+ more test improvements
2674
+ [ce9c0e52eec6]
2675
+
2676
+ * Rakefile, tests/pg_spec.rb, tests/pgconn_spec.rb:
2677
+ renamed pg_spec to pgconn_spec
2678
+ [97cbdebaeb11]
2679
+
2680
+ * Rakefile, tests/pg_spec.rb, tests/pgresult_spec.rb:
2681
+ * Added some tests
2682
+ * Added a Rakefile
2683
+ [1cb0537730bf]
2684
+
2685
+ 2008-01-30 Jeff Davis <davis.jeffrey@gmail.com>
2686
+
2687
+ * ext/pg.c:
2688
+ * added PGconn.conndefaults
2689
+ * replaced a macro with a function to make it more understandable
2690
+ [29b827c7dbd0]
2691
+
2692
+ 2008-01-29 Jeff Davis <davis.jeffrey@gmail.com>
2693
+
2694
+ * ext/pg.c:
2695
+ corrected the tainting of some strings returned by the database
2696
+ [c18f38225bc7]
2697
+
2698
+ * ruby-pg.gemspec:
2699
+ changed gem name from 'ruby-pg' to just 'pg'
2700
+ [56cd8c6ee046]
2701
+
2702
+ 2008-01-28 Jeff Davis <davis.jeffrey@gmail.com>
2703
+
2704
+ * pg.gemspec:
2705
+ made a pg.gemspec so that people can build 'pg' gem
2706
+ [a9097dead780]
2707
+
2708
+ * ext/pg.c:
2709
+ merged ruby-pg/trunk rev 104 with ruby-pg/branches/stable
2710
+ [abfe9a457946] <stable>
2711
+
2712
+ 2008-01-26 Jeff Davis <davis.jeffrey@gmail.com>
2713
+
2714
+ * ext/pg.c:
2715
+ changed exception type for empty data structures
2716
+ [cfdcfcd445ab]
2717
+
2718
+ 2008-01-25 Jeff Davis <davis.jeffrey@gmail.com>
2719
+
2720
+ * ext/pg.c:
2721
+ * added PGconn#async_exec and alias PGconn#async_query
2722
+ * added PGconn#get_last_result
2723
+ * properly check index bounds in pgresult_aref ( PGresult#[] )
2724
+ * PGresult#getvalue now returns nil instead of empty string for NULL
2725
+ [81cd03f8a2c3]
2726
+
2727
+ * ext/pg.c:
2728
+ added PGresult#cmdtuples as alias for PGresult#cmd_tuples
2729
+
2730
+ This is for better compatibility with ActiveRecord.
2731
+ [29d775393e88]
2732
+
2733
+ * ext/pg.c:
2734
+ Added:
2735
+ * PGresult#num_tuples as alias for PGresult#ntuples
2736
+ * PGresult#num_fields as alias for PGresult#nfields
2737
+
2738
+ This should result in easier compatibility with ActiveRecord
2739
+ [eac7df0aa291]
2740
+
2741
+ 2008-01-24 Jeff Davis <davis.jeffrey@gmail.com>
2742
+
2743
+ * README.OS_X, README.windows, ext/extconf.rb:
2744
+ moved a few minor changes over before release
2745
+ [c7ddb58579d3] <stable>
2746
+
2747
+ * README.OS_X, README.windows, ext/extconf.rb:
2748
+ Added README.windows and README.OS_X Changed special case in
2749
+ extconf.rb from '/ms/libpq.lib' to '/ms/libpq'
2750
+ [7908e778e7c3]
2751
+
2752
+ * ext/compat.c, ext/compat.h, ext/extconf.rb, ext/pg.c, ext/pg.h,
2753
+ tests/pg_spec.rb, tests/tc_postgres.rb:
2754
+ merged revision 77:HEAD of ruby-pg/trunk to ruby-pg/branches/stable
2755
+ [8df9da92380e] <stable>
2756
+
2757
+ * ext/extconf.rb:
2758
+ Another change to improve windows compatibility. Thanks to Laurent
2759
+ Francioli.
2760
+ [7cc13a1f3010]
2761
+
2762
+ * ext/extconf.rb:
2763
+ fixed typo
2764
+ [ee0577472b67]
2765
+
2766
+ * ext/extconf.rb:
2767
+ My previous fix for OS X compatibility didn't work well enough.
2768
+
2769
+ The only effective solution is to generate a warning message and
2770
+ tell the user what to do. That's what this commit does.
2771
+ [eaf3b1825d56]
2772
+
2773
+ 2008-01-23 Jeff Davis <davis.jeffrey@gmail.com>
2774
+
2775
+ * ext/compat.h, ext/pg.h:
2776
+ * had to include that file conditionally in compat.h for
2777
+ postgresql 7.3 compatibility
2778
+ [12b2568a0ada]
2779
+
2780
+ * ext/pg.h:
2781
+ * included an additional file so that it works with PostgreSQL
2782
+ 8.3
2783
+ [34dd04d21a78]
2784
+
2785
+ * ext/extconf.rb, ext/pg.c:
2786
+ * added PGconn.quote_ident to quote identifiers
2787
+ * added special case in extconf to build correctly on windows
2788
+ [4cf66b7302bf]
2789
+
2790
+ 2008-01-22 Jeff Davis <davis.jeffrey@gmail.com>
2791
+
2792
+ * ext/pg.c:
2793
+ * made PGconn#query alias for PGconn#exec
2794
+ [081e4d8ee394]
2795
+
2796
+ * ext/extconf.rb, ext/pg.c:
2797
+ * Detect if compiling on OS X, and if so set $ARCHFLAGS correctly.
2798
+ This should resolve the problem of building on OS X.
2799
+ * A couple comment fixes.
2800
+ [4774578059e1]
2801
+
2802
+ 2008-01-21 Jeff Davis <davis.jeffrey@gmail.com>
2803
+
2804
+ * ext/pg.c:
2805
+ made conn.block cleaner and it should be more portable.
2806
+ [204f4b591614]
2807
+
2808
+ 2008-01-18 Jeff Davis <davis.jeffrey@gmail.com>
2809
+
2810
+ * ext/extconf.rb, ext/pg.c:
2811
+ Miscellaneous changes:
2812
+ * in 'pg' module, added PGconn#close as an alias for PGconn#finish,
2813
+ for easier compatibility with AR adapter.
2814
+ * removed extra CFLAGS because they were causing portability problems.
2815
+ [449d54289f07]
2816
+
2817
+ 2008-01-17 Jeff Davis <davis.jeffrey@gmail.com>
2818
+
2819
+ * tests/pg_spec.rb, tests/tc_postgres.rb:
2820
+ started creating a rspec test, more tests to come later
2821
+ [aadd4008d2e3]
2822
+
2823
+ * ext/pg.c:
2824
+ properly free memory in conn.get_copy_data
2825
+ [4f276bb9c4b1]
2826
+
2827
+ 2008-01-15 Jeff Davis <davis.jeffrey@gmail.com>
2828
+
2829
+ * ext/pg.c, ext/pg.h:
2830
+ Added conn.block( [ timeout ] ) -> Boolean
2831
+ [95d9ff13c269]
2832
+
2833
+ 2008-01-14 Jeff Davis <davis.jeffrey@gmail.com>
2834
+
2835
+ * ext/pg.c:
2836
+ Added conn.transaction{ |conn| ... }
2837
+ [4cefa3b1ecbb]
2838
+
2839
+ * ext/compat.c, ext/compat.h, ext/extconf.rb, ext/pg.c, ext/pg.h:
2840
+ Support for PostgreSQL 7.3.
2841
+ [ae8c3b66c48d]
2842
+
2843
+ 2008-01-09 Jeff Davis <davis.jeffrey@gmail.com>
2844
+
2845
+ * compat-ruby-postgres/extconf.rb, compat-ruby-postgres/libpq-
2846
+ compat.c, compat-ruby-postgres/postgres.c, compat-ruby-postgres
2847
+ /type-oids.h:
2848
+ removed extra directory that was left in the merge
2849
+ [8eb1346cb9aa] <stable>
2850
+
2851
+ * README, ext/compat.c, ext/compat.h, ext/extconf.rb, ext/pg.c, ruby-
2852
+ pg.gemspec:
2853
+ merged ruby-pg/trunk rev 69 to ruby-pg/branches/stable
2854
+ [d6d19e5371d4] <stable>
2855
+
2856
+ 2008-01-08 Jeff Davis <davis.jeffrey@gmail.com>
2857
+
2858
+ * ext/pg.c:
2859
+ Added:
2860
+ * conn.set_client_encoding
2861
+ * conn.get_client_encoding
2862
+
2863
+ get_client_encoding returns a string, and the PQclientEncoding
2864
+ function returns an encoding ID, which is why I didn't use the name
2865
+ client_encoding. That leaves room later to add a wrapper for the
2866
+ libpq PQclientEncoding if there is a need, without a name conflict.
2867
+ [1fd8b2aaac4c]
2868
+
2869
+ * ext/pg.c:
2870
+ Added:
2871
+ * conn.make_empty_pgresult(status)
2872
+ * conn.flush
2873
+ * conn.set_error_verbosity
2874
+ [5c0a63028583]
2875
+
2876
+ 2008-01-07 Jeff Davis <davis.jeffrey@gmail.com>
2877
+
2878
+ * ext/pg.c:
2879
+ fixed a few method defines for async query processing
2880
+ [40270de77f48]
2881
+
2882
+ * ext/pg.c:
2883
+ Change conn.exec to use PQexec if no parameters are passed, and
2884
+ use PQexecParams if optional parameters are passed.
2885
+
2886
+ Change conn.send_query to use PQsendQuery if no parameters are
2887
+ passed, and use PQsendQueryParams if optional parameters are
2888
+ passed.
2889
+ [d05d9f2042d7]
2890
+
2891
+ * compat-ruby-postgres/extconf.rb, compat-ruby-postgres/libpq-
2892
+ compat.c, compat-ruby-postgres/postgres.c, compat-ruby-postgres
2893
+ /type-oids.h, ruby-pg.gemspec:
2894
+ Cleanup after the repository reorganization.
2895
+ [a531a7bc9241]
2896
+
2897
+ * COPYING, COPYING.txt, ChangeLog, Contributors, GPL, LICENSE,
2898
+ MANIFEST, README, README.ja, compat-ruby-postgres/extconf.rb,
2899
+ compat-ruby-postgres/libpq-compat.c, compat-ruby-
2900
+ postgres/postgres.c, compat-ruby-postgres/type-oids.h,
2901
+ doc/postgres.html, doc/postgres.jp.html, ext/compat.c, ext/compat.h,
2902
+ ext/extconf.rb, ext/pg.c, ext/pg.h, ruby-pg.gemspec,
2903
+ sample/losample.rb, sample/psql.rb, sample/psqlHelp.rb,
2904
+ sample/test1.rb, sample/test2.rb, sample/test4.rb,
2905
+ tests/tc_postgres.rb:
2906
+ Split 'ruby-pg' module and 'postgres' module into separate parts of
2907
+ the repository. They will be maintained separately, and be released
2908
+ as separate gems from this point forward.
2909
+
2910
+ One reason for this change is because we need separate gems. If we
2911
+ distribute both modules as one gem, the documentation is not
2912
+ properly generated due to class name conflicts.
2913
+
2914
+ Another reason is to reduce confusion between the two modules.
2915
+
2916
+ Also, I don't plan on making many improvements (aside from bugfixes
2917
+ and portability issues) to the old 'postgres' code. I'd like to get
2918
+ it to a stable state, and leave it alone. Meanwhile, the 'pg' module
2919
+ can be developed on a faster timeline.
2920
+ [aafc8cf17567]
2921
+
2922
+ * COPYING, COPYING.txt, ChangeLog, Contributors, GPL, LICENSE,
2923
+ MANIFEST, README, README.ja, compat-ruby-postgres/extconf.rb,
2924
+ compat-ruby-postgres/libpq-compat.c, compat-ruby-
2925
+ postgres/postgres.c, compat-ruby-postgres/type-oids.h,
2926
+ doc/postgres.html, doc/postgres.jp.html, ext/compat.c, ext/compat.h,
2927
+ ext/extconf.rb, ext/pg.c, ext/pg.h, ruby-pg.gemspec,
2928
+ sample/losample.rb, sample/psql.rb, sample/psqlHelp.rb,
2929
+ sample/test1.rb, sample/test2.rb, sample/test4.rb,
2930
+ tests/tc_postgres.rb:
2931
+ Split 'ruby-pg' module and 'postgres' module into separate parts of
2932
+ the repository. They will be maintained separately, and be released
2933
+ as separate gems from this point forward.
2934
+
2935
+ One reason for this change is because we need separate gems. If we
2936
+ distribute both modules as one gem, the documentation is not
2937
+ properly generated due to class name conflicts.
2938
+
2939
+ Another reason is to reduce confusion between the two modules.
2940
+
2941
+ Also, I don't plan on making many improvements (aside from bugfixes
2942
+ and portability issues) to the old 'postgres' code. I'd like to get
2943
+ it to a stable state, and leave it alone. Meanwhile, the 'pg' module
2944
+ can be developed on a faster timeline.
2945
+ [7716d24a143b] <stable>