pg 0.8.0 → 0.9.0.pre156
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog +440 -230
- data/Contributors +2 -0
- data/README +41 -98
- data/README.OS_X +19 -0
- data/README.ja +183 -0
- data/README.windows +72 -0
- data/Rakefile.local +239 -0
- data/ext/extconf.rb +101 -62
- data/ext/pg.c +823 -142
- data/ext/pg.h +9 -2
- data/lib/pg.rb +11 -0
- data/rake/191_compat.rb +26 -0
- data/rake/dependencies.rb +76 -0
- data/rake/helpers.rb +435 -0
- data/rake/hg.rb +273 -0
- data/rake/manual.rb +782 -0
- data/rake/packaging.rb +123 -0
- data/rake/publishing.rb +274 -0
- data/rake/rdoc.rb +30 -0
- data/rake/style.rb +62 -0
- data/rake/svn.rb +668 -0
- data/rake/testing.rb +187 -0
- data/rake/verifytask.rb +64 -0
- data/spec/lib/helpers.rb +216 -0
- data/spec/m17n_spec.rb +139 -0
- data/spec/pgconn_spec.rb +199 -38
- data/spec/pgresult_spec.rb +157 -51
- metadata +71 -48
- data/COPYING.txt +0 -340
- data/Rakefile +0 -103
- data/doc/postgres.html +0 -278
- data/doc/postgres.jp.html +0 -256
- data/ext/mingw/Rakefile +0 -24
- data/ext/mingw/build.rake +0 -40
- data/ext/mkrf_config.rb +0 -138
- data/ext/vc/pg.sln +0 -26
- data/sample/losample.rb +0 -47
- data/sample/psql.rb +0 -1181
- data/sample/psqlHelp.rb +0 -158
- data/sample/test1.rb +0 -63
- data/sample/test2.rb +0 -44
- data/sample/test4.rb +0 -71
- data/spec/data/expected_trace.out +0 -26
- data/spec/data/random_binary_data +0 -0
data/ChangeLog
CHANGED
@@ -1,261 +1,471 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
Tue Dec 14 2004
|
5
|
-
* set_notice_processor: add methods set_notice_processor.
|
6
|
-
Dennis Vshivkov <walrus@amur.ru>
|
7
|
-
|
8
|
-
Sat Nov 6 2004
|
9
|
-
* unescape_bytea: add methods unescape_bytea.
|
10
|
-
patch supplied by "Henry T. So Jr." <henryso@panix.com>
|
11
|
-
|
12
|
-
Sat Oct 9 2004
|
13
|
-
* extconf.rb: VERSION -> RUBY_VERSION.
|
14
|
-
add header check.
|
15
|
-
patch supplied by MoonWolf <moonwolf@moonwolf.com>
|
16
|
-
|
17
|
-
Fri Jul 2 2004
|
18
|
-
* open: add methods open.
|
19
|
-
patch supplied by Leon Brooks <leon-ruby-postgres@cyberknights.com.au>
|
20
|
-
|
21
|
-
Tue Feb 24 2004
|
22
|
-
* postgres.c: add comments.
|
23
|
-
patch supplied by Gavin Kistner <gavin@refinery.com>
|
24
|
-
|
25
|
-
Fri Nov 23 2003
|
26
|
-
* extconf.rb: add ssl support.
|
27
|
-
patch supplied by Martin Hedenfalk <mahe@kth.se>
|
28
|
-
|
29
|
-
Sat Nov 1 2003
|
30
|
-
|
31
|
-
* oid: add methods oid.
|
32
|
-
patch supplied by Ceri Storey <cez@compsoc.man.ac.uk>
|
33
|
-
|
34
|
-
Mon Jan 6 2003 version 0.7.1
|
35
|
-
|
36
|
-
* async_exec: remove check of PQisBusy.
|
37
|
-
patch supplied by <m_seki@mva.biglobe.ne.jp>
|
38
|
-
|
39
|
-
Wed Oct 16 2002 version 0.7.0
|
40
|
-
|
41
|
-
* rename README.jp -> README.ja.
|
42
|
-
|
43
|
-
Thu Oct 10 2002
|
44
|
-
|
45
|
-
* get_notify: bug fix Deletes of unnecessary "free(notify);"
|
46
|
-
debian bug report.
|
47
|
-
|
48
|
-
Wed Oct 9 2002
|
49
|
-
|
50
|
-
* query: add pgresult_clear.
|
51
|
-
patch supplied by "Shirai,Kaoru" <shirai@p1jp.com>
|
52
|
-
|
53
|
-
Sat Sep 28 2002
|
54
|
-
|
55
|
-
* PGconn: add methods escape, quote, escape_bytes.
|
56
|
-
patch supplied by MoonWolf <moonwolf@moonwolf.com>
|
57
|
-
|
58
|
-
Tue Aug 20 2002
|
59
|
-
|
60
|
-
* extconf.rb add dir_config('postgres')
|
61
|
-
patch supplied by Nate Haggard <nate@wordplace.com>
|
62
|
-
|
63
|
-
Mon Jun 3 2002 version 0.7.0-pre2
|
64
|
-
|
65
|
-
* not to use fe_getauthname().
|
66
|
-
patch supplied by Neil Conway <nconway@klamath.dyndns.org>
|
67
|
-
|
68
|
-
Thu May 30 2002 version 0.7.0-pre1
|
69
|
-
|
70
|
-
* Fix to insert_table so that nil values in Ruby are inserted
|
71
|
-
back into the database as nulls.
|
72
|
-
patch supplied by Jeremy Henty <jeremy@chaos.org.uk>
|
73
|
-
|
74
|
-
* Fix to insert_table to protect characters that Postgres would
|
75
|
-
otherwise interpret specially.
|
76
|
-
patch supplied by Jeremy Henty <jeremy@chaos.org.uk>
|
77
|
-
|
78
|
-
Wed Apr 24 2002
|
79
|
-
|
80
|
-
* Removed unused variables.
|
81
|
-
* Improve notification code.
|
82
|
-
* Add a missing "return Qnil" statement in a function
|
83
|
-
declared to return VALUE.
|
84
|
-
* Fix an minor error in pgconn_loopen().
|
85
|
-
patch supplied by Neil Conway <nconway@klamath.dyndns.org>
|
86
|
-
|
87
|
-
Tue Mar 5 2002
|
88
|
-
|
89
|
-
* fix pglarge_write return.
|
90
|
-
patch supplied by Noboru Matui <silicon@mx1.freemail.ne.jp>
|
91
|
-
|
92
|
-
Mon Jan 7 2002
|
93
|
-
|
94
|
-
* refer to POSTGRES_INCLUDE and POSTGTRES_LIB
|
95
|
-
environmental variables.
|
96
|
-
patch supplied by Neil Conway <nconway@klamath.dyndns.org>
|
97
|
-
|
98
|
-
Sun Dec 16 2001
|
99
|
-
|
100
|
-
* add methods "getisnull".
|
101
|
-
patch supplied by Jeremy Henty <jeremy@chaos.org.uk>
|
102
|
-
|
103
|
-
Tue Nov 27 2001
|
104
|
-
|
105
|
-
* convert NULL => nil .
|
106
|
-
patch supplied by "Shirai,Kaoru" <shirai@p1jp.com>
|
107
|
-
|
108
|
-
Mon Nov 19 2001 version 0.6.5 released
|
109
|
-
|
110
|
-
* change my address.
|
111
|
-
Noboru Saitou <noborus@netlab.jp>
|
112
|
-
|
113
|
-
Fri Nov 16 2001
|
114
|
-
|
115
|
-
* default encoding set.
|
116
|
-
Riley <wormwood@speakeasy.org>
|
117
|
-
|
118
|
-
Fri Nov 16 2001
|
119
|
-
|
120
|
-
* add methods "cmdtuples"
|
121
|
-
Gabriel Emerson <gemerson@evalsoft.com>
|
122
|
-
Thanks to greentea@fa2.so-net.ne.jp
|
123
|
-
|
124
|
-
Thu Jul 12 2001
|
125
|
-
|
126
|
-
* psql.rb $OPT_p => $OPT_p.to_i (bug fix).
|
127
|
-
Yuta TSUBOI <yuuta-t@is.aist-nara.ac.jp>
|
128
|
-
|
129
|
-
Mon Apr 23 2001 version 0.6.4 released
|
130
|
-
|
131
|
-
* add include sys/types.h
|
132
|
-
patch supplied by "Akinori MUSHA" <knu@iDaemons.org>.
|
133
|
-
|
134
|
-
Sun Apr 22 2001 version 0.6.3 released
|
135
|
-
|
136
|
-
* document updated.
|
137
|
-
|
138
|
-
Sun Mar 18 2001
|
139
|
-
|
140
|
-
* extern -> EXTERN changed.
|
141
|
-
shibata <kshibata@vesta.ocn.ne.jp>
|
142
|
-
|
143
|
-
Sun Feb 11 2001
|
144
|
-
|
145
|
-
* add methods "async_exec" and "async_query.
|
146
|
-
patch supplied by Andy Yu <is@gnuchina.org>.
|
147
|
-
|
148
|
-
Tue Feb 6 2001 version 0.6.2 released
|
149
|
-
|
150
|
-
* extconf.rb have_func second argument omit.
|
151
|
-
(old ruby version support).
|
152
|
-
|
153
|
-
Mon Feb 5 2001
|
154
|
-
|
155
|
-
* RSTRING(*)->ptr -> STR2CSTR(*) changed.
|
156
|
-
|
157
|
-
Sun Feb 4 2001
|
158
|
-
|
159
|
-
* README and README.jp copying are unified to Ruby's.
|
160
|
-
|
161
|
-
Wed Jan 31 2001
|
162
|
-
|
163
|
-
* postgres.html bug fix and better.
|
164
|
-
patch supplied by Neil Conway <nconway@klamath.dyndns.org>.
|
165
|
-
|
166
|
-
* README bug fix and better.
|
167
|
-
patch supplied by Neil Conway <nconway@klamath.dyndns.org>.
|
168
|
-
|
169
|
-
Sat Jan 27 2001
|
170
|
-
|
171
|
-
* extconf.rb add error message for
|
172
|
-
Could not find PostgreSQL libraries.
|
173
|
-
patch supplied by Neil Conway <nconway@klamath.dyndns.org>.
|
174
|
-
|
175
|
-
Tue Jan 23 2001
|
176
|
-
|
177
|
-
* add methods "initialize".
|
178
|
-
patch supplied by <matz@zetabits.com>.
|
179
|
-
|
180
|
-
Sun Dec 17 2000
|
181
|
-
|
182
|
-
* 8192 byte limit removed.
|
183
|
-
|
184
|
-
Tue Oct 11 2000
|
185
|
-
|
186
|
-
* methods name lo* -> lo_* changed.
|
1
|
+
156[tip] 9c65eb905416 2010-02-18 06:52 -0800 ged
|
2
|
+
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.
|
187
3
|
|
188
|
-
|
189
|
-
|
4
|
+
155 b0017ac0ecb5 2010-02-17 15:30 -0800 ged
|
5
|
+
Updated the Rakefile to always default the package version even if a version can't be read from the VERSION_FILE.
|
190
6
|
|
191
|
-
|
7
|
+
154 c7d5458af696 2010-02-17 06:23 -0800 ged
|
8
|
+
Improving spec database setup function (closes #18). Thanks to Lars Kanis for another fine patch.
|
192
9
|
|
193
|
-
|
194
|
-
|
10
|
+
153 39b11474d035 2010-02-17 06:14 -0800 ged
|
11
|
+
Ack! Removing typo
|
195
12
|
|
196
|
-
|
197
|
-
|
198
|
-
* insert_table bug fix.
|
199
|
-
patch supplied by "Okada Jun" <yun@be-in.org>.
|
13
|
+
152 9d54bbc98488 2010-02-17 06:10 -0800 ged
|
14
|
+
Adding a test to ensure the result encoding remains the same even when client_encoding in the connection changes.
|
200
15
|
|
201
|
-
|
16
|
+
151 31afece7c203 2010-01-18 09:15 -0800 ged
|
17
|
+
Made the 'make_header' in the extconf more clear.
|
202
18
|
|
203
|
-
|
19
|
+
150:149,148 d9c920068712 2010-01-13 20:56 -0800 pgsql
|
20
|
+
Merged
|
204
21
|
|
205
|
-
|
206
|
-
|
22
|
+
149:141 294eb6d5530b 2010-01-13 20:51 -0800 pgsql
|
23
|
+
In rspec tests, replace the pattern:
|
207
24
|
|
208
|
-
|
25
|
+
148 74fab32c2687 2010-01-11 08:15 -0800 ged
|
26
|
+
A better fix for the PGconn#block weirdness on Win32 (closes #16).
|
209
27
|
|
210
|
-
|
211
|
-
|
28
|
+
147 f8dfc1b6c51c 2010-01-06 06:17 -0800 ged
|
29
|
+
Rearranged the sections of the README.
|
212
30
|
|
213
|
-
|
31
|
+
146 0df792de2a19 2010-01-05 08:48 -0800 ged
|
32
|
+
Updating MacOS X README.
|
214
33
|
|
215
|
-
|
34
|
+
145 2894973bc63f 2010-01-04 18:28 -0800 ged
|
35
|
+
Work around broken rb_thread_select() on win32; thanks to Lars Kanis for the patch!
|
216
36
|
|
217
|
-
|
37
|
+
144 88dacdb9c97d 2010-01-04 18:16 -0800 ged
|
38
|
+
Reverted removal of PGresult::InvalidOid, fixed broken spec.
|
218
39
|
|
219
|
-
|
40
|
+
143 739cec560448 2010-01-04 17:55 -0800 ged
|
41
|
+
Ignore some generated files, documentation work, removed type OID constants.
|
220
42
|
|
221
|
-
|
43
|
+
142 38a0d2a90664 2010-01-04 17:39 -0800 ged
|
44
|
+
Applied patch for static cross-compilation of win32 gem from Lars Kanis with a few changes to
|
222
45
|
|
223
|
-
|
224
|
-
|
46
|
+
141 f31202539234 2010-01-03 11:40 -0800 ged
|
47
|
+
Updated build system
|
225
48
|
|
226
|
-
|
49
|
+
140:138 cc09390cb0a8 2010-01-02 09:22 -0800 ged
|
50
|
+
Added tag 0.8.0 for changeset 7fbe4187e9e5
|
227
51
|
|
228
|
-
|
229
|
-
|
52
|
+
139:136 d5fa3e079a55 2009-12-31 09:58 -0800 ged
|
53
|
+
Closing branch
|
230
54
|
|
231
|
-
|
55
|
+
138 05834d47aac3 2009-12-31 09:57 -0800 ged
|
56
|
+
Bumped version to 0.9.0
|
232
57
|
|
233
|
-
|
58
|
+
137:126,136 0997a0aa7624 2009-12-31 09:22 -0800 ged
|
59
|
+
Merged i17n-19-patches branch
|
234
60
|
|
235
|
-
|
61
|
+
136 f5af71167dea 2009-12-28 14:50 -0800 ged
|
62
|
+
Make PGconn.connect_start use PQconnectStart instead of PQconnectdb so asynchronous connection
|
236
63
|
|
237
|
-
|
64
|
+
135 42919e2a4ef8 2009-12-28 08:42 -0800 ged
|
65
|
+
Added column-selection methods to PGresult (#field_values and #column_values). Closes #12. Thanks to
|
238
66
|
|
239
|
-
|
67
|
+
134 39fdb2552163 2009-12-23 08:28 -0800 ged
|
68
|
+
Fixed #11: encrypt_arguments doesn't receive password, thanks to Yuki Miyauchi for the patch.
|
240
69
|
|
241
|
-
|
242
|
-
|
70
|
+
133 df770b6ad237 2009-12-23 07:49 -0800 ged
|
71
|
+
Fixed infinite loop in async_exec("COPY"), thanks to Mike Pomraning for the patch. Closes #9.
|
243
72
|
|
244
|
-
|
73
|
+
132 4cbcf197cb82 2009-12-16 09:03 -0800 ged
|
74
|
+
New build system, build with rake-compiler, added PGconn::VERSION.
|
245
75
|
|
246
|
-
|
247
|
-
|
76
|
+
131 6ba661bbdb28 2009-12-15 08:45 -0800 ged
|
77
|
+
Applied Rubyforge patch 26282; fixes #1. Thanks to Nikolai Lugovoi for the patch.
|
248
78
|
|
249
|
-
|
79
|
+
130 3e42badc15de 2009-12-11 17:28 -0800 ged
|
80
|
+
Notify spec fixes, cleanup, Rakefile clean task adjustments.
|
250
81
|
|
251
|
-
|
252
|
-
|
82
|
+
129 659d80221a45 2009-12-11 13:47 -0800 ged
|
83
|
+
Simplified the spec for PGconn#notify, still segfaulting.
|
253
84
|
|
254
|
-
|
85
|
+
128:127,126 26b614a7ece8 2009-12-11 09:01 -0800 ged
|
86
|
+
Merged Mahlon's examples-directory patch from default.
|
255
87
|
|
256
|
-
|
257
|
-
|
88
|
+
127:124,125 66234afab283 2009-12-11 09:01 -0800 ged
|
89
|
+
Merged Mahlon's notify patch from default.
|
258
90
|
|
259
|
-
|
91
|
+
126 1e6349a799c3 2009-12-10 10:30 -0800 mahlon
|
92
|
+
Add a sample (usage example) for wait_for_notify().
|
93
|
+
|
94
|
+
125:114 a3434e641f6a 2009-12-10 10:22 -0800 mahlon
|
95
|
+
* Small documentation fix for conn.notifies()
|
96
|
+
|
97
|
+
124 59549227d7c3 2009-10-29 06:10 -0700 ged
|
98
|
+
Remove old mkrf config file to avoid confusion
|
99
|
+
|
100
|
+
123 f30139fb0587 2009-10-28 18:14 -0700 ged
|
101
|
+
Write specs for and applied patch #26283; thanks to Nikolai Lugovoi.
|
102
|
+
|
103
|
+
122 a41d4291ffbb 2009-10-28 16:26 -0700 ged
|
104
|
+
Fixups after conversion to Mercurial, fixing tests broken by the changes in the previous commit.
|
105
|
+
|
106
|
+
121 91ee1ac36a54 2009-10-28 14:51 +0000 ged
|
107
|
+
* Made spec output elide output from the command line by default, and log everything for
|
108
|
+
|
109
|
+
120 0b28f9bd8935 2009-10-17 21:42 +0000 ged
|
110
|
+
Applied patch #26277; thanks to Nikolai Lugovoi.
|
111
|
+
|
112
|
+
119 cb5335861c5d 2009-10-16 20:50 +0000 ged
|
113
|
+
Build and warnings cleanup.
|
114
|
+
|
115
|
+
118 1d001b550715 2009-08-28 10:50 +0000 ged
|
116
|
+
Applied patch #26116; thanks to Nikolai Lugovoi.
|
117
|
+
|
118
|
+
117 d67c62945540 2009-08-28 06:22 +0000 ged
|
119
|
+
* Use pg_ctl -w instead of sleep for specs
|
120
|
+
|
121
|
+
116 0524dd20fb0f 2009-08-25 00:35 +0000 ged
|
122
|
+
* Applied patch from (rubyforge:25931), fixes (rubyforge:22925).
|
123
|
+
|
124
|
+
115 d0267176eb61 2009-07-30 15:52 +0000 ged
|
125
|
+
Making a branch for merging the patches and new specs to test them.
|
126
|
+
|
127
|
+
114[0.8.0] 7fbe4187e9e5 2009-03-28 22:53 +0000 davis
|
128
|
+
Bump version to 0.8.0
|
129
|
+
|
130
|
+
113 39a19c65b0a0 2009-03-28 19:39 +0000 cfis
|
131
|
+
Don't call file trace on windows.
|
132
|
+
|
133
|
+
112 c4598eee6d1b 2009-03-28 19:33 +0000 cfis
|
134
|
+
Updated VC2008 project
|
135
|
+
|
136
|
+
111 c75883fb5979 2009-03-28 19:32 +0000 cfis
|
137
|
+
Updated VC2008 project
|
138
|
+
|
139
|
+
110 4192e6d1ccc0 2009-03-28 16:49 +0000 davis
|
140
|
+
Fix socket leak when connection error occurs.
|
141
|
+
|
142
|
+
109 03d6ef0de9ef 2009-03-28 15:42 +0000 davis
|
143
|
+
PGconn#lo_close was calling lo_unlink.
|
144
|
+
|
145
|
+
108 b27b4b4a54eb 2009-03-28 15:37 +0000 davis
|
146
|
+
Change header so it builds correctly on 1.8 and 1.9.
|
147
|
+
|
148
|
+
107 f7b97416c101 2009-03-14 09:22 +0000 cfis
|
149
|
+
Oops - use ALLOC_N not ALLOC, fixes compile error with VC2008.
|
150
|
+
|
151
|
+
106 c0fd7531850f 2009-03-14 09:14 +0000 cfis
|
152
|
+
Ignore rdoc directory, pkg directory, nbproject directory.
|
153
|
+
|
154
|
+
105 c675c7534c4d 2009-03-14 09:13 +0000 cfis
|
155
|
+
This rakefile is just used for installing the windows gem.
|
156
|
+
|
157
|
+
104 c3329724ef5b 2009-03-14 09:13 +0000 cfis
|
158
|
+
Split out building on mingw to a separate rake file.
|
159
|
+
|
160
|
+
103 01e1dbb950c8 2009-03-14 09:12 +0000 cfis
|
161
|
+
Updated VC2008 projects for Ruby 1.8 and Ruby 1.9 (1.9 not quite setup yet).
|
162
|
+
|
163
|
+
102 677d3eae5b16 2009-03-14 09:11 +0000 cfis
|
164
|
+
Added rdoc task so you can type rake rdoc. Makes it easier to debug rdoc documentation.
|
165
|
+
|
166
|
+
101 c33a73c14126 2009-03-14 08:54 +0000 cfis
|
167
|
+
Windows compatibility - use tcp/ip sockets, use full path names, read files in binary mode.
|
168
|
+
|
169
|
+
100 241d3410b875 2009-03-14 08:48 +0000 cfis
|
170
|
+
Ripple port change through text. Always full path to open spec file.
|
171
|
+
|
172
|
+
99 1bf29d30c16c 2009-03-14 08:29 +0000 cfis
|
173
|
+
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 '.
|
174
|
+
|
175
|
+
98 4dae2cabb5ae 2009-03-14 07:47 +0000 cfis
|
176
|
+
Export Init_pg in windows shared library.
|
177
|
+
|
178
|
+
97 4e9b028c55cd 2009-03-14 07:46 +0000 cfis
|
179
|
+
Fix up memory handling for Windows (match ALLOC with xfree).
|
180
|
+
|
181
|
+
96 4a9ffd0aa913 2009-03-06 18:18 +0000 davis
|
182
|
+
1.9 compatibility fixes.
|
183
|
+
|
184
|
+
95:93 7178d13749b7 2008-12-03 06:52 +0000 davis
|
185
|
+
Add better support for windows build.
|
186
|
+
|
187
|
+
94:92 4c2ea65f2eb9 2008-10-14 05:27 +0000 davis
|
188
|
+
Merged revisions 175 via svnmerge from
|
189
|
+
|
190
|
+
93:91 3bf9ef75bae5 2008-10-14 05:25 +0000 davis
|
191
|
+
Revert r172.
|
192
|
+
|
193
|
+
92:86 7e7c22be0302 2008-10-05 19:43 +0000 davis
|
194
|
+
Merged revisions 169-173 via svnmerge from
|
195
|
+
|
196
|
+
91 cdf306d84adf 2008-10-05 19:18 +0000 davis
|
197
|
+
Update spec tests.
|
198
|
+
|
199
|
+
90 0386537bd139 2008-10-05 19:04 +0000 davis
|
200
|
+
Include all libraries listed in "pg_config --libs" in the build.
|
201
|
+
|
202
|
+
89 68473ee45e28 2008-10-05 18:47 +0000 davis
|
203
|
+
Fix PGconn#async_exec and PGconn#get_last_result to properly clear all
|
204
|
+
|
205
|
+
88 622eec9c6b0b 2008-10-05 18:01 +0000 davis
|
206
|
+
Throw correct exception when result is NULL.
|
207
|
+
|
208
|
+
87:85 8e8045947a9c 2008-08-21 02:48 +0000 davis
|
209
|
+
Fixed option connection argument in the case of using 7 arguments.
|
210
|
+
|
211
|
+
86:84 3e9dda291ef3 2008-08-17 20:42 +0000 davis
|
212
|
+
Merged revisions 166 via svnmerge from
|
213
|
+
|
214
|
+
85:80 c5c44a6267f7 2008-08-17 20:35 +0000 davis
|
215
|
+
Typo fix.
|
216
|
+
|
217
|
+
84 3686c9944fe1 2008-08-17 20:27 +0000 davis
|
218
|
+
Add ext_helper.rb
|
219
|
+
|
220
|
+
83 ed3294b76bf7 2008-08-17 20:23 +0000 davis
|
221
|
+
Merged revisions 149-160 via svnmerge from
|
222
|
+
|
223
|
+
82 ff6af5fc4dc3 2008-08-17 20:05 +0000 davis
|
224
|
+
Initialized merge tracking via "svnmerge" with revisions "1-146" from
|
225
|
+
|
226
|
+
81:68 1a7b63bacfee 2008-08-17 19:55 +0000 davis
|
227
|
+
Initialized merge tracking via "svnmerge" with revisions "1-146" from
|
228
|
+
|
229
|
+
80 ed8927d7f45d 2008-08-17 19:26 +0000 davis
|
230
|
+
Properly protect variables from garbage collection, preventing possible memory
|
231
|
+
|
232
|
+
79 c7c5d25c851c 2008-08-17 18:19 +0000 davis
|
233
|
+
Applied build patch from Brett Neumeier. Thanks!
|
234
|
+
|
235
|
+
78 48d2bdfcc630 2008-07-24 05:46 +0000 davis
|
236
|
+
Fixed PGconn#setnonblocking
|
237
|
+
|
238
|
+
77 b2e1bc03aca5 2008-07-24 05:33 +0000 davis
|
239
|
+
Changed all temporary allocations to use ALLOC_N (heap
|
240
|
+
|
241
|
+
76 c775c24a75f9 2008-07-08 06:21 +0000 davis
|
242
|
+
Fix oversight in connect arguments for options and connect_timeout
|
243
|
+
|
244
|
+
75 b86f0f75181e 2008-04-21 17:41 +0000 davis
|
245
|
+
* backtracked a small piece of the patch, to catch
|
246
|
+
|
247
|
+
74 b3a05d09fb27 2008-04-21 17:24 +0000 davis
|
248
|
+
* applied patch from Louis Lavena to improve
|
249
|
+
|
250
|
+
73 7579885aff18 2008-04-21 17:13 +0000 davis
|
251
|
+
* added some tests for binary data
|
252
|
+
|
253
|
+
72 de58e242dd99 2008-03-20 19:16 +0000 davis
|
254
|
+
* added PGconn#cancel() -> String
|
255
|
+
|
256
|
+
71 778892302876 2008-03-20 18:20 +0000 davis
|
257
|
+
* added PGconn.connect_start(...) -> PGconn
|
258
|
+
|
259
|
+
70 630cca5e74c1 2008-03-19 21:19 +0000 davis
|
260
|
+
* forgot to add the expected output to the repository,
|
261
|
+
|
262
|
+
69:67 661ed2fea9e2 2008-03-19 21:17 +0000 davis
|
263
|
+
This commmit just cleans up indenting and coding
|
264
|
+
|
265
|
+
68:65 f9cd915ea427 2008-03-18 02:32 +0000 davis
|
266
|
+
merged ruby-pg/trunk rev 123:146 with ruby-pg/branches/stable
|
267
|
+
|
268
|
+
67 d821d50b7d95 2008-03-17 21:34 +0000 davis
|
269
|
+
re-adding mkrf_config.rb
|
270
|
+
|
271
|
+
66:64 a66f44648857 2008-03-17 21:33 +0000 davis
|
272
|
+
temporarily removing mkrf_config.rb and will re-add it in the
|
273
|
+
|
274
|
+
65:43 bae01401c92b 2008-03-17 21:29 +0000 davis
|
275
|
+
merged ruby-pg/trunk rev 123:125 with ruby-pg/branches/stable
|
276
|
+
|
277
|
+
64 c8752b1a33cd 2008-03-17 17:29 +0000 davis
|
278
|
+
* 7.3 compatibility fixes
|
279
|
+
|
280
|
+
63 4aa1190e1873 2008-03-17 16:19 +0000 davis
|
281
|
+
* Added PGconn#reset_start
|
282
|
+
|
283
|
+
62 1224350cdcb6 2008-03-12 17:39 +0000 davis
|
284
|
+
* added SQLSTATE test
|
285
|
+
|
286
|
+
61 639f8bf03621 2008-03-12 16:40 +0000 davis
|
287
|
+
* updated the README to reflect the fact that the pg
|
288
|
+
|
289
|
+
60 1fd6244025c5 2008-03-11 21:35 +0000 davis
|
290
|
+
* tried to make it easier to find the license information
|
291
|
+
|
292
|
+
59 1c4f58ec2264 2008-03-10 23:55 +0000 davis
|
293
|
+
* add better checking to make sure that PGconn#trace is passed
|
294
|
+
|
295
|
+
58 e94ce7f92a06 2008-03-10 18:14 +0000 davis
|
296
|
+
* corrected handling of bytea when passed in binary format
|
297
|
+
|
298
|
+
57 221e68f16f2d 2008-03-10 17:54 +0000 davis
|
299
|
+
* make PGconn#trace accept any object that provides
|
300
|
+
|
301
|
+
56 2e722b22b4bc 2008-03-10 17:34 +0000 davis
|
302
|
+
* Added PGconn#trace(filename)
|
303
|
+
|
304
|
+
55 9b1308e85390 2008-03-07 18:11 +0000 davis
|
305
|
+
* Added check to find pg_config. If not found, throw an error.
|
306
|
+
|
307
|
+
54 480eae4733ff 2008-02-22 01:26 +0000 davis
|
308
|
+
* fixed PGconn#trace
|
309
|
+
|
310
|
+
53 a6a1c8613b31 2008-02-21 01:05 +0000 davis
|
311
|
+
* added PGconn#set_notice_receiver{ |result| ... }
|
312
|
+
|
313
|
+
52 8a6e663a70f7 2008-02-19 19:25 +0000 davis
|
314
|
+
quick change
|
315
|
+
|
316
|
+
51 5fc41a8f71f0 2008-02-19 19:06 +0000 davis
|
317
|
+
fix escaping of paths on windows (another try)
|
318
|
+
|
319
|
+
50 a465fe9f95a3 2008-02-18 19:32 +0000 davis
|
320
|
+
* attempted some compatibility fixes for windows
|
321
|
+
|
322
|
+
49 5a91f5660c17 2008-02-13 01:24 +0000 davis
|
323
|
+
* better quoting and error handling when invoking other programs,
|
324
|
+
|
325
|
+
48 5289d5034472 2008-02-13 01:10 +0000 davis
|
326
|
+
quote include and library paths
|
327
|
+
|
328
|
+
47 ed53517514b1 2008-02-13 00:22 +0000 davis
|
329
|
+
* created a mkrf_config.rb. I am attempting to transition away from
|
330
|
+
|
331
|
+
46 21bf96d0f702 2008-02-11 18:35 +0000 davis
|
332
|
+
* windows fixes (thanks Daniel Berger!)
|
333
|
+
|
334
|
+
45 9d0a23cf2113 2008-02-11 17:43 +0000 davis
|
335
|
+
* fix temporary postgresql test installation in
|
336
|
+
|
337
|
+
44:42 7fcd53437c79 2008-02-08 18:27 +0000 davis
|
338
|
+
* properly retrieve binary data from result sets
|
339
|
+
|
340
|
+
43:31 83e5013eccc8 2008-02-05 19:23 +0000 davis
|
341
|
+
merged ruby-pg/trunk rev 109:121 with ruby-pg/branches/stable
|
342
|
+
|
343
|
+
42 295c477ed74f 2008-02-05 17:56 +0000 davis
|
344
|
+
fixed bug caused by a typo. HAVE_LOCREATE should have been HAVE_LO_CREATE
|
345
|
+
|
346
|
+
41 ef2214d7f448 2008-02-01 19:33 +0000 davis
|
347
|
+
* made exec, exec_prepared, send_query, and send_prepared with parameters
|
348
|
+
|
349
|
+
40 7303b8165a37 2008-02-01 18:29 +0000 davis
|
350
|
+
* Corrected a comment.
|
351
|
+
|
352
|
+
39 b3ad2112a91e 2008-01-31 22:11 +0000 davis
|
353
|
+
* removed duplicate definition of PGconn.open
|
354
|
+
|
355
|
+
38 ce9c0e52eec6 2008-01-31 21:41 +0000 davis
|
356
|
+
more test improvements
|
357
|
+
|
358
|
+
37 97cbdebaeb11 2008-01-31 21:19 +0000 davis
|
359
|
+
renamed pg_spec to pgconn_spec
|
360
|
+
|
361
|
+
36 1cb0537730bf 2008-01-31 21:00 +0000 davis
|
362
|
+
* Added some tests
|
363
|
+
|
364
|
+
35 29b827c7dbd0 2008-01-30 18:27 +0000 davis
|
365
|
+
* added PGconn.conndefaults
|
366
|
+
|
367
|
+
34 c18f38225bc7 2008-01-29 19:44 +0000 davis
|
368
|
+
corrected the tainting of some strings returned by the database
|
369
|
+
|
370
|
+
33 56cd8c6ee046 2008-01-29 17:50 +0000 davis
|
371
|
+
changed gem name from 'ruby-pg' to just 'pg'
|
372
|
+
|
373
|
+
32:30 a9097dead780 2008-01-28 21:19 +0000 davis
|
374
|
+
made a pg.gemspec so that people can build 'pg' gem
|
375
|
+
|
376
|
+
31:26 abfe9a457946 2008-01-28 18:50 +0000 davis
|
377
|
+
merged ruby-pg/trunk rev 104 with ruby-pg/branches/stable
|
378
|
+
|
379
|
+
30 cfdcfcd445ab 2008-01-26 00:20 +0000 davis
|
380
|
+
changed exception type for empty data structures
|
381
|
+
|
382
|
+
29 81cd03f8a2c3 2008-01-25 23:42 +0000 davis
|
383
|
+
* added PGconn#async_exec and alias PGconn#async_query
|
384
|
+
|
385
|
+
28 29d775393e88 2008-01-25 00:59 +0000 davis
|
386
|
+
added PGresult#cmdtuples as alias for PGresult#cmd_tuples
|
387
|
+
|
388
|
+
27:25 eac7df0aa291 2008-01-25 00:46 +0000 davis
|
389
|
+
Added:
|
390
|
+
|
391
|
+
26:24 c7ddb58579d3 2008-01-24 23:07 +0000 davis
|
392
|
+
moved a few minor changes over before release
|
393
|
+
|
394
|
+
25:23 7908e778e7c3 2008-01-24 23:00 +0000 davis
|
395
|
+
Added README.windows and README.OS_X
|
396
|
+
|
397
|
+
24:8 8df9da92380e 2008-01-24 18:45 +0000 davis
|
398
|
+
merged revision 77:HEAD of ruby-pg/trunk to ruby-pg/branches/stable
|
399
|
+
|
400
|
+
23 7cc13a1f3010 2008-01-24 17:48 +0000 davis
|
401
|
+
Another change to improve windows compatibility.
|
402
|
+
|
403
|
+
22 ee0577472b67 2008-01-24 02:07 +0000 davis
|
404
|
+
fixed typo
|
405
|
+
|
406
|
+
21 eaf3b1825d56 2008-01-24 02:05 +0000 davis
|
407
|
+
My previous fix for OS X compatibility didn't work well enough.
|
408
|
+
|
409
|
+
20 12b2568a0ada 2008-01-23 23:18 +0000 davis
|
410
|
+
* had to include that file conditionally
|
411
|
+
|
412
|
+
19 34dd04d21a78 2008-01-23 23:04 +0000 davis
|
413
|
+
* included an additional file so that it works with
|
414
|
+
|
415
|
+
18 4cf66b7302bf 2008-01-23 21:42 +0000 davis
|
416
|
+
* added PGconn.quote_ident to quote identifiers
|
417
|
+
|
418
|
+
17 081e4d8ee394 2008-01-22 18:48 +0000 davis
|
419
|
+
* made PGconn#query alias for PGconn#exec
|
420
|
+
|
421
|
+
16 4774578059e1 2008-01-22 17:52 +0000 davis
|
422
|
+
* Detect if compiling on OS X, and if so set $ARCHFLAGS correctly.
|
423
|
+
|
424
|
+
15 204f4b591614 2008-01-21 18:53 +0000 davis
|
425
|
+
made conn.block cleaner and it should be more portable.
|
426
|
+
|
427
|
+
14 449d54289f07 2008-01-18 18:10 +0000 davis
|
428
|
+
Miscellaneous changes:
|
429
|
+
|
430
|
+
13 aadd4008d2e3 2008-01-17 23:18 +0000 davis
|
431
|
+
started creating a rspec test, more tests to come later
|
432
|
+
|
433
|
+
12 4f276bb9c4b1 2008-01-17 23:11 +0000 davis
|
434
|
+
properly free memory in conn.get_copy_data
|
435
|
+
|
436
|
+
11 95d9ff13c269 2008-01-15 21:24 +0000 davis
|
437
|
+
Added conn.block( [ timeout ] ) -> Boolean
|
438
|
+
|
439
|
+
10 4cefa3b1ecbb 2008-01-14 23:23 +0000 davis
|
440
|
+
Added conn.transaction{ |conn| ... }
|
441
|
+
|
442
|
+
9:6 ae8c3b66c48d 2008-01-14 19:22 +0000 davis
|
443
|
+
Support for PostgreSQL 7.3.
|
444
|
+
|
445
|
+
8 8eb1346cb9aa 2008-01-09 02:08 +0000 davis
|
446
|
+
removed extra directory that was left in the merge
|
447
|
+
|
448
|
+
7:0 d6d19e5371d4 2008-01-09 01:59 +0000 davis
|
449
|
+
merged ruby-pg/trunk rev 69 to ruby-pg/branches/stable
|
450
|
+
|
451
|
+
6 1fd8b2aaac4c 2008-01-08 23:19 +0000 davis
|
452
|
+
Added:
|
453
|
+
|
454
|
+
5 5c0a63028583 2008-01-08 22:26 +0000 davis
|
455
|
+
Added:
|
456
|
+
|
457
|
+
4 40270de77f48 2008-01-07 23:30 +0000 davis
|
458
|
+
fixed a few method defines for async query processing
|
459
|
+
|
460
|
+
3 d05d9f2042d7 2008-01-07 22:52 +0000 davis
|
461
|
+
Change conn.exec to use PQexec if no parameters are passed,
|
462
|
+
|
463
|
+
2 a531a7bc9241 2008-01-07 22:31 +0000 davis
|
464
|
+
Cleanup after the repository reorganization.
|
465
|
+
|
466
|
+
1:-1 aafc8cf17567 2008-01-07 22:16 +0000 davis
|
467
|
+
Split 'ruby-pg' module and 'postgres' module
|
468
|
+
|
469
|
+
0 7716d24a143b 2008-01-07 22:16 +0000 davis
|
470
|
+
Split 'ruby-pg' module and 'postgres' module
|
260
471
|
|
261
|
-
* first release.
|