pg 0.11.0-x86-mingw32 → 0.12.0-x86-mingw32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/.gemtest +0 -0
- data/ChangeLog +1647 -462
- data/Contributors.rdoc +39 -0
- data/History.rdoc +61 -0
- data/Manifest.txt +43 -0
- data/README.OS_X.rdoc +68 -0
- data/README.ja.rdoc +7 -0
- data/{README → README.rdoc} +38 -18
- data/{README.windows → README.windows.rdoc} +23 -31
- data/Rakefile +104 -318
- data/Rakefile.cross +234 -0
- data/ext/compat.c +2 -2
- data/ext/extconf.rb +10 -2
- data/ext/pg.c +223 -43
- data/ext/vc/pg.sln +26 -0
- data/ext/vc/pg_18/pg.vcproj +216 -0
- data/ext/vc/pg_19/pg_19.vcproj +209 -0
- data/lib/1.8/pg_ext.so +0 -0
- data/lib/1.9/pg_ext.so +0 -0
- data/lib/pg.rb +5 -7
- data/misc/openssl-pg-segfault.rb +31 -0
- data/sample/async_api.rb +109 -0
- data/sample/async_copyto.rb +39 -0
- data/sample/copyfrom.rb +81 -0
- data/sample/copyto.rb +19 -0
- data/sample/cursor.rb +21 -0
- data/sample/losample.rb +69 -0
- data/sample/notify_wait.rb +43 -0
- data/sample/psql.rb +1181 -0
- data/sample/psqlHelp.rb +158 -0
- data/sample/test1.rb +60 -0
- data/sample/test2.rb +44 -0
- data/sample/test4.rb +71 -0
- data/sample/test_binary_values.rb +35 -0
- data/spec/lib/helpers.rb +6 -4
- data/spec/m17n_spec.rb +2 -2
- data/spec/pgconn_spec.rb +51 -6
- data/spec/pgresult_spec.rb +30 -4
- metadata +147 -86
- data.tar.gz.sig +0 -3
- data/Contributors +0 -32
- data/README.OS_X +0 -19
- data/README.ja +0 -183
- data/Rakefile.local +0 -312
- data/rake/191_compat.rb +0 -26
- data/rake/dependencies.rb +0 -76
- data/rake/documentation.rb +0 -123
- data/rake/helpers.rb +0 -502
- data/rake/hg.rb +0 -318
- data/rake/manual.rb +0 -787
- data/rake/packaging.rb +0 -129
- data/rake/publishing.rb +0 -341
- data/rake/style.rb +0 -62
- data/rake/svn.rb +0 -668
- data/rake/testing.rb +0 -152
- data/rake/verifytask.rb +0 -64
- metadata.gz.sig +0 -3
data/.gemtest
ADDED
File without changes
|
data/ChangeLog
CHANGED
@@ -1,693 +1,1878 @@
|
|
1
|
-
|
2
|
-
Move connection-parameter parsing into Ruby, and make option-handling more
|
1
|
+
2011-12-07 Michael Granger <ged@FaerieMUD.org>
|
3
2
|
|
4
|
-
|
5
|
-
|
3
|
+
* .hgtags:
|
4
|
+
Added tag v0.12.0 for changeset b767401684d8
|
5
|
+
[1060487e7621] [tip]
|
6
6
|
|
7
|
-
|
8
|
-
|
7
|
+
* .hgsigs:
|
8
|
+
Added signature for changeset 19b551f972e2
|
9
|
+
[b767401684d8] [v0.12.0]
|
10
|
+
|
11
|
+
* Contributors.rdoc, History.rdoc, Manifest.txt, README.rdoc:
|
12
|
+
Updated some metadata files in preparation for release.
|
13
|
+
[19b551f972e2]
|
14
|
+
|
15
|
+
2011-10-31 Lars Kanis <kanis@comcard.de>
|
16
|
+
|
17
|
+
* README.windows.rdoc, Rakefile, Rakefile.cross:
|
18
|
+
re-add mingw32 cross compilation tasks, updated to current
|
19
|
+
pg,openssl,ruby versions
|
20
|
+
[a8b505d430d0]
|
21
|
+
|
22
|
+
2011-12-07 Michael Granger <ged@FaerieMUD.org>
|
23
|
+
|
24
|
+
* Rakefile:
|
25
|
+
Fix for the 'clobber' rake task under 1.9.x.
|
26
|
+
[c4952fd07cc0]
|
27
|
+
|
28
|
+
* .hgignore:
|
29
|
+
Adding binary build dir to the ignorefile
|
30
|
+
[12ae62d666cb]
|
31
|
+
|
32
|
+
2011-12-05 Michael Granger <ged@FaerieMUD.org>
|
33
|
+
|
34
|
+
* Manifest.txt, Rakefile, ext/pg.c, spec/lib/helpers.rb,
|
35
|
+
spec/pgconn_spec.rb, spec/pgresult_spec.rb:
|
36
|
+
Fixes for PGresult#error_field
|
37
|
+
- Return +nil+ for unset PQresultErrorField() results instead of a
|
38
|
+
String wrapped around a NULL pointer
|
39
|
+
- Rename PGresult#result_error_field -> #error_field and
|
40
|
+
#result_error_message -> #error_message; aliases for backward
|
41
|
+
compatibility
|
42
|
+
- Add an example of how to COPY asynchronously
|
43
|
+
- Make the 'clobber' task clobber the spec tmpdir
|
44
|
+
- Log the command being run during test database setup/teardown
|
45
|
+
[6cece559d01c]
|
9
46
|
|
10
|
-
|
11
|
-
Update readme for cross compile
|
47
|
+
2011-11-28 Michael Granger <ged@FaerieMUD.org>
|
12
48
|
|
13
|
-
|
14
|
-
|
49
|
+
* sample/async_copyto.rb:
|
50
|
+
Adding an example of how to use COPY asynchronously
|
51
|
+
[9ebcdc3394fb]
|
52
|
+
|
53
|
+
* sample/copyto.rb, sample/cursor.rb:
|
54
|
+
Fixing some comments
|
55
|
+
[13cd5d7e1307]
|
15
56
|
|
16
|
-
|
17
|
-
update PG and OpenSSL version for cross compile
|
57
|
+
2011-10-31 Michael Granger <ged@FaerieMUD.org>
|
18
58
|
|
19
|
-
|
20
|
-
|
59
|
+
* Manifest.txt, ext/extconf.rb, ext/pg.c, spec/m17n_spec.rb:
|
60
|
+
Encdb fix for Ruby 1.9.3-rc1; thanks to wishdev@bitbucket for the
|
61
|
+
patch (fixes #88).
|
62
|
+
[31ff2758248a]
|
21
63
|
|
22
|
-
|
23
|
-
re-add required libs for cross compilation
|
64
|
+
2011-10-10 Michael Granger <ged@FaerieMUD.org>
|
24
65
|
|
25
|
-
|
26
|
-
|
66
|
+
* sample/cursor.rb:
|
67
|
+
Adding an example of using a cursor with PGconn#exec
|
68
|
+
[0639e0040af1]
|
27
69
|
|
28
|
-
|
29
|
-
Whitespace/line-ending fixes
|
70
|
+
2011-10-07 Michael Granger <ged@FaerieMUD.org>
|
30
71
|
|
31
|
-
|
32
|
-
|
72
|
+
* .hgignore, Contributors, Contributors.rdoc, History.md,
|
73
|
+
History.rdoc, Manifest.txt, README.OS_X.md, README.OS_X.rdoc,
|
74
|
+
README.ja.md, README.ja.rdoc, README.md, README.rdoc,
|
75
|
+
README.windows.md, README.windows.rdoc, Rakefile, lib/pg.rb,
|
76
|
+
misc/openssl-1.0.0a.mingw-nocapi.patch:
|
77
|
+
Documentation update
|
78
|
+
[d8eea3141983]
|
33
79
|
|
34
|
-
|
35
|
-
|
80
|
+
* ext/pg.c:
|
81
|
+
Ensure values returned from #wait_for_notify are tainted and encoded
|
82
|
+
[6d565a8c3670]
|
36
83
|
|
37
|
-
|
38
|
-
|
84
|
+
* .hgtags:
|
85
|
+
Added tag v0.8.0 for changeset 7fbe4187e9e5
|
86
|
+
[6f043966cbe4]
|
39
87
|
|
40
|
-
|
41
|
-
|
88
|
+
* .hgtags:
|
89
|
+
Added tag v0.9.0 for changeset da726282493c
|
90
|
+
[ee09cf2d34ee]
|
42
91
|
|
43
|
-
|
44
|
-
|
92
|
+
* ext/pg.c:
|
93
|
+
Bumping minor version.
|
94
|
+
[5acdaac61975]
|
45
95
|
|
46
|
-
|
47
|
-
|
96
|
+
* ext/pg.c, spec/pgconn_spec.rb:
|
97
|
+
Make PGconn#wait_for_notify send nil as the payload argument if the
|
98
|
+
NOTIFY didn't have one.
|
99
|
+
[e47aa3bf402a]
|
48
100
|
|
49
|
-
|
50
|
-
|
101
|
+
* ext/pg.c, spec/pgconn_spec.rb:
|
102
|
+
Making #wait_for_notify accept a nil argument for no timeout (Sequel
|
103
|
+
support)
|
104
|
+
[2d2e977241e4]
|
51
105
|
|
52
|
-
|
53
|
-
|
106
|
+
* sample/async_api.rb, sample/copyfrom.rb, sample/losample.rb,
|
107
|
+
sample/psql.rb, sample/psqlHelp.rb, sample/test1.rb,
|
108
|
+
sample/test2.rb, sample/test4.rb:
|
109
|
+
Made all the samples executable
|
110
|
+
[7bc74288b271]
|
54
111
|
|
55
|
-
|
56
|
-
|
112
|
+
* .gemtest, .hgsub, .hgsubstate, Contributors, History.md,
|
113
|
+
Manifest.txt, README, README.OS_X, README.OS_X.md, README.ja,
|
114
|
+
README.ja.md, README.md, README.windows, README.windows.md,
|
115
|
+
Rakefile, Rakefile.local, doc/postgres.html, doc/postgres.jp.html,
|
116
|
+
ext/extconf.rb, ext/mingw/Rakefile, ext/mingw/build.rake,
|
117
|
+
project.yml:
|
118
|
+
Converted to Hoe
|
119
|
+
[30bd5229899d]
|
57
120
|
|
58
|
-
|
59
|
-
Simplify the common case require of the ext
|
121
|
+
2011-09-18 Michael Granger <ged@FaerieMUD.org>
|
60
122
|
|
61
|
-
|
62
|
-
|
123
|
+
* ext/pg.c:
|
124
|
+
Handle errors while rb_thread_select()ing in PGconn#block. Thanks to
|
125
|
+
Brian Weaver for the patch.
|
126
|
+
[adb5bb3175a4]
|
63
127
|
|
64
|
-
|
65
|
-
Experimenting with a greatly-simplified extconf, since the complex one isn't solving any problems
|
128
|
+
2011-10-06 Michael Granger <ged@FaerieMUD.org>
|
66
129
|
|
67
|
-
|
68
|
-
|
130
|
+
* ext/pg.c:
|
131
|
+
Added docs for the payload argument to the block from
|
132
|
+
PGconn#wait_for_notify
|
133
|
+
[3623caf38391]
|
69
134
|
|
70
|
-
|
71
|
-
Fixing compatibility with versions of PostgreSQL without PQgetCancel. (fixes #36)
|
135
|
+
2011-09-16 Michael Granger <ged@FaerieMUD.org>
|
72
136
|
|
73
|
-
|
74
|
-
|
137
|
+
* sample/copyto.rb:
|
138
|
+
Added an example of PGconn#get_copy_data.
|
139
|
+
[857ec5164f03]
|
75
140
|
|
76
|
-
|
77
|
-
Change rb_yield_splat() to rb_yield_values() for compatibility with Rubinius. (fixes #54)
|
141
|
+
2011-09-01 Michael Granger <ged@FaerieMUD.org>
|
78
142
|
|
79
|
-
|
80
|
-
|
143
|
+
* misc/openssl-pg-segfault.rb:
|
144
|
+
Adding a test file for duplicating the OpenSSL linking problem
|
145
|
+
[a810901bff03]
|
81
146
|
|
82
|
-
|
83
|
-
Added tag v0.10.0 for changeset 1822a169c4fe
|
147
|
+
2011-07-31 cwgem <cwprogram@live.com>
|
84
148
|
|
85
|
-
|
86
|
-
|
149
|
+
* sample/test1.rb:
|
150
|
+
Fixing an issue with out of data properties and constants in the
|
151
|
+
sample file.
|
152
|
+
[44b5f65d0abe]
|
87
153
|
|
88
|
-
|
89
|
-
Merged in Mahlon's wait_for_notify update for PostgreSQL 9's notification payload
|
154
|
+
2011-06-17 Michael Granger <ged@FaerieMUD.org>
|
90
155
|
|
91
|
-
|
92
|
-
|
156
|
+
* ext/pg.c:
|
157
|
+
Split out pgconn_block #ifdef madness into three functions; added
|
158
|
+
error-checking that will hopefully help with #75
|
159
|
+
[3d744d9776c3]
|
93
160
|
|
94
|
-
|
95
|
-
Finished the merge of default; fixed specs under 1.9.2.
|
161
|
+
2011-06-07 Michael Granger <ged@FaerieMUD.org>
|
96
162
|
|
97
|
-
|
98
|
-
|
163
|
+
* ext/pg.c:
|
164
|
+
Fix #ifdef for Ruby 1.9.2 under non-windows platform.
|
165
|
+
[88f7f11fe764]
|
99
166
|
|
100
|
-
|
101
|
-
|
167
|
+
* ext/pg.c:
|
168
|
+
Merged Rafał Bigaj's fixes for Win32 async queries
|
169
|
+
[315a497006a3]
|
102
170
|
|
103
|
-
|
104
|
-
Added signature for changeset 3993015a841e
|
171
|
+
2011-05-13 rafal <rafal@Bonifacy.intranet>
|
105
172
|
|
106
|
-
|
107
|
-
|
173
|
+
* ext/pg.c:
|
174
|
+
Memory leak fixed: Closing opened WSA event.
|
175
|
+
[2bc78e46c1b6]
|
108
176
|
|
109
|
-
|
110
|
-
Build/gem updates
|
177
|
+
2011-05-04 rafal <rafal@Bonifacy.intranet>
|
111
178
|
|
112
|
-
|
113
|
-
|
179
|
+
* ext/pg.c:
|
180
|
+
Fixes for #66 Win32 asynchronous queries hang on connection error.
|
181
|
+
Using Winsock events and rb_w32_wait_events() on WIN32 and Ruby 1.9
|
182
|
+
instead of rb_thread_select().
|
183
|
+
[fc4109b2ddba]
|
114
184
|
|
115
|
-
|
116
|
-
More work trying to get the Windows-native gem to compile. No luck, but it's closer.
|
185
|
+
2011-04-14 rafal <rafal@Bonifacy.intranet>
|
117
186
|
|
118
|
-
|
119
|
-
|
187
|
+
* ext/pg.c:
|
188
|
+
Fixes #66 Win32 asynchronous queries hang on connection error
|
189
|
+
[17a6a01c1725]
|
120
190
|
|
121
|
-
|
122
|
-
Updated to RSpec 2.0
|
191
|
+
2011-05-30 Michael Granger <ged@FaerieMUD.org>
|
123
192
|
|
124
|
-
|
125
|
-
|
193
|
+
* spec/m17n_spec.rb, spec/pgconn_spec.rb, spec/pgresult_spec.rb:
|
194
|
+
Fixed executable name in spec shebangs (refs #74)
|
195
|
+
[70bf05114369]
|
126
196
|
|
127
|
-
|
128
|
-
Added support for the payload of NOTIFY events (w/Mahlon E. Smith)
|
197
|
+
2011-05-18 Michael Granger <ged@FaerieMUD.org>
|
129
198
|
|
130
|
-
|
131
|
-
|
199
|
+
* sample/async_api.rb:
|
200
|
+
Added a few more comments to the results part of the async example
|
201
|
+
[b5361e087db3]
|
132
202
|
|
133
|
-
|
134
|
-
|
203
|
+
* sample/async_api.rb:
|
204
|
+
Adding an asynchronous API example
|
205
|
+
[cf4c3a05a380]
|
135
206
|
|
136
|
-
|
137
|
-
|
207
|
+
* ext/pg.c:
|
208
|
+
Fixed a typo in PGconn#error_message's documentation
|
209
|
+
[34fc8e167542]
|
138
210
|
|
139
|
-
|
140
|
-
Adding a sample of how to use COPY FROM
|
211
|
+
2011-05-04 Michael Granger <ged@FaerieMUD.org>
|
141
212
|
|
142
|
-
|
143
|
-
|
213
|
+
* ext/extconf.rb:
|
214
|
+
Quote the path to pg_config, since now we're using backticks instead
|
215
|
+
of pipe+exec. Closes #65.
|
216
|
+
[3ec32bb496b9]
|
144
217
|
|
145
|
-
|
146
|
-
Version bump, updates for PostgreSQL 9.
|
218
|
+
2011-04-22 Aaron Patterson <aaron.patterson@gmail.com>
|
147
219
|
|
148
|
-
|
149
|
-
|
220
|
+
* lib/pg.rb:
|
221
|
+
fixing unused variable warnings for ruby 1.9.3
|
222
|
+
[37d40754ae58]
|
150
223
|
|
151
|
-
|
152
|
-
Fix to allow Rakefile to work on JRuby
|
224
|
+
2011-04-18 Michael Granger <ged@FaerieMUD.org>
|
153
225
|
|
154
|
-
|
155
|
-
|
226
|
+
* .hgtags:
|
227
|
+
Added tag v0.11.0 for changeset 3cb8e57c6c80
|
228
|
+
[9e8896275efa]
|
156
229
|
|
157
|
-
|
158
|
-
|
230
|
+
* .hgsigs:
|
231
|
+
Added signature for changeset 24aa7899c696
|
232
|
+
[3cb8e57c6c80] [v0.11.0]
|
159
233
|
|
160
|
-
|
161
|
-
|
234
|
+
* ext/pg.c, lib/pg.rb, spec/pgconn_spec.rb:
|
235
|
+
Move connection-parameter parsing into Ruby, and make option-
|
236
|
+
handling more flexible. No longer segfaults on no-option, <7-option
|
237
|
+
array, and other combinations of arguments to ::connect and
|
238
|
+
::connect_start. Fixes #67.
|
239
|
+
[24aa7899c696]
|
162
240
|
|
163
|
-
|
164
|
-
Adding rake tasklibs as a sub-repo
|
241
|
+
2011-03-30 Michael Granger <ged@FaerieMUD.org>
|
165
242
|
|
166
|
-
|
167
|
-
|
243
|
+
* Automated merge with ssh://bitbucket.org/larskanis/ruby-pg
|
244
|
+
[b477174160c8]
|
168
245
|
|
169
|
-
|
170
|
-
Merged with 168:dfaa59767b2e
|
246
|
+
2011-03-15 Lars Kanis <kanis@comcard.de>
|
171
247
|
|
172
|
-
|
173
|
-
|
248
|
+
* README.windows, Rakefile.local:
|
249
|
+
Update cross compilation tasks to use Ruby 1.8.7 instead of 1.8.6,
|
250
|
+
since pg.gem requires at least 1.8.7 to get installed
|
251
|
+
[cc3a7476465c]
|
174
252
|
|
175
|
-
|
176
|
-
Merged with 170:5418a1d86d91
|
253
|
+
2011-03-12 Lars Kanis <kanis@comcard.de>
|
177
254
|
|
178
|
-
|
179
|
-
|
255
|
+
* README.windows:
|
256
|
+
Update readme for cross compile
|
257
|
+
[b90f74cb11a5]
|
180
258
|
|
181
|
-
|
182
|
-
|
259
|
+
* Rakefile.local:
|
260
|
+
Use RUBY_CC_VERSION from command line, if set
|
261
|
+
[780650f201e3]
|
183
262
|
|
184
|
-
|
185
|
-
Adding rake-compiler to the dev dependencies
|
263
|
+
2011-03-11 Lars Kanis <kanis@comcard.de>
|
186
264
|
|
187
|
-
|
188
|
-
|
265
|
+
* Rakefile.local:
|
266
|
+
update PG and OpenSSL version for cross compile
|
267
|
+
[31089d6c9dde]
|
189
268
|
|
190
|
-
|
191
|
-
|
269
|
+
* Rakefile.local:
|
270
|
+
always run "make libpq.a" for cross compilation
|
271
|
+
[dfe3e7c1ea27]
|
192
272
|
|
193
|
-
|
194
|
-
|
273
|
+
* Rakefile.local, ext/extconf.rb:
|
274
|
+
re-add required libs for cross compilation add ws2_32.dll because
|
275
|
+
libpq of PostgreSQL 9.0 makes use of it to determine host IP
|
276
|
+
addresses
|
277
|
+
[06e17573b133]
|
195
278
|
|
196
|
-
|
197
|
-
Updating build system, adding .orig files to ignore list.
|
279
|
+
2011-03-30 Michael Granger <ged@FaerieMUD.org>
|
198
280
|
|
199
|
-
|
200
|
-
|
281
|
+
* ext/pg.c:
|
282
|
+
Comment the WIN32 console FD stuff so I remember what it does.
|
283
|
+
[56098b479a23]
|
201
284
|
|
202
|
-
|
203
|
-
Actually, just use the cflags from pg_config, which should resolve both the -Wall and the -lsocket issue (refs #30)
|
285
|
+
2011-02-23 Michael Granger <ged@FaerieMUD.org>
|
204
286
|
|
205
|
-
|
206
|
-
|
287
|
+
* ext/pg.c:
|
288
|
+
Whitespace/line-ending fixes
|
289
|
+
[1baa7a8e673e]
|
207
290
|
|
208
|
-
|
209
|
-
|
291
|
+
* ext/pg.c:
|
292
|
+
Merged with 1c3a1ca9f0cd
|
293
|
+
[fb7d22101adf]
|
210
294
|
|
211
|
-
|
212
|
-
Added tag 0.9.0 for changeset da726282493c
|
295
|
+
2011-01-22 Greg Hazel <ghazel@gmail.com>
|
213
296
|
|
214
|
-
|
215
|
-
|
297
|
+
* ext/pg.c:
|
298
|
+
for windows support, duplicate the sockets from libpq and create
|
299
|
+
temporary CRT fds
|
300
|
+
[1c3a1ca9f0cd]
|
216
301
|
|
217
|
-
|
218
|
-
Adding "fat gem" compatible loader, set the default RUBY_CC_VERSION.
|
302
|
+
2011-01-22 Michael Granger <ged@FaerieMUD.org>
|
219
303
|
|
220
|
-
|
221
|
-
|
304
|
+
* Pulling fixes for Windows from ghazel on Github
|
305
|
+
[c3f163bf1ecd]
|
222
306
|
|
223
|
-
|
224
|
-
Applied patch for PGconn#async_exec to make it have the same semantics as PGconn#exec (closes #19). Thanks again to Lars Kanis for the patch.
|
307
|
+
2011-02-10 Michael Granger <ged@FaerieMUD.org>
|
225
308
|
|
226
|
-
|
227
|
-
|
309
|
+
* ext/pg.c:
|
310
|
+
Bump minor version.
|
311
|
+
[18f413081e0c]
|
228
312
|
|
229
|
-
|
230
|
-
Improving spec database setup function (closes #18). Thanks to Lars Kanis for another fine patch.
|
313
|
+
2011-01-31 Michael Granger <ged@FaerieMUD.org>
|
231
314
|
|
232
|
-
|
233
|
-
|
315
|
+
* Contributors, ext/pg.c, spec/pgresult_spec.rb:
|
316
|
+
Reformatting fixes for PGresult#[] and PGresult#values
|
317
|
+
[739692aa8dd1]
|
234
318
|
|
235
|
-
|
236
|
-
Adding a test to ensure the result encoding remains the same even when client_encoding in the connection changes.
|
319
|
+
2011-01-31 Jason Yanowitz <me-bitbucket@jasonyanowitz.com>
|
237
320
|
|
238
|
-
|
239
|
-
|
321
|
+
* ext/pg.c, spec/pgresult_spec.rb:
|
322
|
+
added PGresult#values to get an array of arrays
|
323
|
+
[59679aee98ee]
|
240
324
|
|
241
|
-
|
242
|
-
Merged
|
325
|
+
2011-01-19 Michael Granger <ged@FaerieMUD.org>
|
243
326
|
|
244
|
-
|
245
|
-
|
327
|
+
* .hgtags:
|
328
|
+
Added tag v0.10.1 for changeset de10b5d8e442
|
329
|
+
[8ab3dd3c757b]
|
246
330
|
|
247
|
-
|
248
|
-
|
331
|
+
* .hgsigs:
|
332
|
+
Added signature for changeset 230ea3e68db2
|
333
|
+
[de10b5d8e442] [v0.10.1]
|
249
334
|
|
250
|
-
|
251
|
-
|
335
|
+
* ext/pg.h:
|
336
|
+
Add an include guard for pg.h
|
337
|
+
[230ea3e68db2]
|
252
338
|
|
253
|
-
|
254
|
-
|
339
|
+
* lib/pg.rb:
|
340
|
+
Simplify the common case require of the ext
|
341
|
+
[f877d2d399cc]
|
255
342
|
|
256
|
-
|
257
|
-
|
343
|
+
* ext/compat.h:
|
344
|
+
Include the extconf header
|
345
|
+
[8e1707a90330]
|
258
346
|
|
259
|
-
|
260
|
-
Reverted removal of PGresult::InvalidOid, fixed broken spec.
|
347
|
+
2010-12-06 Michael Granger <ged@FaerieMUD.org>
|
261
348
|
|
262
|
-
|
263
|
-
|
349
|
+
* ext/extconf.rb:
|
350
|
+
Experimenting with a greatly-simplified extconf, since the complex
|
351
|
+
one isn't solving any problems
|
352
|
+
[89348c8bb6d1]
|
264
353
|
|
265
|
-
|
266
|
-
|
354
|
+
* ext/pg.c:
|
355
|
+
Bumping version to 0.10.1.
|
356
|
+
[aea173eec98a]
|
267
357
|
|
268
|
-
|
269
|
-
|
358
|
+
* ext/extconf.rb, ext/pg.c:
|
359
|
+
Fixing compatibility with versions of PostgreSQL without
|
360
|
+
PQgetCancel. (fixes #36)
|
361
|
+
[d61e3310ea3d]
|
270
362
|
|
271
|
-
|
272
|
-
|
363
|
+
* .hgsubstate, lib/pg.rb:
|
364
|
+
Fix require for natively-compiled extension under Windows. (fixes
|
365
|
+
#55)
|
366
|
+
[89979f184b22]
|
273
367
|
|
274
|
-
|
275
|
-
|
368
|
+
* ext/pg.c, spec/pgconn_spec.rb:
|
369
|
+
Change rb_yield_splat() to rb_yield_values() for compatibility with
|
370
|
+
Rubinius. (fixes #54)
|
371
|
+
[9e11be78bfe4]
|
276
372
|
|
277
|
-
|
278
|
-
Bumped version to 0.9.0
|
373
|
+
2010-12-01 Michael Granger <ged@FaerieMUD.org>
|
279
374
|
|
280
|
-
|
281
|
-
|
375
|
+
* .hgtags:
|
376
|
+
Removed tag 0.10.0
|
377
|
+
[eb0d4b1df418]
|
282
378
|
|
283
|
-
|
284
|
-
|
379
|
+
* .hgtags:
|
380
|
+
Added tag v0.10.0 for changeset 1822a169c4fe
|
381
|
+
[78a63dce1491]
|
285
382
|
|
286
|
-
|
287
|
-
|
383
|
+
* spec/pgconn_spec.rb:
|
384
|
+
Fix deprecated expectation.
|
385
|
+
[469211f606ea]
|
288
386
|
|
289
|
-
|
290
|
-
|
387
|
+
* .hgpatchinfo/pg90_notify_payload.dep,
|
388
|
+
.hgpatchinfo/pg90_notify_payload.desc:
|
389
|
+
Merged in Mahlon's wait_for_notify update for PostgreSQL 9's
|
390
|
+
notification payload
|
391
|
+
[857722663a6f]
|
291
392
|
|
292
|
-
|
293
|
-
|
393
|
+
* Closing pg90_notify_payload pbranch for merge into default
|
394
|
+
[8ffb67a23f45] <pg90_notify_payload>
|
294
395
|
|
295
|
-
|
296
|
-
|
396
|
+
* ext/pg.c, spec/pgconn_spec.rb:
|
397
|
+
Finished the merge of default; fixed specs under 1.9.2.
|
398
|
+
[de86dca00ad2] <pg90_notify_payload>
|
297
399
|
|
298
|
-
|
299
|
-
|
400
|
+
* .hgpatchinfo/pg90_notify_payload.dep, ext/extconf.rb, ext/pg.c,
|
401
|
+
spec/lib/helpers.rb, spec/pgconn_spec.rb:
|
402
|
+
merge of default
|
403
|
+
[60664b2495cf] <pg90_notify_payload>
|
404
|
+
|
405
|
+
* .hgtags:
|
406
|
+
Added tag 0.10.0 for changeset 1822a169c4fe
|
407
|
+
[148d0cc3db4a]
|
408
|
+
|
409
|
+
* .hgsigs:
|
410
|
+
Added signature for changeset 3993015a841e
|
411
|
+
[1822a169c4fe] [v0.10.0]
|
412
|
+
|
413
|
+
* .hgignore, Rakefile.local:
|
414
|
+
Ignore the yard cache, handle missing rake-compiler for non-compile-
|
415
|
+
related tasks.
|
416
|
+
[3993015a841e]
|
417
|
+
|
418
|
+
2010-11-11 Michael Granger <ged@FaerieMUD.org>
|
419
|
+
|
420
|
+
* .hgsubstate, Rakefile, ext/pg.c, project.yml:
|
421
|
+
Build/gem updates
|
422
|
+
* Updated the build system with Rubygems suggestions from RubyConf
|
423
|
+
2010
|
424
|
+
* Bumped version to 0.10.0 to follow the Semantic Versioning spec
|
425
|
+
(http://semver.org/)
|
426
|
+
[71786704391b]
|
427
|
+
|
428
|
+
* README, spec/pgconn_spec.rb:
|
429
|
+
Added a spec for collapsed notifications.
|
430
|
+
[899329ce1b4e]
|
431
|
+
|
432
|
+
2010-11-01 Michael Granger <ged@FaerieMUD.org>
|
433
|
+
|
434
|
+
* Rakefile.local, ext/extconf.rb:
|
435
|
+
More work trying to get the Windows-native gem to compile. No luck,
|
436
|
+
but it's closer.
|
437
|
+
* Revert the 1.8 build back to 1.8.6 on the advice of Louis Lavena's
|
438
|
+
blog: http://bit.ly/bFs4hj
|
439
|
+
* Undo the ARCHLIBDIR change
|
440
|
+
* Don't depend on the static-build option for the cross-compilation
|
441
|
+
section of extconf.rb to facilitate easy testing while the static
|
442
|
+
build parts are commented out.
|
443
|
+
[413f9e81e3ea]
|
444
|
+
|
445
|
+
2010-10-31 Michael Granger <ged@FaerieMUD.org>
|
446
|
+
|
447
|
+
* ext/compat.c, ext/pg.c, spec/lib/helpers.rb, spec/m17n_spec.rb,
|
448
|
+
spec/pgconn_spec.rb:
|
449
|
+
Fixed issue with PGconn#wait_for_notify that caused it to miss
|
450
|
+
notifications that happened after the LISTEN but before the
|
451
|
+
wait_for_notify.
|
452
|
+
[3402babf2cdf]
|
453
|
+
|
454
|
+
2010-10-29 Michael Granger <ged@FaerieMUD.org>
|
455
|
+
|
456
|
+
* .hgsubstate, Rakefile, project.yml, spec/m17n_spec.rb,
|
457
|
+
spec/pgconn_spec.rb, spec/pgresult_spec.rb:
|
458
|
+
Updated to RSpec 2.0
|
459
|
+
[9d8f82721f69]
|
460
|
+
|
461
|
+
2010-10-11 Michael Granger <ged@FaerieMUD.org>
|
462
|
+
|
463
|
+
* Rakefile.local, ext/extconf.rb, misc/openssl-1.0.0a.mingw-
|
464
|
+
nocapi.patch:
|
465
|
+
Fixes for windows static build.
|
466
|
+
* Disable capi engine in OpenSSL build until it's fixed
|
467
|
+
(http://rt.openssl.org/Ticket/Display.html?id=1747)
|
468
|
+
* Rearrange some stuff in Rakefile.local to make the logic more
|
469
|
+
obvious
|
470
|
+
[b2df89600d95]
|
471
|
+
|
472
|
+
2010-10-08 Michael Granger <ged@FaerieMUD.org>
|
473
|
+
|
474
|
+
* ext/extconf.rb, ext/pg.c, spec/lib/helpers.rb, spec/pgconn_spec.rb:
|
475
|
+
Added support for the payload of NOTIFY events (w/Mahlon E. Smith)
|
476
|
+
[193043bf2244] <pg90_notify_payload>
|
477
|
+
|
478
|
+
* .hgpatchinfo/pg90_notify_payload.dep,
|
479
|
+
.hgpatchinfo/pg90_notify_payload.desc:
|
480
|
+
start new patch on default
|
481
|
+
[ce9b893ff824] <pg90_notify_payload>
|
482
|
+
|
483
|
+
* Rakefile.local, ext/extconf.rb:
|
484
|
+
Fixes to get the static windows build to work with PostgreSQL 9.0
|
485
|
+
and OpenSSL 1.0.0a
|
486
|
+
[49ff3442c2ee]
|
487
|
+
|
488
|
+
2010-09-28 Michael Granger <ged@FaerieMUD.org>
|
489
|
+
|
490
|
+
* Rakefile.local:
|
491
|
+
More work trying to get the native windows gem to compile under
|
492
|
+
PostgreSQL 9.0
|
493
|
+
[1fa5cd6851e3]
|
494
|
+
|
495
|
+
* sample/copyfrom.rb:
|
496
|
+
Adding a sample of how to use COPY FROM
|
497
|
+
[c9fb855a7d50]
|
498
|
+
|
499
|
+
2010-09-24 Michael Granger <ged@FaerieMUD.org>
|
500
|
+
|
501
|
+
* .hgsubstate, Rakefile, Rakefile.local, project.yml,
|
502
|
+
spec/m17n_spec.rb, spec/pgconn_spec.rb, spec/pgresult_spec.rb:
|
503
|
+
Fixes for Ruby 1.9.2.
|
504
|
+
[d85ff87e5949]
|
505
|
+
|
506
|
+
* Rakefile, ext/pg.c, lib/pg.rb, spec/lib/helpers.rb,
|
507
|
+
spec/pgconn_spec.rb:
|
508
|
+
Version bump, updates for PostgreSQL 9.
|
509
|
+
* Bump version to 0.9.1.
|
510
|
+
* Fixed the specs for JRuby (and other no-fork Ruby interpreters)
|
511
|
+
[5dbc24f596c8]
|
300
512
|
|
301
|
-
|
302
|
-
Notify spec fixes, cleanup, Rakefile clean task adjustments.
|
513
|
+
2010-08-03 Michael Granger <ged@FaerieMUD.org>
|
303
514
|
|
304
|
-
|
305
|
-
|
515
|
+
* .hgsubstate, Rakefile:
|
516
|
+
Merged JRuby fix into the build system, pulled down other build-
|
517
|
+
system updates. Thanks to timfel for the fix.
|
518
|
+
[1f8dd92ca16c]
|
306
519
|
|
307
|
-
|
308
|
-
Merged Mahlon's examples-directory patch from default.
|
520
|
+
2010-08-03 Tim Felgentreff <timfelgentreff@gmail.com>
|
309
521
|
|
310
|
-
|
311
|
-
|
522
|
+
* Rakefile:
|
523
|
+
Fix to allow Rakefile to work on JRuby
|
524
|
+
[4f705f605e51]
|
312
525
|
|
313
|
-
|
314
|
-
Add a sample (usage example) for wait_for_notify().
|
526
|
+
2010-08-02 Michael Granger <ged@FaerieMUD.org>
|
315
527
|
|
316
|
-
|
317
|
-
|
528
|
+
* ext/pg.c, spec/m17n_spec.rb:
|
529
|
+
Honor Ruby's default_internal encoding when connecting via the
|
530
|
+
synchronous interface; fixes #33
|
531
|
+
[92cc211ef553]
|
318
532
|
|
319
|
-
|
320
|
-
|
533
|
+
* ext/extconf.rb:
|
534
|
+
Don't treat the installed pg_config not having archflags as an
|
535
|
+
error; fixes #39
|
536
|
+
[a2237e39d399]
|
321
537
|
|
322
|
-
|
323
|
-
|
538
|
+
* Rakefile.local, lib/pg.rb:
|
539
|
+
Install extension under arch-specific directory (RPS fix)
|
540
|
+
[14b882b7b88c]
|
324
541
|
|
325
|
-
|
326
|
-
Fixups after conversion to Mercurial, fixing tests broken by the changes in the previous commit.
|
542
|
+
2010-07-26 Michael Granger <ged@FaerieMUD.org>
|
327
543
|
|
328
|
-
|
329
|
-
|
544
|
+
* .hgsub, .hgsubstate:
|
545
|
+
Adding rake tasklibs as a sub-repo
|
546
|
+
[b0a5ae858569]
|
330
547
|
|
331
|
-
|
332
|
-
Applied patch #26277; thanks to Nikolai Lugovoi.
|
548
|
+
2010-07-21 Michael Granger <ged@FaerieMUD.org>
|
333
549
|
|
334
|
-
|
335
|
-
|
550
|
+
* spec/pgresult_spec.rb:
|
551
|
+
Removed spec for issue #22, as the library is behaving the same as
|
552
|
+
the underlying library; closes #22
|
553
|
+
[37835e3b8701]
|
336
554
|
|
337
|
-
|
338
|
-
|
555
|
+
* Merged with 168:dfaa59767b2e
|
556
|
+
[86f238c12fa3]
|
339
557
|
|
340
|
-
|
341
|
-
|
558
|
+
* spec/pgconn_spec.rb:
|
559
|
+
Reworded an example's description and added a specific transaction-
|
560
|
+
abort spec
|
561
|
+
[dfaa59767b2e]
|
342
562
|
|
343
|
-
|
344
|
-
* Applied patch from (rubyforge:25931), fixes (rubyforge:22925).
|
563
|
+
2010-06-22 Michael Granger <ged@FaerieMUD.org>
|
345
564
|
|
346
|
-
|
347
|
-
|
565
|
+
* Rakefile.local:
|
566
|
+
Merged with 170:5418a1d86d91
|
567
|
+
[e756f8fb15d8]
|
348
568
|
|
349
|
-
|
350
|
-
|
569
|
+
* Rakefile.local, ext/pg.c, sample/test_binary_values.rb:
|
570
|
+
Adding example of invalid binary data issue (refs #22), fixing
|
571
|
+
EXT_SO path
|
572
|
+
[8922f0a8ee44]
|
351
573
|
|
352
|
-
|
353
|
-
Don't call file trace on windows.
|
574
|
+
2010-02-25 Michael Granger <ged@FaerieMUD.org>
|
354
575
|
|
355
|
-
|
356
|
-
|
576
|
+
* spec/pgresult_spec.rb:
|
577
|
+
Adding a spec to test bug #12
|
578
|
+
[cb92aa4b6599]
|
357
579
|
|
358
|
-
|
359
|
-
|
580
|
+
* project.yml:
|
581
|
+
Adding rake-compiler to the dev dependencies
|
582
|
+
[86026f5ecf70]
|
360
583
|
|
361
|
-
|
362
|
-
Fix socket leak when connection error occurs.
|
584
|
+
2010-06-22 Michael Granger <ged@FaerieMUD.org>
|
363
585
|
|
364
|
-
|
365
|
-
|
586
|
+
* Rakefile.local, ext/extconf.rb:
|
587
|
+
Cross-compile tasks cleanup, extconf diagnostic improvement.
|
588
|
+
* Cleaned up the cross-compilation task, factored stuff up into
|
589
|
+
constants, used pure-ruby download, untar, etc.
|
590
|
+
* Improved diagnostics of failed extconf runs (refs #32, #24)
|
591
|
+
[5418a1d86d91]
|
366
592
|
|
367
|
-
|
368
|
-
|
593
|
+
* .hgignore:
|
594
|
+
Adding some more stuff to the ignorefile
|
595
|
+
[07502a793f3a]
|
369
596
|
|
370
|
-
|
371
|
-
|
597
|
+
* sample/losample.rb:
|
598
|
+
Modified the large-object sample script to reflect the pg library's
|
599
|
+
API (refs #35)
|
600
|
+
[873867122e80]
|
372
601
|
|
373
|
-
|
374
|
-
Ignore rdoc directory, pkg directory, nbproject directory.
|
602
|
+
2010-06-21 Michael Granger <ged@FaerieMUD.org>
|
375
603
|
|
376
|
-
|
377
|
-
|
604
|
+
* .hgignore, Rakefile:
|
605
|
+
Updating build system, adding .orig files to ignore list.
|
606
|
+
[ea6eae59e917]
|
378
607
|
|
379
|
-
|
380
|
-
Split out building on mingw to a separate rake file.
|
608
|
+
2010-06-14 Michael Granger <ged@FaerieMUD.org>
|
381
609
|
|
382
|
-
|
383
|
-
|
610
|
+
* spec/m17n_spec.rb:
|
611
|
+
Whitespace fix
|
612
|
+
[bb8a3baad96e]
|
384
613
|
|
385
|
-
|
386
|
-
Added rdoc task so you can type rake rdoc. Makes it easier to debug rdoc documentation.
|
614
|
+
2010-05-26 Michael Granger <ged@FaerieMUD.org>
|
387
615
|
|
388
|
-
|
389
|
-
|
616
|
+
* ext/extconf.rb:
|
617
|
+
Actually, just use the cflags from pg_config, which should resolve
|
618
|
+
both the -Wall and the -lsocket issue (refs #30)
|
619
|
+
[45e6518b780d]
|
390
620
|
|
391
|
-
|
392
|
-
|
621
|
+
* ext/extconf.rb:
|
622
|
+
Fixing compilation for non-GCC platforms (fixes #30)
|
623
|
+
[730fb885ce08]
|
393
624
|
|
394
|
-
|
395
|
-
First stab at getting test to work on Windows. Windows does not support unix-sockets, so have to use tcp/ip sockets. Also windows requires that command line parameters are quoted with " and not '.
|
625
|
+
2010-03-16 Michael Granger <ged@FaerieMUD.org>
|
396
626
|
|
397
|
-
|
398
|
-
|
627
|
+
* ext/extconf.rb:
|
628
|
+
Fixed typo in ext/extconf.rb -- thanks to Keith Cascio for spotting
|
629
|
+
this. Closes #27.
|
630
|
+
[a47ffe890970]
|
399
631
|
|
400
|
-
|
401
|
-
Fix up memory handling for Windows (match ALLOC with xfree).
|
632
|
+
2010-02-28 Michael Granger <ged@FaerieMUD.org>
|
402
633
|
|
403
|
-
|
404
|
-
|
634
|
+
* .hgtags:
|
635
|
+
Added tag 0.9.0 for changeset da726282493c
|
636
|
+
[9a296096f7e9]
|
405
637
|
|
406
|
-
|
407
|
-
|
638
|
+
* .hgsigs:
|
639
|
+
Added signature for changeset 872063e42b12
|
640
|
+
[da726282493c] [0.9.0, v0.9.0]
|
408
641
|
|
409
|
-
|
410
|
-
Merged revisions 175 via svnmerge from
|
642
|
+
2010-02-19 Michael Granger <ged@FaerieMUD.org>
|
411
643
|
|
412
|
-
|
413
|
-
|
644
|
+
* Rakefile.local, ext/extconf.rb, ext/pg.c, ext/pg.h, lib/pg.rb:
|
645
|
+
Adding "fat gem" compatible loader, set the default RUBY_CC_VERSION.
|
646
|
+
[872063e42b12]
|
414
647
|
|
415
|
-
|
416
|
-
|
648
|
+
* Rakefile, Rakefile.local:
|
649
|
+
Updated the Rakefile so it includes itself in gems. (closes #15)
|
650
|
+
Thanks to flameeyes@bitbucket for noticing this.
|
651
|
+
[ab525ca90531]
|
417
652
|
|
418
|
-
|
419
|
-
Update spec tests.
|
653
|
+
2010-02-18 Michael Granger <ged@FaerieMUD.org>
|
420
654
|
|
421
|
-
|
422
|
-
|
655
|
+
* ext/pg.c, spec/pgconn_spec.rb:
|
656
|
+
Applied patch for PGconn#async_exec to make it have the same
|
657
|
+
semantics as PGconn#exec (closes #19). Thanks again to Lars Kanis
|
658
|
+
for the patch.
|
659
|
+
[9c65eb905416]
|
423
660
|
|
424
|
-
|
425
|
-
Fix PGconn#async_exec and PGconn#get_last_result to properly clear all
|
661
|
+
2010-02-17 Michael Granger <ged@FaerieMUD.org>
|
426
662
|
|
427
|
-
|
428
|
-
|
663
|
+
* Rakefile:
|
664
|
+
Updated the Rakefile to always default the package version even if a
|
665
|
+
version can't be read from the VERSION_FILE.
|
666
|
+
[b0017ac0ecb5]
|
429
667
|
|
430
|
-
|
431
|
-
|
668
|
+
* spec/lib/helpers.rb:
|
669
|
+
Improving spec database setup function (closes #18). Thanks to Lars
|
670
|
+
Kanis for another fine patch.
|
671
|
+
[c7d5458af696]
|
432
672
|
|
433
|
-
|
434
|
-
|
673
|
+
* spec/m17n_spec.rb:
|
674
|
+
Ack! Removing typo
|
675
|
+
[39b11474d035]
|
435
676
|
|
436
|
-
|
437
|
-
|
677
|
+
* spec/m17n_spec.rb:
|
678
|
+
Adding a test to ensure the result encoding remains the same even
|
679
|
+
when client_encoding in the connection changes.
|
680
|
+
[9d54bbc98488]
|
438
681
|
|
439
|
-
|
440
|
-
Add ext_helper.rb
|
682
|
+
2010-01-27 COMCARD-NT\kanis <COMCARD-NT\kanis@c1170lx.comcard-nt.de>
|
441
683
|
|
442
|
-
|
443
|
-
|
684
|
+
* spec/lib/helpers.rb:
|
685
|
+
drop an recreate the test db for each test
|
686
|
+
[bbe869c00d46] <setting_up_test_database_patch>
|
444
687
|
|
445
|
-
|
446
|
-
Initialized merge tracking via "svnmerge" with revisions "1-146" from
|
688
|
+
2010-01-26 kueche <kueche@eee>
|
447
689
|
|
448
|
-
|
449
|
-
|
690
|
+
* ext/pg.c:
|
691
|
+
same behavior for async_exec like exec
|
692
|
+
[fdb088fca6e0] <async_exec_behavior_patch>
|
450
693
|
|
451
|
-
|
452
|
-
|
694
|
+
* spec/lib/helpers.rb:
|
695
|
+
improved test database setup
|
696
|
+
[825e424a4b08] <setting_up_test_database_patch>
|
453
697
|
|
454
|
-
|
455
|
-
Applied build patch from Brett Neumeier. Thanks!
|
698
|
+
2010-01-18 Michael Granger <ged@FaerieMUD.org>
|
456
699
|
|
457
|
-
|
458
|
-
|
700
|
+
* ext/extconf.rb:
|
701
|
+
Made the 'make_header' in the extconf more clear.
|
702
|
+
[31afece7c203]
|
459
703
|
|
460
|
-
|
461
|
-
Changed all temporary allocations to use ALLOC_N (heap
|
704
|
+
2010-01-13 Jeff Davis <pgsql@j-davis.com>
|
462
705
|
|
463
|
-
|
464
|
-
|
706
|
+
* spec/pgconn_spec.rb:
|
707
|
+
Merged
|
708
|
+
[d9c920068712]
|
465
709
|
|
466
|
-
|
467
|
-
|
710
|
+
* spec/pgconn_spec.rb:
|
711
|
+
In rspec tests, replace the pattern: CREATE TABLE ... INSERT ...
|
712
|
+
SELECT ... with: VALUES ...
|
713
|
+
[294eb6d5530b]
|
468
714
|
|
469
|
-
|
470
|
-
|
715
|
+
2010-01-11 Michael Granger <ged@FaerieMUD.org>
|
716
|
+
|
717
|
+
* ext/extconf.rb, ext/pg.c, spec/pgconn_spec.rb:
|
718
|
+
A better fix for the PGconn#block weirdness on Win32 (closes #16).
|
719
|
+
* Replaced the WIN32 conditionals in PGconn#block with a much simpler
|
720
|
+
solution.
|
721
|
+
* Added a few specs to test PGconn#block based on Lars Kanis's
|
722
|
+
proposed one.
|
471
723
|
|
472
|
-
|
473
|
-
|
724
|
+
Thanks to both Lars and Shun for all their help with this issue.
|
725
|
+
[74fab32c2687]
|
474
726
|
|
475
|
-
|
476
|
-
* added PGconn#cancel() -> String
|
727
|
+
2010-01-11 COMCARD-NT\kanis <COMCARD-NT\kanis@c1170lx.comcard-nt.de>
|
477
728
|
|
478
|
-
|
479
|
-
|
729
|
+
* ext/pg.c:
|
730
|
+
remaped to async_exec
|
731
|
+
[df509c9a45c0] <always_use_async_exec>
|
480
732
|
|
481
|
-
|
482
|
-
|
733
|
+
* merged from default
|
734
|
+
[7f9623f8af4c] <workaround_broken_rb_thread_select>
|
483
735
|
|
484
|
-
|
485
|
-
This commmit just cleans up indenting and coding
|
736
|
+
2010-01-06 Michael Granger <ged@FaerieMUD.org>
|
486
737
|
|
487
|
-
|
488
|
-
|
738
|
+
* README:
|
739
|
+
Rearranged the sections of the README.
|
740
|
+
[f8dfc1b6c51c]
|
489
741
|
|
490
|
-
|
491
|
-
re-adding mkrf_config.rb
|
742
|
+
2010-01-08 COMCARD-NT\kanis <COMCARD-NT\kanis@c1170lx.comcard-nt.de>
|
492
743
|
|
493
|
-
|
494
|
-
|
744
|
+
* ext/pg.c, ext/pg.h, spec/pgconn_spec.rb:
|
745
|
+
reworked patch that should not block a second thread
|
746
|
+
[01ad62c60c74] <workaround_broken_rb_thread_select>
|
495
747
|
|
496
|
-
|
497
|
-
|
748
|
+
* ext/pg.c:
|
749
|
+
merged with default
|
750
|
+
[d8936a677dd0] <workaround_broken_rb_thread_select>
|
498
751
|
|
499
|
-
|
500
|
-
* 7.3 compatibility fixes
|
752
|
+
2010-01-05 Michael Granger <ged@FaerieMUD.org>
|
501
753
|
|
502
|
-
|
503
|
-
|
754
|
+
* README.OS_X:
|
755
|
+
Updating MacOS X README.
|
756
|
+
[0df792de2a19]
|
504
757
|
|
505
|
-
|
506
|
-
* added SQLSTATE test
|
758
|
+
2010-01-04 Michael Granger <ged@FaerieMUD.org>
|
507
759
|
|
508
|
-
|
509
|
-
|
760
|
+
* ext/pg.c:
|
761
|
+
Work around broken rb_thread_select() on win32; thanks to Lars Kanis
|
762
|
+
for the patch!
|
763
|
+
[2894973bc63f]
|
510
764
|
|
511
|
-
|
512
|
-
|
765
|
+
* ext/pg.c, spec/pgresult_spec.rb:
|
766
|
+
Reverted removal of PGresult::InvalidOid, fixed broken spec.
|
767
|
+
[88dacdb9c97d]
|
768
|
+
|
769
|
+
* .hgignore, README, Rakefile, ext/pg.c, project.yml:
|
770
|
+
Ignore some generated files, documentation work, removed type OID
|
771
|
+
constants.
|
772
|
+
* Updated the various READMEs with more up-to-date info.
|
773
|
+
* Updated build system (rdoc fixes, packaged files)
|
774
|
+
* Fixed some RDoc problems and formatting glitches
|
775
|
+
* Removed the type OID constants from PGresult; I was including them
|
776
|
+
so they could be used for comparison with PGresult#ftype return
|
777
|
+
values. RhodiumToad on #postgresql@freenode showed me the
|
778
|
+
format_type() SQL function, so I added an example of how to get
|
779
|
+
the same information via that function instead, which is
|
780
|
+
guaranteed to be correct even if src/include/catalog/pg_type.h
|
781
|
+
changes.
|
782
|
+
[739cec560448]
|
783
|
+
|
784
|
+
* README.windows, Rakefile.local, ext/extconf.rb:
|
785
|
+
Applied patch for static cross-compilation of win32 gem from Lars
|
786
|
+
Kanis with a few changes to support MacOS X as a host as well.
|
787
|
+
Closes #13. Thanks Lars!
|
788
|
+
[38a0d2a90664]
|
789
|
+
|
790
|
+
2010-01-04 COMCARD-NT\kanis <COMCARD-NT\kanis@c1170lx.comcard-nt.de>
|
791
|
+
|
792
|
+
* README.windows, Rakefile.local, ext/extconf.rb:
|
793
|
+
win32 cross-compilation patch applied
|
794
|
+
[b55949db8e2e] <cross-compilation-with-rake-compiler>
|
795
|
+
|
796
|
+
* ext/pg.c:
|
797
|
+
win32 workaround rb_thread_select() applied
|
798
|
+
[78fbefffe863] <workaround_broken_rb_thread_select>
|
799
|
+
|
800
|
+
2010-01-03 Michael Granger <ged@FaerieMUD.org>
|
801
|
+
|
802
|
+
* .irbrc, COPYING.txt, ChangeLog, MANIFEST, README, README.OS_X,
|
803
|
+
Rakefile, Rakefile.local, ext/extconf.rb, ext/pg.h, ext_helper.rb:
|
804
|
+
Updated build system
|
805
|
+
* Backed out the experimental arch-specific subdir of lib
|
806
|
+
* Removed second copy of GPL; one is more than enough.
|
807
|
+
* Removed the ChangeLog -- this should be built on demand instead of
|
808
|
+
checked in.
|
809
|
+
* Removed the out-of-date and now-superfluous MANIFEST
|
810
|
+
* Started updating the remaining documentation to reflect the current
|
811
|
+
state of the library/build instructions/people.
|
812
|
+
* Pass options to 'rake' through to extconf.rb, allowing 'rake --
|
813
|
+
--with-pg-dir=/path/to/pg'
|
814
|
+
* Updated the handling of compilation on MacOS X to use the
|
815
|
+
architectures common to both libpq and Ruby.
|
816
|
+
* Use an extconf.h for configuration
|
817
|
+
* Removed the now-unused ext_helper.rb
|
818
|
+
|
819
|
+
Still more work to be done, but I'm checkpointing this so it's not
|
820
|
+
too huge.
|
821
|
+
[f31202539234]
|
822
|
+
|
823
|
+
2010-01-02 Michael Granger <ged@FaerieMUD.org>
|
824
|
+
|
825
|
+
* .hgtags:
|
826
|
+
Added tag 0.8.0 for changeset 7fbe4187e9e5
|
827
|
+
[cc09390cb0a8]
|
828
|
+
|
829
|
+
2009-12-31 Michael Granger <ged@FaerieMUD.org>
|
830
|
+
|
831
|
+
* Closing branch
|
832
|
+
[d5fa3e079a55] <i17n-19-patches>
|
833
|
+
|
834
|
+
* ext/pg.c:
|
835
|
+
Bumped version to 0.9.0
|
836
|
+
[05834d47aac3]
|
837
|
+
|
838
|
+
* ext/mkrf_config.rb:
|
839
|
+
Merged i17n-19-patches branch
|
840
|
+
[0997a0aa7624]
|
841
|
+
|
842
|
+
2009-12-30 COMCARD-NT\kanis <COMCARD-NT\kanis@c1170lx.comcard-nt.de>
|
843
|
+
|
844
|
+
* README.windows, Rakefile.local, ext/extconf.rb:
|
845
|
+
static library building for cross compilation
|
846
|
+
[065a842e7bf8] <i17n-19-patches>
|
847
|
+
|
848
|
+
2009-12-28 Michael Granger <ged@FaerieMUD.org>
|
849
|
+
|
850
|
+
* .hgignore, ext/pg.c, spec/pgconn_spec.rb:
|
851
|
+
Make PGconn.connect_start use PQconnectStart instead of PQconnectdb
|
852
|
+
so asynchronous connection works. Fixes #14; thanks to 'ibc'
|
853
|
+
@bitbucket for submitting the test case that brought this to my
|
854
|
+
attention.
|
855
|
+
[f5af71167dea] <i17n-19-patches>
|
856
|
+
|
857
|
+
* ext/pg.c, spec/pgconn_spec.rb:
|
858
|
+
Added column-selection methods to PGresult (#field_values and
|
859
|
+
#column_values). Closes #12. Thanks to Sugano Yoshihisa for the
|
860
|
+
patch on which these methods were based.
|
861
|
+
[42919e2a4ef8] <i17n-19-patches>
|
862
|
+
|
863
|
+
2009-12-23 Michael Granger <ged@FaerieMUD.org>
|
864
|
+
|
865
|
+
* ext/pg.c, spec/pgconn_spec.rb:
|
866
|
+
Fixed #11: encrypt_arguments doesn't receive password, thanks to
|
867
|
+
Yuki Miyauchi for the patch.
|
868
|
+
[39fdb2552163] <i17n-19-patches>
|
869
|
+
|
870
|
+
* .hgignore, ext/pg.c, spec/pgconn_spec.rb:
|
871
|
+
Fixed infinite loop in async_exec("COPY"), thanks to Mike Pomraning
|
872
|
+
for the patch. Closes #9.
|
873
|
+
[df770b6ad237] <i17n-19-patches>
|
874
|
+
|
875
|
+
2009-12-16 Michael Granger <ged@FaerieMUD.org>
|
876
|
+
|
877
|
+
* .hgignore, Contributors, Rakefile, Rakefile.local, ext/extconf.rb,
|
878
|
+
ext/pg.c, project.yml, spec/m17n_spec.rb, spec/pgconn_spec.rb,
|
879
|
+
spec/pgresult_spec.rb:
|
880
|
+
New build system, build with rake-compiler, added PGconn::VERSION.
|
881
|
+
* Replaced the existing Rakefile with a small core set of tasks and
|
882
|
+
task libraries under rake/.
|
883
|
+
* Added a PGconn::VERSION constant (closes #4).
|
884
|
+
* Replaced the ARCHFLAGS warning under Darwin with code to duplicate
|
885
|
+
the archflags Postgres was compiled with.
|
886
|
+
[4cbcf197cb82] <i17n-19-patches>
|
887
|
+
|
888
|
+
2009-12-15 Michael Granger <ged@FaerieMUD.org>
|
889
|
+
|
890
|
+
* Rakefile, ext/pg.c, spec/lib/helpers.rb, spec/pgconn_spec.rb:
|
891
|
+
Applied Rubyforge patch 26282; fixes #1. Thanks to Nikolai Lugovoi
|
892
|
+
for the patch.
|
893
|
+
[6ba661bbdb28] <i17n-19-patches>
|
894
|
+
|
895
|
+
2009-12-11 Michael Granger <ged@FaerieMUD.org>
|
896
|
+
|
897
|
+
* Rakefile, ext/pg.c, spec/lib/helpers.rb, spec/pgconn_spec.rb:
|
898
|
+
Notify spec fixes, cleanup, Rakefile clean task adjustments.
|
899
|
+
* Made PGconn#wait_for_notify do more error-checking to track down a
|
900
|
+
problem with running it in transactions.
|
901
|
+
* Moved PGconn#wait_for_notify source closer to PGconn#notifies
|
902
|
+
* Split some stuff that used to get removed by 'clean' into the
|
903
|
+
'clobber' task instead.
|
904
|
+
[3e42badc15de] <i17n-19-patches>
|
905
|
+
|
906
|
+
* .hgignore, spec/lib/helpers.rb, spec/pgconn_spec.rb:
|
907
|
+
Simplified the spec for PGconn#notify, still segfaulting.
|
908
|
+
[659d80221a45] <i17n-19-patches>
|
909
|
+
|
910
|
+
* Merged Mahlon's examples-directory patch from default.
|
911
|
+
[26b614a7ece8] <i17n-19-patches>
|
912
|
+
|
913
|
+
* ext/pg.c, spec/pgconn_spec.rb:
|
914
|
+
Merged Mahlon's notify patch from default.
|
915
|
+
[66234afab283] <i17n-19-patches>
|
916
|
+
|
917
|
+
2009-12-10 Mahlon E. Smith <mahlon@martini.nu>
|
918
|
+
|
919
|
+
* sample/notify_wait.rb:
|
920
|
+
Add a sample (usage example) for wait_for_notify().
|
921
|
+
[1e6349a799c3]
|
922
|
+
|
923
|
+
* ext/pg.c, sample/psql.rb, sample/psqlHelp.rb, spec/pgconn_spec.rb:
|
924
|
+
* Small documentation fix for conn.notifies()
|
925
|
+
* Add wait_for_notify(), a method to do a blocking select() for a
|
926
|
+
NOTIFY event.
|
927
|
+
[a3434e641f6a]
|
928
|
+
|
929
|
+
2009-10-29 Michael Granger <ged@FaerieMUD.org>
|
930
|
+
|
931
|
+
* ext/mkrf_config.rb:
|
932
|
+
Remove old mkrf config file to avoid confusion
|
933
|
+
[59549227d7c3] <i17n-19-patches>
|
934
|
+
|
935
|
+
2009-10-28 Michael Granger <ged@FaerieMUD.org>
|
936
|
+
|
937
|
+
* .hgignore, ext/pg.c, spec/pgresult_spec.rb:
|
938
|
+
Write specs for and applied patch #26283; thanks to Nikolai Lugovoi.
|
939
|
+
[f30139fb0587] <i17n-19-patches>
|
940
|
+
|
941
|
+
* .hgignore, spec/data/expected_trace.out, spec/m17n_spec.rb,
|
942
|
+
spec/pgconn_spec.rb:
|
943
|
+
Fixups after conversion to Mercurial, fixing tests broken by the
|
944
|
+
changes in the previous commit.
|
945
|
+
* Fixed differences in expected trace output caused by every test
|
946
|
+
being wrapped in a transaction.
|
947
|
+
* Fixed require-order bug in two of the specs
|
948
|
+
* Corrected a mis-paste in the m17n spec before:all block
|
949
|
+
[a41d4291ffbb] <i17n-19-patches>
|
950
|
+
|
951
|
+
* Rakefile, spec/lib/helpers.rb, spec/m17n_spec.rb,
|
952
|
+
spec/pgconn_spec.rb, spec/pgresult_spec.rb:
|
953
|
+
* Made spec output elide output from the command line by default,
|
954
|
+
and log everything for diagnostics.
|
955
|
+
* Factored out the database setup and teardown functions into helpers,
|
956
|
+
added a collection of other helper functions for specs.
|
957
|
+
* Added specs to cover behavior around Nikolai Lugovoi's patch
|
958
|
+
(#26283) for PGresult#fmod, #ftable, and #ftablecol prior to
|
959
|
+
applying it.
|
960
|
+
[91ee1ac36a54] <i17n-19-patches>
|
961
|
+
|
962
|
+
2009-10-17 Michael Granger <ged@FaerieMUD.org>
|
963
|
+
|
964
|
+
* .irbrc, Rakefile, ext/pg.c, ext/pg.h, spec/pgconn_spec.rb,
|
965
|
+
spec/pgresult_spec.rb:
|
966
|
+
Applied patch #26277; thanks to Nikolai Lugovoi.
|
967
|
+
* fixed number of parameters in definition of PGresult#paramtype --
|
968
|
+
expected 1 but was declared 0
|
969
|
+
* minor consistency update for range checks of column/tuple indices
|
970
|
+
* PGconn#lo_read : fixed to return string with length of really read
|
971
|
+
data, not provided length
|
972
|
+
|
973
|
+
I also added:
|
974
|
+
* Constants for paramtype Oids.
|
975
|
+
* A couple of additional rake tasks
|
976
|
+
* Append PQerrorMessage to some exception messages
|
977
|
+
* Specs for the above patch
|
978
|
+
[0b28f9bd8935] <i17n-19-patches>
|
979
|
+
|
980
|
+
2009-10-16 Michael Granger <ged@FaerieMUD.org>
|
981
|
+
|
982
|
+
* Rakefile, ext/extconf.rb, ext/pg.c, ext/pg.h, spec/m17n_spec.rb,
|
983
|
+
spec/pgconn_spec.rb, spec/pgresult_spec.rb:
|
984
|
+
Build and warnings cleanup.
|
985
|
+
* Added a :default task
|
986
|
+
* Made spec execution quieter
|
987
|
+
* Silenced warning about 'dup()' by including unistd.h if we have it.
|
988
|
+
* Silenced warnings about generated exception messages by adding a
|
989
|
+
format.
|
990
|
+
[cb5335861c5d] <i17n-19-patches>
|
991
|
+
|
992
|
+
2009-08-28 Michael Granger <ged@FaerieMUD.org>
|
993
|
+
|
994
|
+
* ext/pg.c, spec/m17n_spec.rb:
|
995
|
+
Applied patch #26116; thanks to Nikolai Lugovoi.
|
996
|
+
* apply client encoding to result of @conn.escape(string)
|
997
|
+
* set ASCII_8BIT for results returned in binary format
|
998
|
+
* fixed memory leak on exception in @conn.escape(string) for truncated
|
999
|
+
multibyte
|
1000
|
+
[1d001b550715] <i17n-19-patches>
|
1001
|
+
|
1002
|
+
* ext/pg.c, spec/m17n_spec.rb, spec/pgconn_spec.rb,
|
1003
|
+
spec/pgresult_spec.rb:
|
1004
|
+
* Use pg_ctl -w instead of sleep for specs
|
1005
|
+
* Fix up the specs to use #external_encoding, #internal_encoding,
|
1006
|
+
and #internal_encoding=
|
1007
|
+
* Added a pending spec for Johab (I can't figure out how to return
|
1008
|
+
JOHAB-encoded results from Postgres)
|
1009
|
+
[d67c62945540] <i17n-19-patches>
|
1010
|
+
|
1011
|
+
2009-08-25 Michael Granger <ged@FaerieMUD.org>
|
1012
|
+
|
1013
|
+
* Rakefile, ext/pg.c, ext_helper.rb, spec/m17n_spec.rb,
|
1014
|
+
spec/pgconn_spec.rb, spec/pgresult_spec.rb:
|
1015
|
+
* Applied patch from (rubyforge:25931), fixes (rubyforge:22925).
|
1016
|
+
* Normalized indentation
|
1017
|
+
* Create all databases without locale to ensure consistency.
|
1018
|
+
* Fixed the gemspec to make copying of the .so to lib/ unnecessary.
|
1019
|
+
Extensions belong in ext/.
|
1020
|
+
[0524dd20fb0f] <i17n-19-patches>
|
1021
|
+
|
1022
|
+
2009-07-30 Michael Granger <ged@FaerieMUD.org>
|
1023
|
+
|
1024
|
+
* Making a branch for merging the patches and new specs to test them.
|
1025
|
+
[d0267176eb61] <i17n-19-patches>
|
1026
|
+
|
1027
|
+
2009-03-28 Jeff Davis <davis.jeffrey@gmail.com>
|
1028
|
+
|
1029
|
+
* Rakefile, spec/pgconn_spec.rb, spec/pgresult_spec.rb:
|
1030
|
+
Bump version to 0.8.0
|
1031
|
+
|
1032
|
+
Update tests.
|
1033
|
+
[7fbe4187e9e5] [0.8.0, v0.8.0]
|
1034
|
+
|
1035
|
+
2009-03-28 Charlie Savage <cfis@rubyforge.org>
|
1036
|
+
|
1037
|
+
* spec/pgconn_spec.rb:
|
1038
|
+
Don't call file trace on windows.
|
1039
|
+
[39a19c65b0a0]
|
1040
|
+
|
1041
|
+
* Updated VC2008 project
|
1042
|
+
[c4598eee6d1b]
|
1043
|
+
|
1044
|
+
* ext/vc/pg.sln, ext/vc/pg_18/pg.vcproj, ext/vc/pg_19/pg_19.vcproj:
|
1045
|
+
Updated VC2008 project
|
1046
|
+
[c75883fb5979]
|
1047
|
+
|
1048
|
+
2009-03-28 Jeff Davis <davis.jeffrey@gmail.com>
|
1049
|
+
|
1050
|
+
* ext/pg.c:
|
1051
|
+
Fix socket leak when connection error occurs.
|
1052
|
+
|
1053
|
+
Thanks to: Andrea Barisani <andrea@inversepath.com> Rob Holland
|
1054
|
+
<rob@inversepath.com>
|
1055
|
+
[4192e6d1ccc0]
|
1056
|
+
|
1057
|
+
* ext/pg.c:
|
1058
|
+
PGconn#lo_close was calling lo_unlink.
|
1059
|
+
[03d6ef0de9ef]
|
513
1060
|
|
514
|
-
|
515
|
-
|
1061
|
+
* ext/pg.h:
|
1062
|
+
Change header so it builds correctly on 1.8 and 1.9.
|
1063
|
+
[b27b4b4a54eb]
|
516
1064
|
|
517
|
-
|
518
|
-
* corrected handling of bytea when passed in binary format
|
1065
|
+
2009-03-14 Charlie Savage <cfis@rubyforge.org>
|
519
1066
|
|
520
|
-
|
521
|
-
|
1067
|
+
* ext/pg.c:
|
1068
|
+
Oops - use ALLOC_N not ALLOC, fixes compile error with VC2008.
|
1069
|
+
[f7b97416c101]
|
522
1070
|
|
523
|
-
|
524
|
-
|
1071
|
+
* spec/pgconn_spec.rb:
|
1072
|
+
Ignore rdoc directory, pkg directory, nbproject directory.
|
1073
|
+
[c0fd7531850f]
|
525
1074
|
|
526
|
-
|
527
|
-
|
1075
|
+
* ext/mingw/Rakefile:
|
1076
|
+
This rakefile is just used for installing the windows gem.
|
1077
|
+
[c675c7534c4d]
|
528
1078
|
|
529
|
-
|
530
|
-
|
1079
|
+
* ext/mingw/build.rake:
|
1080
|
+
Split out building on mingw to a separate rake file.
|
1081
|
+
[c3329724ef5b]
|
531
1082
|
|
532
|
-
|
533
|
-
|
1083
|
+
* ext/vc/pg.sln, ext/vc/pg.vcproj, ext/vc/pg_18/pg.vcproj,
|
1084
|
+
ext/vc/pg_19/pg_19.vcproj:
|
1085
|
+
Updated VC2008 projects for Ruby 1.8 and Ruby 1.9 (1.9 not quite
|
1086
|
+
setup yet).
|
1087
|
+
[01e1dbb950c8]
|
534
1088
|
|
535
|
-
|
536
|
-
|
1089
|
+
* Rakefile:
|
1090
|
+
Added rdoc task so you can type rake rdoc. Makes it easier to debug
|
1091
|
+
rdoc documentation.
|
1092
|
+
[677d3eae5b16]
|
537
1093
|
|
538
|
-
|
539
|
-
|
1094
|
+
* spec/pgresult_spec.rb:
|
1095
|
+
Windows compatibility - use tcp/ip sockets, use full path names,
|
1096
|
+
read files in binary mode.
|
1097
|
+
[c33a73c14126]
|
540
1098
|
|
541
|
-
|
542
|
-
|
1099
|
+
* spec/pgconn_spec.rb:
|
1100
|
+
Ripple port change through text. Always full path to open spec
|
1101
|
+
file.
|
1102
|
+
[241d3410b875]
|
543
1103
|
|
544
|
-
|
545
|
-
|
1104
|
+
* spec/pgconn_spec.rb:
|
1105
|
+
First stab at getting test to work on Windows. Windows does not
|
1106
|
+
support unix-sockets, so have to use tcp/ip sockets. Also windows
|
1107
|
+
requires that command line parameters are quoted with " and not '.
|
1108
|
+
[1bf29d30c16c]
|
546
1109
|
|
547
|
-
|
548
|
-
|
1110
|
+
* ext/pg.h:
|
1111
|
+
Export Init_pg in windows shared library.
|
1112
|
+
[4dae2cabb5ae]
|
549
1113
|
|
550
|
-
|
551
|
-
|
1114
|
+
* ext/pg.c:
|
1115
|
+
Fix up memory handling for Windows (match ALLOC with xfree).
|
1116
|
+
[4e9b028c55cd]
|
552
1117
|
|
553
|
-
|
554
|
-
* windows fixes (thanks Daniel Berger!)
|
1118
|
+
2009-03-06 Jeff Davis <davis.jeffrey@gmail.com>
|
555
1119
|
|
556
|
-
|
557
|
-
|
1120
|
+
* ext/pg.c:
|
1121
|
+
1.9 compatibility fixes.
|
1122
|
+
[4a9ffd0aa913]
|
558
1123
|
|
559
|
-
|
560
|
-
* properly retrieve binary data from result sets
|
1124
|
+
2008-12-03 Jeff Davis <davis.jeffrey@gmail.com>
|
561
1125
|
|
562
|
-
|
563
|
-
|
1126
|
+
* Rakefile, ext/compat.c, ext/mingw/Rakefile, ext/mingw/build.rake,
|
1127
|
+
ext/mkrf_config.rb, ext/pg.c, ext/vc/pg.sln, ext/vc/pg.vcproj:
|
1128
|
+
Add better support for windows build.
|
564
1129
|
|
565
|
-
|
566
|
-
|
1130
|
+
Big thanks to Charlie Savage.
|
1131
|
+
[7178d13749b7]
|
567
1132
|
|
568
|
-
|
569
|
-
* made exec, exec_prepared, send_query, and send_prepared with parameters
|
1133
|
+
2008-10-14 Jeff Davis <davis.jeffrey@gmail.com>
|
570
1134
|
|
571
|
-
|
572
|
-
|
1135
|
+
* ext/extconf.rb:
|
1136
|
+
Merged revisions 175 via svnmerge from
|
1137
|
+
svn+ssh://jdavis@rubyforge.org/var/svn/ruby-pg/ruby-pg/trunk
|
573
1138
|
|
574
|
-
|
575
|
-
|
1139
|
+
........ r175 | jdavis | 2008-10-13 22:25:00 -0700 (Mon, 13 Oct
|
1140
|
+
2008) | 4 lines
|
576
1141
|
|
577
|
-
|
578
|
-
|
1142
|
+
Revert r172. ........
|
1143
|
+
[4c2ea65f2eb9] <stable>
|
579
1144
|
|
580
|
-
|
581
|
-
|
1145
|
+
* ext/extconf.rb:
|
1146
|
+
Revert r172.
|
1147
|
+
[3bf9ef75bae5]
|
582
1148
|
|
583
|
-
|
584
|
-
* Added some tests
|
1149
|
+
2008-10-05 Jeff Davis <davis.jeffrey@gmail.com>
|
585
1150
|
|
586
|
-
|
587
|
-
|
1151
|
+
* ext/extconf.rb, ext/pg.c, spec/pgconn_spec.rb:
|
1152
|
+
Merged revisions 169-173 via svnmerge from
|
1153
|
+
svn+ssh://jdavis@rubyforge.org/var/svn/ruby-pg/ruby-pg/trunk
|
588
1154
|
|
589
|
-
|
590
|
-
|
1155
|
+
........ r169 | jdavis | 2008-08-20 19:48:10 -0700 (Wed, 20 Aug
|
1156
|
+
2008) | 6 lines
|
591
1157
|
|
592
|
-
|
593
|
-
|
1158
|
+
Fixed option connection argument in the case of using 7
|
1159
|
+
arguments.
|
594
1160
|
|
595
|
-
|
596
|
-
|
1161
|
+
Thanks Erik Hollensbe (erikh) for the bug report. ........ r170
|
1162
|
+
| jdavis | 2008-10-05 11:01:40 -0700 (Sun, 05 Oct 2008) | 4 lines
|
597
1163
|
|
598
|
-
|
599
|
-
|
1164
|
+
Throw correct exception when result is NULL. ........ r171 |
|
1165
|
+
jdavis | 2008-10-05 11:47:01 -0700 (Sun, 05 Oct 2008) | 12 lines
|
600
1166
|
|
601
|
-
|
602
|
-
|
1167
|
+
Fix PGconn#async_exec and PGconn#get_last_result to properly clear
|
1168
|
+
all results when an exception is raised. Before, the connection
|
1169
|
+
could be left in a state that is not ready for new commands.
|
603
1170
|
|
604
|
-
|
605
|
-
|
1171
|
+
Also, change PGconn#get_result to not raise an exception
|
1172
|
+
when the result is in an error state. You can still check the
|
1173
|
+
result object for an error, but it's not appropriate to raise an
|
1174
|
+
exception, because that could prevent the caller from properly
|
1175
|
+
clearing all results.
|
606
1176
|
|
607
|
-
|
608
|
-
|
1177
|
+
Thanks to Tarmo Tänav. ........ r172 | jdavis | 2008-10-05
|
1178
|
+
12:04:45 -0700 (Sun, 05 Oct 2008) | 6 lines
|
609
1179
|
|
610
|
-
|
611
|
-
Added:
|
1180
|
+
Include all libraries listed in "pg_config --libs" in the build.
|
612
1181
|
|
613
|
-
|
614
|
-
|
1182
|
+
Thanks Hans-Thomas Mueller. ........ r173 | jdavis | 2008-10-05
|
1183
|
+
12:18:58 -0700 (Sun, 05 Oct 2008) | 4 lines
|
615
1184
|
|
616
|
-
|
617
|
-
|
1185
|
+
Update spec tests. ........
|
1186
|
+
[7e7c22be0302] <stable>
|
618
1187
|
|
619
|
-
|
620
|
-
|
1188
|
+
* spec/pgconn_spec.rb:
|
1189
|
+
Update spec tests.
|
1190
|
+
[cdf306d84adf]
|
621
1191
|
|
622
|
-
|
623
|
-
|
1192
|
+
* ext/extconf.rb:
|
1193
|
+
Include all libraries listed in "pg_config --libs" in the build.
|
624
1194
|
|
625
|
-
|
626
|
-
|
1195
|
+
Thanks Hans-Thomas Mueller.
|
1196
|
+
[0386537bd139]
|
627
1197
|
|
628
|
-
|
629
|
-
|
1198
|
+
* ext/pg.c:
|
1199
|
+
Fix PGconn#async_exec and PGconn#get_last_result to properly clear
|
1200
|
+
all results when an exception is raised. Before, the connection
|
1201
|
+
could be left in a state that is not ready for new commands.
|
630
1202
|
|
631
|
-
|
632
|
-
|
1203
|
+
Also, change PGconn#get_result to not raise an exception when the
|
1204
|
+
result is in an error state. You can still check the result object
|
1205
|
+
for an error, but it's not appropriate to raise an exception,
|
1206
|
+
because that could prevent the caller from properly clearing all
|
1207
|
+
results.
|
633
1208
|
|
634
|
-
|
635
|
-
|
1209
|
+
Thanks to Tarmo Tänav.
|
1210
|
+
[68473ee45e28]
|
636
1211
|
|
637
|
-
|
638
|
-
|
1212
|
+
* ext/pg.c:
|
1213
|
+
Throw correct exception when result is NULL.
|
1214
|
+
[622eec9c6b0b]
|
639
1215
|
|
640
|
-
|
641
|
-
* made PGconn#query alias for PGconn#exec
|
1216
|
+
2008-08-21 Jeff Davis <davis.jeffrey@gmail.com>
|
642
1217
|
|
643
|
-
|
644
|
-
|
1218
|
+
* ext/pg.c:
|
1219
|
+
Fixed option connection argument in the case of using 7 arguments.
|
645
1220
|
|
646
|
-
|
647
|
-
|
1221
|
+
Thanks Erik Hollensbe (erikh) for the bug report.
|
1222
|
+
[8e8045947a9c]
|
648
1223
|
|
649
|
-
|
650
|
-
Miscellaneous changes:
|
1224
|
+
2008-08-17 Jeff Davis <davis.jeffrey@gmail.com>
|
651
1225
|
|
652
|
-
|
653
|
-
|
1226
|
+
* ext/pg.c:
|
1227
|
+
Merged revisions 166 via svnmerge from
|
1228
|
+
svn+ssh://jdavis@rubyforge.org/var/svn/ruby-pg/ruby-pg/trunk
|
654
1229
|
|
655
|
-
|
656
|
-
|
1230
|
+
........ r166 | jdavis | 2008-08-17 13:35:51 -0700 (Sun, 17 Aug
|
1231
|
+
2008) | 4 lines
|
657
1232
|
|
658
|
-
|
659
|
-
|
1233
|
+
Typo fix. ........
|
1234
|
+
[3e9dda291ef3] <stable>
|
660
1235
|
|
661
|
-
|
662
|
-
|
1236
|
+
* ext/pg.c:
|
1237
|
+
Typo fix.
|
1238
|
+
[c5c44a6267f7]
|
663
1239
|
|
664
|
-
|
665
|
-
|
1240
|
+
* ext_helper.rb:
|
1241
|
+
Add ext_helper.rb
|
1242
|
+
[3686c9944fe1] <stable>
|
666
1243
|
|
667
|
-
|
668
|
-
|
1244
|
+
* Rakefile, ext/extconf.rb, ext/pg.c, pg.gemspec,
|
1245
|
+
spec/data/expected_trace.out, spec/data/random_binary_data,
|
1246
|
+
spec/pgconn_spec.rb, spec/pgresult_spec.rb:
|
1247
|
+
Merged revisions 149-160 via svnmerge from
|
1248
|
+
svn+ssh://jdavis@rubyforge.org/var/svn/ruby-pg/ruby-pg/trunk
|
669
1249
|
|
670
|
-
|
671
|
-
|
1250
|
+
........ r149 | jdavis | 2008-03-19 14:17:20 -0700 (Wed, 19 Mar
|
1251
|
+
2008) | 5 lines
|
672
1252
|
|
673
|
-
|
674
|
-
|
1253
|
+
This commmit just cleans up indenting and coding
|
1254
|
+
conventions. It's a big patch, but does nothing meaningful. ........
|
1255
|
+
r150 | jdavis | 2008-03-19 14:19:53 -0700 (Wed, 19 Mar 2008) | 5
|
1256
|
+
lines
|
675
1257
|
|
676
|
-
5 5c0a63028583 2008-01-08 22:26 +0000 davis
|
677
|
-
Added:
|
678
1258
|
|
679
|
-
|
680
|
-
|
1259
|
+
* forgot to add the expected output to the repository, so one
|
1260
|
+
test was failing. Corrected now. ........ r151 | jdavis |
|
1261
|
+
2008-03-20 11:20:25 -0700 (Thu, 20 Mar 2008) | 12 lines
|
681
1262
|
|
682
|
-
3 d05d9f2042d7 2008-01-07 22:52 +0000 davis
|
683
|
-
Change conn.exec to use PQexec if no parameters are passed,
|
684
1263
|
|
685
|
-
|
686
|
-
|
1264
|
+
* added PGconn.connect_start(...) -> PGconn
|
1265
|
+
* added test for PGconn.connect_start()
|
1266
|
+
* refactored to separate the complexity of parsing the connection
|
1267
|
+
arguments
|
1268
|
+
* Removed some superfluous code for old versions of Ruby that
|
1269
|
+
don't support rb_define_alloc_func(). Those versions of Ruby
|
1270
|
+
most likely don't work anyway, and I'm not testing them.
|
687
1271
|
|
688
|
-
|
689
|
-
|
1272
|
+
........ r152 | jdavis | 2008-03-20 12:16:06 -0700 (Thu, 20 Mar
|
1273
|
+
2008) | 5 lines
|
690
1274
|
|
691
|
-
0 7716d24a143b 2008-01-07 22:16 +0000 davis
|
692
|
-
Split 'ruby-pg' module and 'postgres' module
|
693
1275
|
|
1276
|
+
* added PGconn#cancel() -> String
|
1277
|
+
* added test for PGconn#cancel() ........ r153 | jdavis | 2008-04-21
|
1278
|
+
10:13:39 -0700 (Mon, 21 Apr 2008) | 4 lines
|
1279
|
+
|
1280
|
+
|
1281
|
+
* added some tests for binary data ........ r154 | jdavis |
|
1282
|
+
2008-04-21 10:24:05 -0700 (Mon, 21 Apr 2008) | 5 lines
|
1283
|
+
|
1284
|
+
|
1285
|
+
* applied patch from Louis Lavena to improve the build process
|
1286
|
+
(particularly for windows). ........ r155 | jdavis | 2008-04-21
|
1287
|
+
10:41:04 -0700 (Mon, 21 Apr 2008) | 6 lines
|
1288
|
+
|
1289
|
+
|
1290
|
+
* backtracked a small piece of the patch, to catch the condition
|
1291
|
+
where pg_config is not in the PATH on posix platforms. ........
|
1292
|
+
r156 | jdavis | 2008-07-07 23:21:07 -0700 (Mon, 07 Jul 2008) | 6
|
1293
|
+
lines
|
1294
|
+
|
1295
|
+
Fix oversight in connect arguments for options and
|
1296
|
+
connect_timeout when passed in a hash. (Thanks Rob Holland for
|
1297
|
+
the bug report). ........ r157 | jdavis | 2008-07-23 22:33:26
|
1298
|
+
-0700 (Wed, 23 Jul 2008) | 10 lines
|
1299
|
+
|
1300
|
+
Changed all temporary allocations to use ALLOC_N (heap
|
1301
|
+
allocation) rather than ALLOCA_N (stack allocation). In
|
1302
|
+
particular, this allows PGconn#escape_string to accept larger
|
1303
|
+
input strings without fear of exceeding the stack size.
|
1304
|
+
|
1305
|
+
Thanks to Brett Neumeier. ........ r158 | jdavis | 2008-07-23
|
1306
|
+
22:46:34 -0700 (Wed, 23 Jul 2008) | 6 lines
|
1307
|
+
|
1308
|
+
Fixed PGconn#setnonblocking
|
1309
|
+
|
1310
|
+
Thanks to Mohammad Ali (oldmoe) for the report. ........ r159 |
|
1311
|
+
jdavis | 2008-08-17 11:19:09 -0700 (Sun, 17 Aug 2008) | 4 lines
|
1312
|
+
|
1313
|
+
Applied build patch from Brett Neumeier. Thanks! ........ r160
|
1314
|
+
| jdavis | 2008-08-17 12:26:33 -0700 (Sun, 17 Aug 2008) | 7 lines
|
1315
|
+
|
1316
|
+
Properly protect variables from garbage collection, preventing
|
1317
|
+
possible memory corruption.
|
1318
|
+
|
1319
|
+
Big thanks to Peter Seebach for reporting and clearly diagnosing
|
1320
|
+
the problem. ........
|
1321
|
+
[ed3294b76bf7] <stable>
|
1322
|
+
|
1323
|
+
* Initialized merge tracking via "svnmerge" with revisions "1-146"
|
1324
|
+
from svn+ssh://jdavis@rubyforge.org/var/svn/ruby-pg/ruby-pg/trunk
|
1325
|
+
[ff6af5fc4dc3] <stable>
|
1326
|
+
|
1327
|
+
* Initialized merge tracking via "svnmerge" with revisions "1-146"
|
1328
|
+
from svn+ssh://jdavis@rubyforge.org/var/svn/ruby-pg/ruby-
|
1329
|
+
pg/trunk@146
|
1330
|
+
[1a7b63bacfee] <stable>
|
1331
|
+
|
1332
|
+
* ext/pg.c:
|
1333
|
+
Properly protect variables from garbage collection, preventing
|
1334
|
+
possible memory corruption.
|
1335
|
+
|
1336
|
+
Big thanks to Peter Seebach for reporting and clearly diagnosing the
|
1337
|
+
problem.
|
1338
|
+
[ed8927d7f45d]
|
1339
|
+
|
1340
|
+
* Rakefile:
|
1341
|
+
Applied build patch from Brett Neumeier. Thanks!
|
1342
|
+
[c7c5d25c851c]
|
1343
|
+
|
1344
|
+
2008-07-24 Jeff Davis <davis.jeffrey@gmail.com>
|
1345
|
+
|
1346
|
+
* ext/pg.c:
|
1347
|
+
Fixed PGconn#setnonblocking
|
1348
|
+
|
1349
|
+
Thanks to Mohammad Ali (oldmoe) for the report.
|
1350
|
+
[48d2bdfcc630]
|
1351
|
+
|
1352
|
+
* ext/pg.c:
|
1353
|
+
Changed all temporary allocations to use ALLOC_N (heap allocation)
|
1354
|
+
rather than ALLOCA_N (stack allocation). In particular, this allows
|
1355
|
+
PGconn#escape_string to accept larger input strings without fear of
|
1356
|
+
exceeding the stack size.
|
1357
|
+
|
1358
|
+
Thanks to Brett Neumeier.
|
1359
|
+
[b2e1bc03aca5]
|
1360
|
+
|
1361
|
+
2008-07-08 Jeff Davis <davis.jeffrey@gmail.com>
|
1362
|
+
|
1363
|
+
* ext/pg.c:
|
1364
|
+
Fix oversight in connect arguments for options and connect_timeout
|
1365
|
+
when passed in a hash. (Thanks Rob Holland for the bug report).
|
1366
|
+
[c775c24a75f9]
|
1367
|
+
|
1368
|
+
2008-04-21 Jeff Davis <davis.jeffrey@gmail.com>
|
1369
|
+
|
1370
|
+
* ext/extconf.rb, pg.gemspec:
|
1371
|
+
* backtracked a small piece of the patch, to catch the condition
|
1372
|
+
where pg_config is not in the PATH on posix platforms.
|
1373
|
+
[b86f0f75181e]
|
1374
|
+
|
1375
|
+
* Rakefile, ext/extconf.rb, ext_helper.rb, pg.gemspec:
|
1376
|
+
* applied patch from Louis Lavena to improve the build process
|
1377
|
+
(particularly for windows).
|
1378
|
+
[b3a05d09fb27]
|
1379
|
+
|
1380
|
+
* spec/data/random_binary_data, spec/pgconn_spec.rb,
|
1381
|
+
spec/pgresult_spec.rb:
|
1382
|
+
* added some tests for binary data
|
1383
|
+
[7579885aff18]
|
1384
|
+
|
1385
|
+
2008-03-20 Jeff Davis <davis.jeffrey@gmail.com>
|
1386
|
+
|
1387
|
+
* ext/pg.c, spec/pgconn_spec.rb:
|
1388
|
+
* added PGconn#cancel() -> String
|
1389
|
+
* added test for PGconn#cancel()
|
1390
|
+
[de58e242dd99]
|
1391
|
+
|
1392
|
+
* ext/pg.c, spec/pgconn_spec.rb:
|
1393
|
+
* added PGconn.connect_start(...) -> PGconn
|
1394
|
+
* added test for PGconn.connect_start()
|
1395
|
+
* refactored to separate the complexity of parsing the connection
|
1396
|
+
arguments
|
1397
|
+
* Removed some superfluous code for old versions of Ruby that don't
|
1398
|
+
support rb_define_alloc_func(). Those versions of Ruby most
|
1399
|
+
likely don't work anyway, and I'm not testing them.
|
1400
|
+
[778892302876]
|
1401
|
+
|
1402
|
+
2008-03-19 Jeff Davis <davis.jeffrey@gmail.com>
|
1403
|
+
|
1404
|
+
* spec/data/expected_trace.out:
|
1405
|
+
* forgot to add the expected output to the repository, so one
|
1406
|
+
test was failing. Corrected now.
|
1407
|
+
[630cca5e74c1]
|
1408
|
+
|
1409
|
+
* ext/pg.c:
|
1410
|
+
This commmit just cleans up indenting and coding conventions. It's
|
1411
|
+
a big patch, but does nothing meaningful.
|
1412
|
+
[661ed2fea9e2]
|
1413
|
+
|
1414
|
+
2008-03-18 Jeff Davis <davis.jeffrey@gmail.com>
|
1415
|
+
|
1416
|
+
* BSD, README, ext/compat.c, ext/compat.h, ext/extconf.rb,
|
1417
|
+
ext/mkrf_config.rb, ext/pg.c, ext/pg.h, pg.gemspec,
|
1418
|
+
spec/pgconn_spec.rb, spec/pgresult_spec.rb:
|
1419
|
+
merged ruby-pg/trunk rev 123:146 with ruby-pg/branches/stable
|
1420
|
+
[f9cd915ea427] <stable>
|
1421
|
+
|
1422
|
+
2008-03-17 Jeff Davis <davis.jeffrey@gmail.com>
|
1423
|
+
|
1424
|
+
* ext/mkrf_config.rb:
|
1425
|
+
re-adding mkrf_config.rb
|
1426
|
+
[d821d50b7d95]
|
1427
|
+
|
1428
|
+
* ext/mkrf_config.rb:
|
1429
|
+
temporarily removing mkrf_config.rb and will re-add it in the next
|
1430
|
+
revision. This is an attempt to fix what may be a repository
|
1431
|
+
problem.
|
1432
|
+
[a66f44648857]
|
1433
|
+
|
1434
|
+
* COPYING, README.windows, ext/extconf.rb, ext/pg.c, ext/pg.h,
|
1435
|
+
spec/pgconn_spec.rb, spec/pgresult_spec.rb:
|
1436
|
+
merged ruby-pg/trunk rev 123:125 with ruby-pg/branches/stable
|
1437
|
+
[bae01401c92b] <stable>
|
1438
|
+
|
1439
|
+
* ext/compat.c, ext/compat.h, ext/extconf.rb, ext/pg.c, pg.gemspec:
|
1440
|
+
* 7.3 compatibility fixes
|
1441
|
+
* cleanup
|
1442
|
+
[c8752b1a33cd]
|
1443
|
+
|
1444
|
+
* ext/pg.c:
|
1445
|
+
* Added PGconn#reset_start
|
1446
|
+
* Added PGconn#reset_poll
|
1447
|
+
* Added PGconn#socket
|
1448
|
+
* Added PGconn#connect_poll (needs docs)
|
1449
|
+
[4aa1190e1873]
|
1450
|
+
|
1451
|
+
2008-03-12 Jeff Davis <davis.jeffrey@gmail.com>
|
1452
|
+
|
1453
|
+
* spec/pgconn_spec.rb:
|
1454
|
+
* added SQLSTATE test
|
1455
|
+
* added binary format test
|
1456
|
+
[1224350cdcb6]
|
1457
|
+
|
1458
|
+
* README:
|
1459
|
+
* updated the README to reflect the fact that the pg module is
|
1460
|
+
supported by ActiveRecord now.
|
1461
|
+
[639f8bf03621]
|
1462
|
+
|
1463
|
+
2008-03-11 Jeff Davis <davis.jeffrey@gmail.com>
|
1464
|
+
|
1465
|
+
* BSD, COPYING, README, ext/pg.c:
|
1466
|
+
* tried to make it easier to find the license information
|
1467
|
+
[1fd6244025c5]
|
1468
|
+
|
1469
|
+
2008-03-10 Jeff Davis <davis.jeffrey@gmail.com>
|
1470
|
+
|
1471
|
+
* ext/pg.c, spec/pgconn_spec.rb, spec/pgresult_spec.rb:
|
1472
|
+
* add better checking to make sure that PGconn#trace is passed a
|
1473
|
+
stream that can provide a valid and writable file descriptor
|
1474
|
+
* added test case for PGconn#trace
|
1475
|
+
[1c4f58ec2264]
|
1476
|
+
|
1477
|
+
* ext/pg.c:
|
1478
|
+
* corrected handling of bytea when passed in binary format
|
1479
|
+
* corrected handling of +nil+ values passed as type or format
|
1480
|
+
specifiers when using the array-of-hashes form of parameterization
|
1481
|
+
for PGconn#exec
|
1482
|
+
[e94ce7f92a06]
|
1483
|
+
|
1484
|
+
* ext/pg.c:
|
1485
|
+
* make PGconn#trace accept any object that provides a writable
|
1486
|
+
file descriptor via the method "fileno".
|
1487
|
+
[221e68f16f2d]
|
1488
|
+
|
1489
|
+
* ext/pg.c:
|
1490
|
+
* Added PGconn#trace(filename)
|
1491
|
+
[2e722b22b4bc]
|
1492
|
+
|
1493
|
+
2008-03-07 Jeff Davis <davis.jeffrey@gmail.com>
|
1494
|
+
|
1495
|
+
* ext/extconf.rb, ext/mkrf_config.rb:
|
1496
|
+
* Added check to find pg_config. If not found, throw an error.
|
1497
|
+
This should make it more obvious when pg_config is not in your
|
1498
|
+
path.
|
1499
|
+
|
1500
|
+
* Added proper check on MAC OS X so that it gives the correct
|
1501
|
+
warning on ppc when ARCHFLAGS isn't set.
|
1502
|
+
[9b1308e85390]
|
1503
|
+
|
1504
|
+
2008-02-22 Jeff Davis <davis.jeffrey@gmail.com>
|
1505
|
+
|
1506
|
+
* ext/pg.c, ext/pg.h:
|
1507
|
+
* fixed PGconn#trace
|
1508
|
+
[480eae4733ff]
|
1509
|
+
|
1510
|
+
2008-02-21 Jeff Davis <davis.jeffrey@gmail.com>
|
1511
|
+
|
1512
|
+
* ext/pg.c:
|
1513
|
+
* added PGconn#set_notice_receiver{ |result| ... }
|
1514
|
+
- This is a more powerful form of PGconn#set_notice_processor
|
1515
|
+
* cleaned up PGconn#set_notice_processor
|
1516
|
+
* removed superfluous debugging from PGconn#transaction
|
1517
|
+
* fixed PGresult#result_error_field
|
1518
|
+
[a6a1c8613b31]
|
1519
|
+
|
1520
|
+
2008-02-19 Jeff Davis <davis.jeffrey@gmail.com>
|
1521
|
+
|
1522
|
+
* ext/mkrf_config.rb:
|
1523
|
+
quick change
|
1524
|
+
[8a6e663a70f7]
|
1525
|
+
|
1526
|
+
* ext/mkrf_config.rb:
|
1527
|
+
fix escaping of paths on windows (another try)
|
1528
|
+
[5fc41a8f71f0]
|
1529
|
+
|
1530
|
+
2008-02-18 Jeff Davis <davis.jeffrey@gmail.com>
|
1531
|
+
|
1532
|
+
* ext/mkrf_config.rb, ext/pg.c:
|
1533
|
+
* attempted some compatibility fixes for windows
|
1534
|
+
* fixed some warnings
|
1535
|
+
[a465fe9f95a3]
|
1536
|
+
|
1537
|
+
2008-02-13 Jeff Davis <davis.jeffrey@gmail.com>
|
1538
|
+
|
1539
|
+
* ext/mkrf_config.rb:
|
1540
|
+
* better quoting and error handling when invoking other programs,
|
1541
|
+
e.g. pg_config
|
1542
|
+
[5a91f5660c17]
|
1543
|
+
|
1544
|
+
* ext/mkrf_config.rb:
|
1545
|
+
quote include and library paths
|
1546
|
+
[5289d5034472]
|
1547
|
+
|
1548
|
+
* ext/mkrf_config.rb:
|
1549
|
+
* created a mkrf_config.rb. I am attempting to transition away from
|
1550
|
+
mkmf to mkrf
|
1551
|
+
[ed53517514b1]
|
1552
|
+
|
1553
|
+
2008-02-11 Jeff Davis <davis.jeffrey@gmail.com>
|
1554
|
+
|
1555
|
+
* README.windows, ext/extconf.rb, ext/pg.h:
|
1556
|
+
* windows fixes (thanks Daniel Berger!)
|
1557
|
+
[21bf96d0f702]
|
1558
|
+
|
1559
|
+
* spec/pgconn_spec.rb, spec/pgresult_spec.rb:
|
1560
|
+
* fix temporary postgresql test installation in test.
|
1561
|
+
[9d0a23cf2113]
|
1562
|
+
|
1563
|
+
2008-02-08 Jeff Davis <davis.jeffrey@gmail.com>
|
1564
|
+
|
1565
|
+
* ext/pg.c:
|
1566
|
+
* properly retrieve binary data from result sets
|
1567
|
+
[7fcd53437c79]
|
1568
|
+
|
1569
|
+
2008-02-05 Jeff Davis <davis.jeffrey@gmail.com>
|
1570
|
+
|
1571
|
+
* Rakefile, ext/compat.h, ext/pg.c, pg.gemspec, ruby-pg.gemspec,
|
1572
|
+
sample/losample.rb, sample/psql.rb, sample/test1.rb,
|
1573
|
+
sample/test2.rb, sample/test4.rb, spec/pgconn_spec.rb,
|
1574
|
+
spec/pgresult_spec.rb, tests/pg_spec.rb:
|
1575
|
+
merged ruby-pg/trunk rev 109:121 with ruby-pg/branches/stable
|
1576
|
+
[83e5013eccc8] <stable>
|
1577
|
+
|
1578
|
+
* ext/compat.h:
|
1579
|
+
fixed bug caused by a typo. HAVE_LOCREATE should have been
|
1580
|
+
HAVE_LO_CREATE
|
1581
|
+
[295c477ed74f]
|
1582
|
+
|
1583
|
+
2008-02-01 Jeff Davis <davis.jeffrey@gmail.com>
|
1584
|
+
|
1585
|
+
* ext/pg.c, spec/pgresult_spec.rb:
|
1586
|
+
* made exec, exec_prepared, send_query, and send_prepared with
|
1587
|
+
parameters accept nil as NULL
|
1588
|
+
* updated comments and tests to reflect that
|
1589
|
+
[ef2214d7f448]
|
1590
|
+
|
1591
|
+
* ext/pg.c, sample/losample.rb, sample/psql.rb, sample/test1.rb,
|
1592
|
+
sample/test2.rb, sample/test4.rb:
|
1593
|
+
* Corrected a comment.
|
1594
|
+
* Cleaned up the sample directory somewhat. It's still out of date,
|
1595
|
+
though.
|
1596
|
+
[7303b8165a37]
|
1597
|
+
|
1598
|
+
2008-01-31 Jeff Davis <davis.jeffrey@gmail.com>
|
1599
|
+
|
1600
|
+
* ext/pg.c:
|
1601
|
+
* removed duplicate definition of PGconn.open
|
1602
|
+
[b3ad2112a91e]
|
1603
|
+
|
1604
|
+
* spec/pgconn_spec.rb, spec/pgresult_spec.rb, tests/pgconn_spec.rb,
|
1605
|
+
tests/pgresult_spec.rb:
|
1606
|
+
more test improvements
|
1607
|
+
[ce9c0e52eec6]
|
1608
|
+
|
1609
|
+
* Rakefile, tests/pg_spec.rb, tests/pgconn_spec.rb:
|
1610
|
+
renamed pg_spec to pgconn_spec
|
1611
|
+
[97cbdebaeb11]
|
1612
|
+
|
1613
|
+
* Rakefile, tests/pg_spec.rb, tests/pgresult_spec.rb:
|
1614
|
+
* Added some tests
|
1615
|
+
* Added a Rakefile
|
1616
|
+
[1cb0537730bf]
|
1617
|
+
|
1618
|
+
2008-01-30 Jeff Davis <davis.jeffrey@gmail.com>
|
1619
|
+
|
1620
|
+
* ext/pg.c:
|
1621
|
+
* added PGconn.conndefaults
|
1622
|
+
* replaced a macro with a function to make it more understandable
|
1623
|
+
[29b827c7dbd0]
|
1624
|
+
|
1625
|
+
2008-01-29 Jeff Davis <davis.jeffrey@gmail.com>
|
1626
|
+
|
1627
|
+
* ext/pg.c:
|
1628
|
+
corrected the tainting of some strings returned by the database
|
1629
|
+
[c18f38225bc7]
|
1630
|
+
|
1631
|
+
* ruby-pg.gemspec:
|
1632
|
+
changed gem name from 'ruby-pg' to just 'pg'
|
1633
|
+
[56cd8c6ee046]
|
1634
|
+
|
1635
|
+
2008-01-28 Jeff Davis <davis.jeffrey@gmail.com>
|
1636
|
+
|
1637
|
+
* pg.gemspec:
|
1638
|
+
made a pg.gemspec so that people can build 'pg' gem
|
1639
|
+
[a9097dead780]
|
1640
|
+
|
1641
|
+
* ext/pg.c:
|
1642
|
+
merged ruby-pg/trunk rev 104 with ruby-pg/branches/stable
|
1643
|
+
[abfe9a457946] <stable>
|
1644
|
+
|
1645
|
+
2008-01-26 Jeff Davis <davis.jeffrey@gmail.com>
|
1646
|
+
|
1647
|
+
* ext/pg.c:
|
1648
|
+
changed exception type for empty data structures
|
1649
|
+
[cfdcfcd445ab]
|
1650
|
+
|
1651
|
+
2008-01-25 Jeff Davis <davis.jeffrey@gmail.com>
|
1652
|
+
|
1653
|
+
* ext/pg.c:
|
1654
|
+
* added PGconn#async_exec and alias PGconn#async_query
|
1655
|
+
* added PGconn#get_last_result
|
1656
|
+
* properly check index bounds in pgresult_aref ( PGresult#[] )
|
1657
|
+
* PGresult#getvalue now returns nil instead of empty string for NULL
|
1658
|
+
[81cd03f8a2c3]
|
1659
|
+
|
1660
|
+
* ext/pg.c:
|
1661
|
+
added PGresult#cmdtuples as alias for PGresult#cmd_tuples
|
1662
|
+
|
1663
|
+
This is for better compatibility with ActiveRecord.
|
1664
|
+
[29d775393e88]
|
1665
|
+
|
1666
|
+
* ext/pg.c:
|
1667
|
+
Added:
|
1668
|
+
* PGresult#num_tuples as alias for PGresult#ntuples
|
1669
|
+
* PGresult#num_fields as alias for PGresult#nfields
|
1670
|
+
|
1671
|
+
This should result in easier compatibility with ActiveRecord
|
1672
|
+
[eac7df0aa291]
|
1673
|
+
|
1674
|
+
2008-01-24 Jeff Davis <davis.jeffrey@gmail.com>
|
1675
|
+
|
1676
|
+
* README.OS_X, README.windows, ext/extconf.rb:
|
1677
|
+
moved a few minor changes over before release
|
1678
|
+
[c7ddb58579d3] <stable>
|
1679
|
+
|
1680
|
+
* README.OS_X, README.windows, ext/extconf.rb:
|
1681
|
+
Added README.windows and README.OS_X Changed special case in
|
1682
|
+
extconf.rb from '/ms/libpq.lib' to '/ms/libpq'
|
1683
|
+
[7908e778e7c3]
|
1684
|
+
|
1685
|
+
* ext/compat.c, ext/compat.h, ext/extconf.rb, ext/pg.c, ext/pg.h,
|
1686
|
+
tests/pg_spec.rb, tests/tc_postgres.rb:
|
1687
|
+
merged revision 77:HEAD of ruby-pg/trunk to ruby-pg/branches/stable
|
1688
|
+
[8df9da92380e] <stable>
|
1689
|
+
|
1690
|
+
* ext/extconf.rb:
|
1691
|
+
Another change to improve windows compatibility. Thanks to Laurent
|
1692
|
+
Francioli.
|
1693
|
+
[7cc13a1f3010]
|
1694
|
+
|
1695
|
+
* ext/extconf.rb:
|
1696
|
+
fixed typo
|
1697
|
+
[ee0577472b67]
|
1698
|
+
|
1699
|
+
* ext/extconf.rb:
|
1700
|
+
My previous fix for OS X compatibility didn't work well enough.
|
1701
|
+
|
1702
|
+
The only effective solution is to generate a warning message and
|
1703
|
+
tell the user what to do. That's what this commit does.
|
1704
|
+
[eaf3b1825d56]
|
1705
|
+
|
1706
|
+
2008-01-23 Jeff Davis <davis.jeffrey@gmail.com>
|
1707
|
+
|
1708
|
+
* ext/compat.h, ext/pg.h:
|
1709
|
+
* had to include that file conditionally in compat.h for
|
1710
|
+
postgresql 7.3 compatibility
|
1711
|
+
[12b2568a0ada]
|
1712
|
+
|
1713
|
+
* ext/pg.h:
|
1714
|
+
* included an additional file so that it works with PostgreSQL
|
1715
|
+
8.3
|
1716
|
+
[34dd04d21a78]
|
1717
|
+
|
1718
|
+
* ext/extconf.rb, ext/pg.c:
|
1719
|
+
* added PGconn.quote_ident to quote identifiers
|
1720
|
+
* added special case in extconf to build correctly on windows
|
1721
|
+
[4cf66b7302bf]
|
1722
|
+
|
1723
|
+
2008-01-22 Jeff Davis <davis.jeffrey@gmail.com>
|
1724
|
+
|
1725
|
+
* ext/pg.c:
|
1726
|
+
* made PGconn#query alias for PGconn#exec
|
1727
|
+
[081e4d8ee394]
|
1728
|
+
|
1729
|
+
* ext/extconf.rb, ext/pg.c:
|
1730
|
+
* Detect if compiling on OS X, and if so set $ARCHFLAGS correctly.
|
1731
|
+
This should resolve the problem of building on OS X.
|
1732
|
+
* A couple comment fixes.
|
1733
|
+
[4774578059e1]
|
1734
|
+
|
1735
|
+
2008-01-21 Jeff Davis <davis.jeffrey@gmail.com>
|
1736
|
+
|
1737
|
+
* ext/pg.c:
|
1738
|
+
made conn.block cleaner and it should be more portable.
|
1739
|
+
[204f4b591614]
|
1740
|
+
|
1741
|
+
2008-01-18 Jeff Davis <davis.jeffrey@gmail.com>
|
1742
|
+
|
1743
|
+
* ext/extconf.rb, ext/pg.c:
|
1744
|
+
Miscellaneous changes:
|
1745
|
+
* in 'pg' module, added PGconn#close as an alias for PGconn#finish,
|
1746
|
+
for easier compatibility with AR adapter.
|
1747
|
+
* removed extra CFLAGS because they were causing portability problems.
|
1748
|
+
[449d54289f07]
|
1749
|
+
|
1750
|
+
2008-01-17 Jeff Davis <davis.jeffrey@gmail.com>
|
1751
|
+
|
1752
|
+
* tests/pg_spec.rb, tests/tc_postgres.rb:
|
1753
|
+
started creating a rspec test, more tests to come later
|
1754
|
+
[aadd4008d2e3]
|
1755
|
+
|
1756
|
+
* ext/pg.c:
|
1757
|
+
properly free memory in conn.get_copy_data
|
1758
|
+
[4f276bb9c4b1]
|
1759
|
+
|
1760
|
+
2008-01-15 Jeff Davis <davis.jeffrey@gmail.com>
|
1761
|
+
|
1762
|
+
* ext/pg.c, ext/pg.h:
|
1763
|
+
Added conn.block( [ timeout ] ) -> Boolean
|
1764
|
+
[95d9ff13c269]
|
1765
|
+
|
1766
|
+
2008-01-14 Jeff Davis <davis.jeffrey@gmail.com>
|
1767
|
+
|
1768
|
+
* ext/pg.c:
|
1769
|
+
Added conn.transaction{ |conn| ... }
|
1770
|
+
[4cefa3b1ecbb]
|
1771
|
+
|
1772
|
+
* ext/compat.c, ext/compat.h, ext/extconf.rb, ext/pg.c, ext/pg.h:
|
1773
|
+
Support for PostgreSQL 7.3.
|
1774
|
+
[ae8c3b66c48d]
|
1775
|
+
|
1776
|
+
2008-01-09 Jeff Davis <davis.jeffrey@gmail.com>
|
1777
|
+
|
1778
|
+
* compat-ruby-postgres/extconf.rb, compat-ruby-postgres/libpq-
|
1779
|
+
compat.c, compat-ruby-postgres/postgres.c, compat-ruby-postgres
|
1780
|
+
/type-oids.h:
|
1781
|
+
removed extra directory that was left in the merge
|
1782
|
+
[8eb1346cb9aa] <stable>
|
1783
|
+
|
1784
|
+
* README, ext/compat.c, ext/compat.h, ext/extconf.rb, ext/pg.c, ruby-
|
1785
|
+
pg.gemspec:
|
1786
|
+
merged ruby-pg/trunk rev 69 to ruby-pg/branches/stable
|
1787
|
+
[d6d19e5371d4] <stable>
|
1788
|
+
|
1789
|
+
2008-01-08 Jeff Davis <davis.jeffrey@gmail.com>
|
1790
|
+
|
1791
|
+
* ext/pg.c:
|
1792
|
+
Added:
|
1793
|
+
* conn.set_client_encoding
|
1794
|
+
* conn.get_client_encoding
|
1795
|
+
|
1796
|
+
get_client_encoding returns a string, and the PQclientEncoding
|
1797
|
+
function returns an encoding ID, which is why I didn't use the name
|
1798
|
+
client_encoding. That leaves room later to add a wrapper for the
|
1799
|
+
libpq PQclientEncoding if there is a need, without a name conflict.
|
1800
|
+
[1fd8b2aaac4c]
|
1801
|
+
|
1802
|
+
* ext/pg.c:
|
1803
|
+
Added:
|
1804
|
+
* conn.make_empty_pgresult(status)
|
1805
|
+
* conn.flush
|
1806
|
+
* conn.set_error_verbosity
|
1807
|
+
[5c0a63028583]
|
1808
|
+
|
1809
|
+
2008-01-07 Jeff Davis <davis.jeffrey@gmail.com>
|
1810
|
+
|
1811
|
+
* ext/pg.c:
|
1812
|
+
fixed a few method defines for async query processing
|
1813
|
+
[40270de77f48]
|
1814
|
+
|
1815
|
+
* ext/pg.c:
|
1816
|
+
Change conn.exec to use PQexec if no parameters are passed, and
|
1817
|
+
use PQexecParams if optional parameters are passed.
|
1818
|
+
|
1819
|
+
Change conn.send_query to use PQsendQuery if no parameters are
|
1820
|
+
passed, and use PQsendQueryParams if optional parameters are
|
1821
|
+
passed.
|
1822
|
+
[d05d9f2042d7]
|
1823
|
+
|
1824
|
+
* compat-ruby-postgres/extconf.rb, compat-ruby-postgres/libpq-
|
1825
|
+
compat.c, compat-ruby-postgres/postgres.c, compat-ruby-postgres
|
1826
|
+
/type-oids.h, ruby-pg.gemspec:
|
1827
|
+
Cleanup after the repository reorganization.
|
1828
|
+
[a531a7bc9241]
|
1829
|
+
|
1830
|
+
* COPYING, COPYING.txt, ChangeLog, Contributors, GPL, LICENSE,
|
1831
|
+
MANIFEST, README, README.ja, compat-ruby-postgres/extconf.rb,
|
1832
|
+
compat-ruby-postgres/libpq-compat.c, compat-ruby-
|
1833
|
+
postgres/postgres.c, compat-ruby-postgres/type-oids.h,
|
1834
|
+
doc/postgres.html, doc/postgres.jp.html, ext/compat.c, ext/compat.h,
|
1835
|
+
ext/extconf.rb, ext/pg.c, ext/pg.h, ruby-pg.gemspec,
|
1836
|
+
sample/losample.rb, sample/psql.rb, sample/psqlHelp.rb,
|
1837
|
+
sample/test1.rb, sample/test2.rb, sample/test4.rb,
|
1838
|
+
tests/tc_postgres.rb:
|
1839
|
+
Split 'ruby-pg' module and 'postgres' module into separate parts of
|
1840
|
+
the repository. They will be maintained separately, and be released
|
1841
|
+
as separate gems from this point forward.
|
1842
|
+
|
1843
|
+
One reason for this change is because we need separate gems. If we
|
1844
|
+
distribute both modules as one gem, the documentation is not
|
1845
|
+
properly generated due to class name conflicts.
|
1846
|
+
|
1847
|
+
Another reason is to reduce confusion between the two modules.
|
1848
|
+
|
1849
|
+
Also, I don't plan on making many improvements (aside from bugfixes
|
1850
|
+
and portability issues) to the old 'postgres' code. I'd like to get
|
1851
|
+
it to a stable state, and leave it alone. Meanwhile, the 'pg' module
|
1852
|
+
can be developed on a faster timeline.
|
1853
|
+
[aafc8cf17567]
|
1854
|
+
|
1855
|
+
* COPYING, COPYING.txt, ChangeLog, Contributors, GPL, LICENSE,
|
1856
|
+
MANIFEST, README, README.ja, compat-ruby-postgres/extconf.rb,
|
1857
|
+
compat-ruby-postgres/libpq-compat.c, compat-ruby-
|
1858
|
+
postgres/postgres.c, compat-ruby-postgres/type-oids.h,
|
1859
|
+
doc/postgres.html, doc/postgres.jp.html, ext/compat.c, ext/compat.h,
|
1860
|
+
ext/extconf.rb, ext/pg.c, ext/pg.h, ruby-pg.gemspec,
|
1861
|
+
sample/losample.rb, sample/psql.rb, sample/psqlHelp.rb,
|
1862
|
+
sample/test1.rb, sample/test2.rb, sample/test4.rb,
|
1863
|
+
tests/tc_postgres.rb:
|
1864
|
+
Split 'ruby-pg' module and 'postgres' module into separate parts of
|
1865
|
+
the repository. They will be maintained separately, and be released
|
1866
|
+
as separate gems from this point forward.
|
1867
|
+
|
1868
|
+
One reason for this change is because we need separate gems. If we
|
1869
|
+
distribute both modules as one gem, the documentation is not
|
1870
|
+
properly generated due to class name conflicts.
|
1871
|
+
|
1872
|
+
Another reason is to reduce confusion between the two modules.
|
1873
|
+
|
1874
|
+
Also, I don't plan on making many improvements (aside from bugfixes
|
1875
|
+
and portability issues) to the old 'postgres' code. I'd like to get
|
1876
|
+
it to a stable state, and leave it alone. Meanwhile, the 'pg' module
|
1877
|
+
can be developed on a faster timeline.
|
1878
|
+
[7716d24a143b] <stable>
|