pg 0.17.1 → 1.2.3

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