pg 0.11.0 → 0.12.0pre258

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.
@@ -1,4 +1,4 @@
1
- #!/usr/bin/env spec
1
+ #!/usr/bin/env rspec
2
2
  # encoding: utf-8
3
3
 
4
4
  BEGIN {
metadata CHANGED
@@ -1,13 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pg
3
3
  version: !ruby/object:Gem::Version
4
- hash: 51
4
+ hash: 1923832429
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
- - 11
8
+ - 12
9
9
  - 0
10
- version: 0.11.0
10
+ - pre
11
+ - 258
12
+ version: 0.12.0pre258
11
13
  platform: ruby
12
14
  authors:
13
15
  - Jeff Davis
@@ -36,12 +38,89 @@ cert_chain:
36
38
  cmlhXe46pZNJgWKbxZah85jIjx95hR8vOI+NAM5iH9kOqK13DrxacTKPhqj5PjwF
37
39
  -----END CERTIFICATE-----
38
40
 
39
- date: 2011-04-19 00:00:00 Z
40
- dependencies: []
41
-
41
+ date: 2011-10-07 00:00:00 Z
42
+ dependencies:
43
+ - !ruby/object:Gem::Dependency
44
+ name: rake-compiler
45
+ prerelease: false
46
+ requirement: &id001 !ruby/object:Gem::Requirement
47
+ none: false
48
+ requirements:
49
+ - - ~>
50
+ - !ruby/object:Gem::Version
51
+ hash: 5
52
+ segments:
53
+ - 0
54
+ - 7
55
+ version: "0.7"
56
+ type: :runtime
57
+ version_requirements: *id001
58
+ - !ruby/object:Gem::Dependency
59
+ name: hoe-mercurial
60
+ prerelease: false
61
+ requirement: &id002 !ruby/object:Gem::Requirement
62
+ none: false
63
+ requirements:
64
+ - - ~>
65
+ - !ruby/object:Gem::Version
66
+ hash: 25
67
+ segments:
68
+ - 1
69
+ - 3
70
+ - 1
71
+ version: 1.3.1
72
+ type: :development
73
+ version_requirements: *id002
74
+ - !ruby/object:Gem::Dependency
75
+ name: hoe-highline
76
+ prerelease: false
77
+ requirement: &id003 !ruby/object:Gem::Requirement
78
+ none: false
79
+ requirements:
80
+ - - ~>
81
+ - !ruby/object:Gem::Version
82
+ hash: 29
83
+ segments:
84
+ - 0
85
+ - 0
86
+ - 1
87
+ version: 0.0.1
88
+ type: :development
89
+ version_requirements: *id003
90
+ - !ruby/object:Gem::Dependency
91
+ name: rspec
92
+ prerelease: false
93
+ requirement: &id004 !ruby/object:Gem::Requirement
94
+ none: false
95
+ requirements:
96
+ - - ~>
97
+ - !ruby/object:Gem::Version
98
+ hash: 15
99
+ segments:
100
+ - 2
101
+ - 6
102
+ version: "2.6"
103
+ type: :development
104
+ version_requirements: *id004
105
+ - !ruby/object:Gem::Dependency
106
+ name: hoe
107
+ prerelease: false
108
+ requirement: &id005 !ruby/object:Gem::Requirement
109
+ none: false
110
+ requirements:
111
+ - - ~>
112
+ - !ruby/object:Gem::Version
113
+ hash: 27
114
+ segments:
115
+ - 2
116
+ - 12
117
+ version: "2.12"
118
+ type: :development
119
+ version_requirements: *id005
42
120
  description: |-
43
- This is the extension library to access a PostgreSQL database from Ruby.
44
- This library works with PostgreSQL 7.4 and later.
121
+ Pg is the Ruby interface to the {PostgreSQL RDBMS}[http://www.postgresql.org/].
122
+
123
+ It works with PostgreSQL 8.2 and later.
45
124
  email:
46
125
  - ruby-pg@j-davis.com
47
126
  - ged@FaerieMUD.org
@@ -50,67 +129,69 @@ executables: []
50
129
  extensions:
51
130
  - ext/extconf.rb
52
131
  extra_rdoc_files:
53
- - ChangeLog
54
- - README
55
- - README.ja
56
- - README.OS_X
57
- - README.windows
132
+ - Manifest.txt
133
+ - Contributors.rdoc
134
+ - History.rdoc
135
+ - README.ja.rdoc
136
+ - README.OS_X.rdoc
137
+ - README.rdoc
138
+ - README.windows.rdoc
139
+ - BSD
140
+ - GPL
58
141
  - LICENSE
142
+ - ext/compat.c
143
+ - ext/pg.c
59
144
  files:
60
- - Rakefile
61
- - ChangeLog
62
- - README
63
- - README.ja
64
- - README.OS_X
65
- - README.windows
145
+ - .gemtest
146
+ - BSD
147
+ - Contributors.rdoc
148
+ - GPL
149
+ - History.rdoc
66
150
  - LICENSE
67
- - spec/m17n_spec.rb
68
- - spec/pgconn_spec.rb
69
- - spec/pgresult_spec.rb
70
- - spec/lib/helpers.rb
71
- - lib/pg.rb
151
+ - Manifest.txt
152
+ - README.OS_X.rdoc
153
+ - README.ja.rdoc
154
+ - README.rdoc
155
+ - README.windows.rdoc
156
+ - Rakefile
72
157
  - ext/compat.c
73
- - ext/pg.c
74
158
  - ext/compat.h
75
- - ext/pg.h
76
159
  - ext/extconf.rb
77
- - rake/191_compat.rb
78
- - rake/dependencies.rb
79
- - rake/documentation.rb
80
- - rake/helpers.rb
81
- - rake/hg.rb
82
- - rake/manual.rb
83
- - rake/packaging.rb
84
- - rake/publishing.rb
85
- - rake/style.rb
86
- - rake/svn.rb
87
- - rake/testing.rb
88
- - rake/verifytask.rb
89
- - ./README.ja
90
- - ./README.OS_X
91
- - ./README.windows
92
- - ./GPL
93
- - ./BSD
94
- - ./Contributors
95
- - Rakefile.local
160
+ - ext/pg.c
161
+ - ext/pg.h
162
+ - ext/vc/pg.sln
163
+ - ext/vc/pg_18/pg.vcproj
164
+ - ext/vc/pg_19/pg_19.vcproj
165
+ - lib/pg.rb
166
+ - misc/openssl-pg-segfault.rb
167
+ - sample/async_api.rb
168
+ - sample/copyfrom.rb
169
+ - sample/copyto.rb
170
+ - sample/losample.rb
171
+ - sample/notify_wait.rb
172
+ - sample/psql.rb
173
+ - sample/psqlHelp.rb
174
+ - sample/test1.rb
175
+ - sample/test2.rb
176
+ - sample/test4.rb
177
+ - sample/test_binary_values.rb
96
178
  - spec/data/expected_trace.out
97
179
  - spec/data/random_binary_data
98
- homepage: http://bitbucket.org/ged/ruby-pg/
180
+ - spec/lib/helpers.rb
181
+ - spec/m17n_spec.rb
182
+ - spec/pgconn_spec.rb
183
+ - spec/pgresult_spec.rb
184
+ homepage: https://bitbucket.org/ged/ruby-pg
99
185
  licenses:
186
+ - BSD
100
187
  - Ruby
101
188
  - GPL
102
- - BSD
103
189
  post_install_message:
104
190
  rdoc_options:
105
- - --tab-width=4
106
- - --show-hash
107
- - --include
108
- - .
109
- - --main=README
110
- - --title=pg
191
+ - --main
192
+ - README.rdoc
111
193
  require_paths:
112
194
  - lib
113
- - ext
114
195
  required_ruby_version: !ruby/object:Gem::Requirement
115
196
  none: false
116
197
  requirements:
@@ -131,17 +212,12 @@ required_rubygems_version: !ruby/object:Gem::Requirement
131
212
  segments:
132
213
  - 0
133
214
  version: "0"
134
- requirements:
135
- - PostgreSQL >=7.4
136
- rubyforge_project:
137
- rubygems_version: 1.7.2
215
+ requirements: []
216
+
217
+ rubyforge_project: pg
218
+ rubygems_version: 1.8.10
138
219
  signing_key:
139
220
  specification_version: 3
140
- summary: A Ruby interface to the PostgreSQL RDBMS
141
- test_files:
142
- - spec/m17n_spec.rb
143
- - spec/pgconn_spec.rb
144
- - spec/pgresult_spec.rb
145
- - spec/lib/helpers.rb
146
- - spec/data/expected_trace.out
147
- - spec/data/random_binary_data
221
+ summary: Pg is the Ruby interface to the {PostgreSQL RDBMS}[http://www.postgresql.org/]
222
+ test_files: []
223
+
data.tar.gz.sig DELETED
@@ -1,2 +0,0 @@
1
- �����kF �7�~į/�,�m���oн��d ����FXoY��>0C�Q�����+R��|f!�[,��ε����C>�g
2
- [�qj�J�p��0�tT�����I:f����-�y���*�_E؟,�,}��)�S8 ]u��VmnE��N]nn�
data/ChangeLog DELETED
@@ -1,693 +0,0 @@
1
- 230[tip] 24aa7899c696 2011-04-18 16:51 -0700 ged
2
- Move connection-parameter parsing into Ruby, and make option-handling more
3
-
4
- 229:228,222 b477174160c8 2011-03-30 06:13 -0700 ged
5
- Automated merge with ssh://bitbucket.org/larskanis/ruby-pg
6
-
7
- 228 cc3a7476465c 2011-03-15 13:21 +0100 kanis
8
- Update cross compilation tasks to use Ruby 1.8.7 instead of 1.8.6, since pg.gem requires at least 1.8.7 to get installed
9
-
10
- 227 b90f74cb11a5 2011-03-12 21:40 +0100 kanis
11
- Update readme for cross compile
12
-
13
- 226 780650f201e3 2011-03-12 21:38 +0100 kanis
14
- Use RUBY_CC_VERSION from command line, if set
15
-
16
- 225 31089d6c9dde 2011-03-11 22:14 +0100 kanis
17
- update PG and OpenSSL version for cross compile
18
-
19
- 224 dfe3e7c1ea27 2011-03-11 21:58 +0100 kanis
20
- always run "make libpq.a" for cross compilation
21
-
22
- 223:221 06e17573b133 2011-03-11 21:54 +0100 kanis
23
- re-add required libs for cross compilation
24
-
25
- 222 56098b479a23 2011-03-30 05:52 -0700 ged
26
- Comment the WIN32 console FD stuff so I remember what it does.
27
-
28
- 221 1baa7a8e673e 2011-02-23 14:11 -0800 ged
29
- Whitespace/line-ending fixes
30
-
31
- 220:217,219 fb7d22101adf 2011-02-23 11:40 -0800 ged
32
- Merged with 1c3a1ca9f0cd
33
-
34
- 219 1c3a1ca9f0cd 2011-01-22 04:41 +0800 ghazel
35
- for windows support, duplicate the sockets from libpq and create temporary CRT fds
36
-
37
- 218:214 c3f163bf1ecd 2011-01-22 22:11 -0800 ged
38
- Pulling fixes for Windows from ghazel on Github
39
-
40
- 217 18f413081e0c 2011-02-10 16:19 -0800 ged
41
- Bump minor version.
42
-
43
- 216 739692aa8dd1 2011-01-31 17:10 -0800 ged
44
- Reformatting fixes for PGresult#[] and PGresult#values
45
-
46
- 215 59679aee98ee 2011-01-31 11:30 -0600 me-bitbucket
47
- added PGresult#values to get an array of arrays
48
-
49
- 214 8ab3dd3c757b 2011-01-19 08:00 -0800 ged
50
- Added tag v0.10.1 for changeset de10b5d8e442
51
-
52
- 213[v0.10.1] de10b5d8e442 2011-01-19 08:00 -0800 ged
53
- Added signature for changeset 230ea3e68db2
54
-
55
- 212 230ea3e68db2 2011-01-19 07:54 -0800 ged
56
- Add an include guard for pg.h
57
-
58
- 211 f877d2d399cc 2011-01-19 07:53 -0800 ged
59
- Simplify the common case require of the ext
60
-
61
- 210 8e1707a90330 2011-01-19 07:52 -0800 ged
62
- Include the extconf header
63
-
64
- 209 89348c8bb6d1 2010-12-06 12:00 -0800 ged
65
- Experimenting with a greatly-simplified extconf, since the complex one isn't solving any problems
66
-
67
- 208 aea173eec98a 2010-12-06 08:45 -0800 ged
68
- Bumping version to 0.10.1.
69
-
70
- 207 d61e3310ea3d 2010-12-06 08:41 -0800 ged
71
- Fixing compatibility with versions of PostgreSQL without PQgetCancel. (fixes #36)
72
-
73
- 206 89979f184b22 2010-12-06 07:44 -0800 ged
74
- Fix require for natively-compiled extension under Windows. (fixes #55)
75
-
76
- 205 9e11be78bfe4 2010-12-06 07:32 -0800 ged
77
- Change rb_yield_splat() to rb_yield_values() for compatibility with Rubinius. (fixes #54)
78
-
79
- 204 eb0d4b1df418 2010-12-01 18:54 -0800 ged
80
- Removed tag 0.10.0
81
-
82
- 203 78a63dce1491 2010-12-01 18:52 -0800 ged
83
- Added tag v0.10.0 for changeset 1822a169c4fe
84
-
85
- 202 469211f606ea 2010-12-01 18:52 -0800 ged
86
- Fix deprecated expectation.
87
-
88
- 201:197,200 857722663a6f 2010-12-01 18:47 -0800 ged
89
- Merged in Mahlon's wait_for_notify update for PostgreSQL 9's notification payload
90
-
91
- 200 8ffb67a23f45 2010-12-01 18:30 -0800 ged
92
- Closing pg90_notify_payload pbranch for merge into default
93
-
94
- 199 de86dca00ad2 2010-12-01 18:24 -0800 ged
95
- Finished the merge of default; fixed specs under 1.9.2.
96
-
97
- 198:197,188 60664b2495cf 2010-12-01 16:39 -0800 ged
98
- merge of default
99
-
100
- 197 148d0cc3db4a 2010-12-01 14:19 -0800 ged
101
- Added tag 0.10.0 for changeset 1822a169c4fe
102
-
103
- 196[v0.10.0] 1822a169c4fe 2010-12-01 14:19 -0800 ged
104
- Added signature for changeset 3993015a841e
105
-
106
- 195 3993015a841e 2010-12-01 12:20 -0800 ged
107
- Ignore the yard cache, handle missing rake-compiler for non-compile-related tasks.
108
-
109
- 194 71786704391b 2010-11-11 21:39 -0600 ged
110
- Build/gem updates
111
-
112
- 193 899329ce1b4e 2010-11-11 21:09 -0600 ged
113
- Added a spec for collapsed notifications.
114
-
115
- 192 413f9e81e3ea 2010-11-01 09:01 -0700 ged
116
- More work trying to get the Windows-native gem to compile. No luck, but it's closer.
117
-
118
- 191 3402babf2cdf 2010-10-31 16:29 -0700 ged
119
- Fixed issue with PGconn#wait_for_notify that caused it to miss notifications that happened after the LISTEN but before the wait_for_notify.
120
-
121
- 190 9d8f82721f69 2010-10-29 08:09 -0700 ged
122
- Updated to RSpec 2.0
123
-
124
- 189:186 b2df89600d95 2010-10-11 09:24 -0700 ged
125
- Fixes for windows static build.
126
-
127
- 188 193043bf2244 2010-10-08 09:40 -0700 ged
128
- Added support for the payload of NOTIFY events (w/Mahlon E. Smith)
129
-
130
- 187 ce9b893ff824 2010-10-08 07:25 -0700 ged
131
- start new patch on default
132
-
133
- 186 49ff3442c2ee 2010-10-08 07:23 -0700 ged
134
- Fixes to get the static windows build to work with PostgreSQL 9.0 and OpenSSL 1.0.0a
135
-
136
- 185 1fa5cd6851e3 2010-09-28 09:10 -0700 ged
137
- More work trying to get the native windows gem to compile under PostgreSQL 9.0
138
-
139
- 184 c9fb855a7d50 2010-09-28 09:09 -0700 ged
140
- Adding a sample of how to use COPY FROM
141
-
142
- 183 d85ff87e5949 2010-09-24 10:34 -0700 ged
143
- Fixes for Ruby 1.9.2.
144
-
145
- 182 5dbc24f596c8 2010-09-24 10:18 -0700 ged
146
- Version bump, updates for PostgreSQL 9.
147
-
148
- 181 1f8dd92ca16c 2010-08-03 10:31 -0700 ged
149
- Merged JRuby fix into the build system, pulled down other build-system updates. Thanks to timfel for the fix.
150
-
151
- 180 4f705f605e51 2010-08-03 17:56 +0200 timfelgentreff
152
- Fix to allow Rakefile to work on JRuby
153
-
154
- 179 92cc211ef553 2010-08-02 09:28 -0700 ged
155
- Honor Ruby's default_internal encoding when connecting via the synchronous interface; fixes #33
156
-
157
- 178 a2237e39d399 2010-08-02 09:23 -0700 ged
158
- Don't treat the installed pg_config not having archflags as an error; fixes #39
159
-
160
- 177 14b882b7b88c 2010-08-02 09:21 -0700 ged
161
- Install extension under arch-specific directory (RPS fix)
162
-
163
- 176 b0a5ae858569 2010-07-26 19:46 -0700 ged
164
- Adding rake tasklibs as a sub-repo
165
-
166
- 175 37835e3b8701 2010-07-21 18:39 -0700 ged
167
- Removed spec for issue #22, as the library is behaving the same as the underlying library; closes #22
168
-
169
- 174:173,172 86f238c12fa3 2010-07-21 18:36 -0700 ged
170
- Merged with 168:dfaa59767b2e
171
-
172
- 173:167 dfaa59767b2e 2010-07-21 18:35 -0700 ged
173
- Reworded an example's description and added a specific transaction-abort spec
174
-
175
- 172:171,168 e756f8fb15d8 2010-06-22 16:23 -0700 ged
176
- Merged with 170:5418a1d86d91
177
-
178
- 171 8922f0a8ee44 2010-06-22 16:22 -0700 ged
179
- Adding example of invalid binary data issue (refs #22), fixing EXT_SO path
180
-
181
- 170 cb92aa4b6599 2010-02-25 10:39 -0800 ged
182
- Adding a spec to test bug #12
183
-
184
- 169:158 86026f5ecf70 2010-02-25 10:39 -0800 ged
185
- Adding rake-compiler to the dev dependencies
186
-
187
- 168 5418a1d86d91 2010-06-22 15:54 -0700 ged
188
- Cross-compile tasks cleanup, extconf diagnostic improvement.
189
-
190
- 167 07502a793f3a 2010-06-22 10:44 -0700 ged
191
- Adding some more stuff to the ignorefile
192
-
193
- 166 873867122e80 2010-06-22 10:43 -0700 ged
194
- Modified the large-object sample script to reflect the pg library's API (refs #35)
195
-
196
- 165 ea6eae59e917 2010-06-21 11:08 -0700 ged
197
- Updating build system, adding .orig files to ignore list.
198
-
199
- 164 bb8a3baad96e 2010-06-14 13:57 -0700 ged
200
- Whitespace fix
201
-
202
- 163 45e6518b780d 2010-05-26 09:33 -0700 ged
203
- Actually, just use the cflags from pg_config, which should resolve both the -Wall and the -lsocket issue (refs #30)
204
-
205
- 162 730fb885ce08 2010-05-26 09:27 -0700 ged
206
- Fixing compilation for non-GCC platforms (fixes #30)
207
-
208
- 161 a47ffe890970 2010-03-16 07:36 -0700 ged
209
- Fixed typo in ext/extconf.rb -- thanks to Keith Cascio for spotting this. Closes #27.
210
-
211
- 160 9a296096f7e9 2010-02-28 08:56 -0800 ged
212
- Added tag 0.9.0 for changeset da726282493c
213
-
214
- 159[0.9.0] da726282493c 2010-02-28 08:56 -0800 ged
215
- Added signature for changeset 872063e42b12
216
-
217
- 158 872063e42b12 2010-02-19 08:02 -0800 ged
218
- Adding "fat gem" compatible loader, set the default RUBY_CC_VERSION.
219
-
220
- 157 ab525ca90531 2010-02-19 06:27 -0800 ged
221
- Updated the Rakefile so it includes itself in gems. (closes #15) Thanks to flameeyes@bitbucket for
222
-
223
- 156 9c65eb905416 2010-02-18 06:52 -0800 ged
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.
225
-
226
- 155 b0017ac0ecb5 2010-02-17 15:30 -0800 ged
227
- Updated the Rakefile to always default the package version even if a version can't be read from the VERSION_FILE.
228
-
229
- 154 c7d5458af696 2010-02-17 06:23 -0800 ged
230
- Improving spec database setup function (closes #18). Thanks to Lars Kanis for another fine patch.
231
-
232
- 153 39b11474d035 2010-02-17 06:14 -0800 ged
233
- Ack! Removing typo
234
-
235
- 152 9d54bbc98488 2010-02-17 06:10 -0800 ged
236
- Adding a test to ensure the result encoding remains the same even when client_encoding in the connection changes.
237
-
238
- 151 31afece7c203 2010-01-18 09:15 -0800 ged
239
- Made the 'make_header' in the extconf more clear.
240
-
241
- 150:149,148 d9c920068712 2010-01-13 20:56 -0800 pgsql
242
- Merged
243
-
244
- 149:141 294eb6d5530b 2010-01-13 20:51 -0800 pgsql
245
- In rspec tests, replace the pattern:
246
-
247
- 148 74fab32c2687 2010-01-11 08:15 -0800 ged
248
- A better fix for the PGconn#block weirdness on Win32 (closes #16).
249
-
250
- 147 f8dfc1b6c51c 2010-01-06 06:17 -0800 ged
251
- Rearranged the sections of the README.
252
-
253
- 146 0df792de2a19 2010-01-05 08:48 -0800 ged
254
- Updating MacOS X README.
255
-
256
- 145 2894973bc63f 2010-01-04 18:28 -0800 ged
257
- Work around broken rb_thread_select() on win32; thanks to Lars Kanis for the patch!
258
-
259
- 144 88dacdb9c97d 2010-01-04 18:16 -0800 ged
260
- Reverted removal of PGresult::InvalidOid, fixed broken spec.
261
-
262
- 143 739cec560448 2010-01-04 17:55 -0800 ged
263
- Ignore some generated files, documentation work, removed type OID constants.
264
-
265
- 142 38a0d2a90664 2010-01-04 17:39 -0800 ged
266
- Applied patch for static cross-compilation of win32 gem from Lars Kanis with a few changes to
267
-
268
- 141 f31202539234 2010-01-03 11:40 -0800 ged
269
- Updated build system
270
-
271
- 140:138 cc09390cb0a8 2010-01-02 09:22 -0800 ged
272
- Added tag 0.8.0 for changeset 7fbe4187e9e5
273
-
274
- 139:136 d5fa3e079a55 2009-12-31 09:58 -0800 ged
275
- Closing branch
276
-
277
- 138 05834d47aac3 2009-12-31 09:57 -0800 ged
278
- Bumped version to 0.9.0
279
-
280
- 137:126,136 0997a0aa7624 2009-12-31 09:22 -0800 ged
281
- Merged i17n-19-patches branch
282
-
283
- 136 f5af71167dea 2009-12-28 14:50 -0800 ged
284
- Make PGconn.connect_start use PQconnectStart instead of PQconnectdb so asynchronous connection
285
-
286
- 135 42919e2a4ef8 2009-12-28 08:42 -0800 ged
287
- Added column-selection methods to PGresult (#field_values and #column_values). Closes #12. Thanks to
288
-
289
- 134 39fdb2552163 2009-12-23 08:28 -0800 ged
290
- Fixed #11: encrypt_arguments doesn't receive password, thanks to Yuki Miyauchi for the patch.
291
-
292
- 133 df770b6ad237 2009-12-23 07:49 -0800 ged
293
- Fixed infinite loop in async_exec("COPY"), thanks to Mike Pomraning for the patch. Closes #9.
294
-
295
- 132 4cbcf197cb82 2009-12-16 09:03 -0800 ged
296
- New build system, build with rake-compiler, added PGconn::VERSION.
297
-
298
- 131 6ba661bbdb28 2009-12-15 08:45 -0800 ged
299
- Applied Rubyforge patch 26282; fixes #1. Thanks to Nikolai Lugovoi for the patch.
300
-
301
- 130 3e42badc15de 2009-12-11 17:28 -0800 ged
302
- Notify spec fixes, cleanup, Rakefile clean task adjustments.
303
-
304
- 129 659d80221a45 2009-12-11 13:47 -0800 ged
305
- Simplified the spec for PGconn#notify, still segfaulting.
306
-
307
- 128:127,126 26b614a7ece8 2009-12-11 09:01 -0800 ged
308
- Merged Mahlon's examples-directory patch from default.
309
-
310
- 127:124,125 66234afab283 2009-12-11 09:01 -0800 ged
311
- Merged Mahlon's notify patch from default.
312
-
313
- 126 1e6349a799c3 2009-12-10 10:30 -0800 mahlon
314
- Add a sample (usage example) for wait_for_notify().
315
-
316
- 125:114 a3434e641f6a 2009-12-10 10:22 -0800 mahlon
317
- * Small documentation fix for conn.notifies()
318
-
319
- 124 59549227d7c3 2009-10-29 06:10 -0700 ged
320
- Remove old mkrf config file to avoid confusion
321
-
322
- 123 f30139fb0587 2009-10-28 18:14 -0700 ged
323
- Write specs for and applied patch #26283; thanks to Nikolai Lugovoi.
324
-
325
- 122 a41d4291ffbb 2009-10-28 16:26 -0700 ged
326
- Fixups after conversion to Mercurial, fixing tests broken by the changes in the previous commit.
327
-
328
- 121 91ee1ac36a54 2009-10-28 14:51 +0000 ged
329
- * Made spec output elide output from the command line by default, and log everything for
330
-
331
- 120 0b28f9bd8935 2009-10-17 21:42 +0000 ged
332
- Applied patch #26277; thanks to Nikolai Lugovoi.
333
-
334
- 119 cb5335861c5d 2009-10-16 20:50 +0000 ged
335
- Build and warnings cleanup.
336
-
337
- 118 1d001b550715 2009-08-28 10:50 +0000 ged
338
- Applied patch #26116; thanks to Nikolai Lugovoi.
339
-
340
- 117 d67c62945540 2009-08-28 06:22 +0000 ged
341
- * Use pg_ctl -w instead of sleep for specs
342
-
343
- 116 0524dd20fb0f 2009-08-25 00:35 +0000 ged
344
- * Applied patch from (rubyforge:25931), fixes (rubyforge:22925).
345
-
346
- 115 d0267176eb61 2009-07-30 15:52 +0000 ged
347
- Making a branch for merging the patches and new specs to test them.
348
-
349
- 114[0.8.0] 7fbe4187e9e5 2009-03-28 22:53 +0000 davis
350
- Bump version to 0.8.0
351
-
352
- 113 39a19c65b0a0 2009-03-28 19:39 +0000 cfis
353
- Don't call file trace on windows.
354
-
355
- 112 c4598eee6d1b 2009-03-28 19:33 +0000 cfis
356
- Updated VC2008 project
357
-
358
- 111 c75883fb5979 2009-03-28 19:32 +0000 cfis
359
- Updated VC2008 project
360
-
361
- 110 4192e6d1ccc0 2009-03-28 16:49 +0000 davis
362
- Fix socket leak when connection error occurs.
363
-
364
- 109 03d6ef0de9ef 2009-03-28 15:42 +0000 davis
365
- PGconn#lo_close was calling lo_unlink.
366
-
367
- 108 b27b4b4a54eb 2009-03-28 15:37 +0000 davis
368
- Change header so it builds correctly on 1.8 and 1.9.
369
-
370
- 107 f7b97416c101 2009-03-14 09:22 +0000 cfis
371
- Oops - use ALLOC_N not ALLOC, fixes compile error with VC2008.
372
-
373
- 106 c0fd7531850f 2009-03-14 09:14 +0000 cfis
374
- Ignore rdoc directory, pkg directory, nbproject directory.
375
-
376
- 105 c675c7534c4d 2009-03-14 09:13 +0000 cfis
377
- This rakefile is just used for installing the windows gem.
378
-
379
- 104 c3329724ef5b 2009-03-14 09:13 +0000 cfis
380
- Split out building on mingw to a separate rake file.
381
-
382
- 103 01e1dbb950c8 2009-03-14 09:12 +0000 cfis
383
- Updated VC2008 projects for Ruby 1.8 and Ruby 1.9 (1.9 not quite setup yet).
384
-
385
- 102 677d3eae5b16 2009-03-14 09:11 +0000 cfis
386
- Added rdoc task so you can type rake rdoc. Makes it easier to debug rdoc documentation.
387
-
388
- 101 c33a73c14126 2009-03-14 08:54 +0000 cfis
389
- Windows compatibility - use tcp/ip sockets, use full path names, read files in binary mode.
390
-
391
- 100 241d3410b875 2009-03-14 08:48 +0000 cfis
392
- Ripple port change through text. Always full path to open spec file.
393
-
394
- 99 1bf29d30c16c 2009-03-14 08:29 +0000 cfis
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 '.
396
-
397
- 98 4dae2cabb5ae 2009-03-14 07:47 +0000 cfis
398
- Export Init_pg in windows shared library.
399
-
400
- 97 4e9b028c55cd 2009-03-14 07:46 +0000 cfis
401
- Fix up memory handling for Windows (match ALLOC with xfree).
402
-
403
- 96 4a9ffd0aa913 2009-03-06 18:18 +0000 davis
404
- 1.9 compatibility fixes.
405
-
406
- 95:93 7178d13749b7 2008-12-03 06:52 +0000 davis
407
- Add better support for windows build.
408
-
409
- 94:92 4c2ea65f2eb9 2008-10-14 05:27 +0000 davis
410
- Merged revisions 175 via svnmerge from
411
-
412
- 93:91 3bf9ef75bae5 2008-10-14 05:25 +0000 davis
413
- Revert r172.
414
-
415
- 92:86 7e7c22be0302 2008-10-05 19:43 +0000 davis
416
- Merged revisions 169-173 via svnmerge from
417
-
418
- 91 cdf306d84adf 2008-10-05 19:18 +0000 davis
419
- Update spec tests.
420
-
421
- 90 0386537bd139 2008-10-05 19:04 +0000 davis
422
- Include all libraries listed in "pg_config --libs" in the build.
423
-
424
- 89 68473ee45e28 2008-10-05 18:47 +0000 davis
425
- Fix PGconn#async_exec and PGconn#get_last_result to properly clear all
426
-
427
- 88 622eec9c6b0b 2008-10-05 18:01 +0000 davis
428
- Throw correct exception when result is NULL.
429
-
430
- 87:85 8e8045947a9c 2008-08-21 02:48 +0000 davis
431
- Fixed option connection argument in the case of using 7 arguments.
432
-
433
- 86:84 3e9dda291ef3 2008-08-17 20:42 +0000 davis
434
- Merged revisions 166 via svnmerge from
435
-
436
- 85:80 c5c44a6267f7 2008-08-17 20:35 +0000 davis
437
- Typo fix.
438
-
439
- 84 3686c9944fe1 2008-08-17 20:27 +0000 davis
440
- Add ext_helper.rb
441
-
442
- 83 ed3294b76bf7 2008-08-17 20:23 +0000 davis
443
- Merged revisions 149-160 via svnmerge from
444
-
445
- 82 ff6af5fc4dc3 2008-08-17 20:05 +0000 davis
446
- Initialized merge tracking via "svnmerge" with revisions "1-146" from
447
-
448
- 81:68 1a7b63bacfee 2008-08-17 19:55 +0000 davis
449
- Initialized merge tracking via "svnmerge" with revisions "1-146" from
450
-
451
- 80 ed8927d7f45d 2008-08-17 19:26 +0000 davis
452
- Properly protect variables from garbage collection, preventing possible memory
453
-
454
- 79 c7c5d25c851c 2008-08-17 18:19 +0000 davis
455
- Applied build patch from Brett Neumeier. Thanks!
456
-
457
- 78 48d2bdfcc630 2008-07-24 05:46 +0000 davis
458
- Fixed PGconn#setnonblocking
459
-
460
- 77 b2e1bc03aca5 2008-07-24 05:33 +0000 davis
461
- Changed all temporary allocations to use ALLOC_N (heap
462
-
463
- 76 c775c24a75f9 2008-07-08 06:21 +0000 davis
464
- Fix oversight in connect arguments for options and connect_timeout
465
-
466
- 75 b86f0f75181e 2008-04-21 17:41 +0000 davis
467
- * backtracked a small piece of the patch, to catch
468
-
469
- 74 b3a05d09fb27 2008-04-21 17:24 +0000 davis
470
- * applied patch from Louis Lavena to improve
471
-
472
- 73 7579885aff18 2008-04-21 17:13 +0000 davis
473
- * added some tests for binary data
474
-
475
- 72 de58e242dd99 2008-03-20 19:16 +0000 davis
476
- * added PGconn#cancel() -> String
477
-
478
- 71 778892302876 2008-03-20 18:20 +0000 davis
479
- * added PGconn.connect_start(...) -> PGconn
480
-
481
- 70 630cca5e74c1 2008-03-19 21:19 +0000 davis
482
- * forgot to add the expected output to the repository,
483
-
484
- 69:67 661ed2fea9e2 2008-03-19 21:17 +0000 davis
485
- This commmit just cleans up indenting and coding
486
-
487
- 68:65 f9cd915ea427 2008-03-18 02:32 +0000 davis
488
- merged ruby-pg/trunk rev 123:146 with ruby-pg/branches/stable
489
-
490
- 67 d821d50b7d95 2008-03-17 21:34 +0000 davis
491
- re-adding mkrf_config.rb
492
-
493
- 66:64 a66f44648857 2008-03-17 21:33 +0000 davis
494
- temporarily removing mkrf_config.rb and will re-add it in the
495
-
496
- 65:43 bae01401c92b 2008-03-17 21:29 +0000 davis
497
- merged ruby-pg/trunk rev 123:125 with ruby-pg/branches/stable
498
-
499
- 64 c8752b1a33cd 2008-03-17 17:29 +0000 davis
500
- * 7.3 compatibility fixes
501
-
502
- 63 4aa1190e1873 2008-03-17 16:19 +0000 davis
503
- * Added PGconn#reset_start
504
-
505
- 62 1224350cdcb6 2008-03-12 17:39 +0000 davis
506
- * added SQLSTATE test
507
-
508
- 61 639f8bf03621 2008-03-12 16:40 +0000 davis
509
- * updated the README to reflect the fact that the pg
510
-
511
- 60 1fd6244025c5 2008-03-11 21:35 +0000 davis
512
- * tried to make it easier to find the license information
513
-
514
- 59 1c4f58ec2264 2008-03-10 23:55 +0000 davis
515
- * add better checking to make sure that PGconn#trace is passed
516
-
517
- 58 e94ce7f92a06 2008-03-10 18:14 +0000 davis
518
- * corrected handling of bytea when passed in binary format
519
-
520
- 57 221e68f16f2d 2008-03-10 17:54 +0000 davis
521
- * make PGconn#trace accept any object that provides
522
-
523
- 56 2e722b22b4bc 2008-03-10 17:34 +0000 davis
524
- * Added PGconn#trace(filename)
525
-
526
- 55 9b1308e85390 2008-03-07 18:11 +0000 davis
527
- * Added check to find pg_config. If not found, throw an error.
528
-
529
- 54 480eae4733ff 2008-02-22 01:26 +0000 davis
530
- * fixed PGconn#trace
531
-
532
- 53 a6a1c8613b31 2008-02-21 01:05 +0000 davis
533
- * added PGconn#set_notice_receiver{ |result| ... }
534
-
535
- 52 8a6e663a70f7 2008-02-19 19:25 +0000 davis
536
- quick change
537
-
538
- 51 5fc41a8f71f0 2008-02-19 19:06 +0000 davis
539
- fix escaping of paths on windows (another try)
540
-
541
- 50 a465fe9f95a3 2008-02-18 19:32 +0000 davis
542
- * attempted some compatibility fixes for windows
543
-
544
- 49 5a91f5660c17 2008-02-13 01:24 +0000 davis
545
- * better quoting and error handling when invoking other programs,
546
-
547
- 48 5289d5034472 2008-02-13 01:10 +0000 davis
548
- quote include and library paths
549
-
550
- 47 ed53517514b1 2008-02-13 00:22 +0000 davis
551
- * created a mkrf_config.rb. I am attempting to transition away from
552
-
553
- 46 21bf96d0f702 2008-02-11 18:35 +0000 davis
554
- * windows fixes (thanks Daniel Berger!)
555
-
556
- 45 9d0a23cf2113 2008-02-11 17:43 +0000 davis
557
- * fix temporary postgresql test installation in
558
-
559
- 44:42 7fcd53437c79 2008-02-08 18:27 +0000 davis
560
- * properly retrieve binary data from result sets
561
-
562
- 43:31 83e5013eccc8 2008-02-05 19:23 +0000 davis
563
- merged ruby-pg/trunk rev 109:121 with ruby-pg/branches/stable
564
-
565
- 42 295c477ed74f 2008-02-05 17:56 +0000 davis
566
- fixed bug caused by a typo. HAVE_LOCREATE should have been HAVE_LO_CREATE
567
-
568
- 41 ef2214d7f448 2008-02-01 19:33 +0000 davis
569
- * made exec, exec_prepared, send_query, and send_prepared with parameters
570
-
571
- 40 7303b8165a37 2008-02-01 18:29 +0000 davis
572
- * Corrected a comment.
573
-
574
- 39 b3ad2112a91e 2008-01-31 22:11 +0000 davis
575
- * removed duplicate definition of PGconn.open
576
-
577
- 38 ce9c0e52eec6 2008-01-31 21:41 +0000 davis
578
- more test improvements
579
-
580
- 37 97cbdebaeb11 2008-01-31 21:19 +0000 davis
581
- renamed pg_spec to pgconn_spec
582
-
583
- 36 1cb0537730bf 2008-01-31 21:00 +0000 davis
584
- * Added some tests
585
-
586
- 35 29b827c7dbd0 2008-01-30 18:27 +0000 davis
587
- * added PGconn.conndefaults
588
-
589
- 34 c18f38225bc7 2008-01-29 19:44 +0000 davis
590
- corrected the tainting of some strings returned by the database
591
-
592
- 33 56cd8c6ee046 2008-01-29 17:50 +0000 davis
593
- changed gem name from 'ruby-pg' to just 'pg'
594
-
595
- 32:30 a9097dead780 2008-01-28 21:19 +0000 davis
596
- made a pg.gemspec so that people can build 'pg' gem
597
-
598
- 31:26 abfe9a457946 2008-01-28 18:50 +0000 davis
599
- merged ruby-pg/trunk rev 104 with ruby-pg/branches/stable
600
-
601
- 30 cfdcfcd445ab 2008-01-26 00:20 +0000 davis
602
- changed exception type for empty data structures
603
-
604
- 29 81cd03f8a2c3 2008-01-25 23:42 +0000 davis
605
- * added PGconn#async_exec and alias PGconn#async_query
606
-
607
- 28 29d775393e88 2008-01-25 00:59 +0000 davis
608
- added PGresult#cmdtuples as alias for PGresult#cmd_tuples
609
-
610
- 27:25 eac7df0aa291 2008-01-25 00:46 +0000 davis
611
- Added:
612
-
613
- 26:24 c7ddb58579d3 2008-01-24 23:07 +0000 davis
614
- moved a few minor changes over before release
615
-
616
- 25:23 7908e778e7c3 2008-01-24 23:00 +0000 davis
617
- Added README.windows and README.OS_X
618
-
619
- 24:8 8df9da92380e 2008-01-24 18:45 +0000 davis
620
- merged revision 77:HEAD of ruby-pg/trunk to ruby-pg/branches/stable
621
-
622
- 23 7cc13a1f3010 2008-01-24 17:48 +0000 davis
623
- Another change to improve windows compatibility.
624
-
625
- 22 ee0577472b67 2008-01-24 02:07 +0000 davis
626
- fixed typo
627
-
628
- 21 eaf3b1825d56 2008-01-24 02:05 +0000 davis
629
- My previous fix for OS X compatibility didn't work well enough.
630
-
631
- 20 12b2568a0ada 2008-01-23 23:18 +0000 davis
632
- * had to include that file conditionally
633
-
634
- 19 34dd04d21a78 2008-01-23 23:04 +0000 davis
635
- * included an additional file so that it works with
636
-
637
- 18 4cf66b7302bf 2008-01-23 21:42 +0000 davis
638
- * added PGconn.quote_ident to quote identifiers
639
-
640
- 17 081e4d8ee394 2008-01-22 18:48 +0000 davis
641
- * made PGconn#query alias for PGconn#exec
642
-
643
- 16 4774578059e1 2008-01-22 17:52 +0000 davis
644
- * Detect if compiling on OS X, and if so set $ARCHFLAGS correctly.
645
-
646
- 15 204f4b591614 2008-01-21 18:53 +0000 davis
647
- made conn.block cleaner and it should be more portable.
648
-
649
- 14 449d54289f07 2008-01-18 18:10 +0000 davis
650
- Miscellaneous changes:
651
-
652
- 13 aadd4008d2e3 2008-01-17 23:18 +0000 davis
653
- started creating a rspec test, more tests to come later
654
-
655
- 12 4f276bb9c4b1 2008-01-17 23:11 +0000 davis
656
- properly free memory in conn.get_copy_data
657
-
658
- 11 95d9ff13c269 2008-01-15 21:24 +0000 davis
659
- Added conn.block( [ timeout ] ) -> Boolean
660
-
661
- 10 4cefa3b1ecbb 2008-01-14 23:23 +0000 davis
662
- Added conn.transaction{ |conn| ... }
663
-
664
- 9:6 ae8c3b66c48d 2008-01-14 19:22 +0000 davis
665
- Support for PostgreSQL 7.3.
666
-
667
- 8 8eb1346cb9aa 2008-01-09 02:08 +0000 davis
668
- removed extra directory that was left in the merge
669
-
670
- 7:0 d6d19e5371d4 2008-01-09 01:59 +0000 davis
671
- merged ruby-pg/trunk rev 69 to ruby-pg/branches/stable
672
-
673
- 6 1fd8b2aaac4c 2008-01-08 23:19 +0000 davis
674
- Added:
675
-
676
- 5 5c0a63028583 2008-01-08 22:26 +0000 davis
677
- Added:
678
-
679
- 4 40270de77f48 2008-01-07 23:30 +0000 davis
680
- fixed a few method defines for async query processing
681
-
682
- 3 d05d9f2042d7 2008-01-07 22:52 +0000 davis
683
- Change conn.exec to use PQexec if no parameters are passed,
684
-
685
- 2 a531a7bc9241 2008-01-07 22:31 +0000 davis
686
- Cleanup after the repository reorganization.
687
-
688
- 1:-1 aafc8cf17567 2008-01-07 22:16 +0000 davis
689
- Split 'ruby-pg' module and 'postgres' module
690
-
691
- 0 7716d24a143b 2008-01-07 22:16 +0000 davis
692
- Split 'ruby-pg' module and 'postgres' module
693
-