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