pg 0.15.1 → 0.16.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +1 -3
- data/ChangeLog +361 -59
- data/History.rdoc +31 -4
- data/Manifest.txt +4 -0
- data/Rakefile +30 -10
- data/ext/errorcodes.def +931 -0
- data/ext/errorcodes.rb +45 -0
- data/ext/errorcodes.txt +463 -0
- data/ext/extconf.rb +11 -5
- data/ext/gvl_wrappers.c +6 -0
- data/ext/gvl_wrappers.h +47 -21
- data/ext/pg.c +30 -10
- data/ext/pg.h +30 -0
- data/ext/pg_connection.c +105 -45
- data/ext/pg_errors.c +89 -0
- data/ext/pg_result.c +49 -68
- data/lib/pg.rb +2 -2
- data/spec/lib/helpers.rb +11 -2
- data/spec/pg/connection_spec.rb +113 -8
- data/spec/pg/result_spec.rb +69 -2
- data/spec/pg_spec.rb +13 -0
- metadata +11 -5
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6184440b94e368cfb9bb2e9d44cb60f5881522cf
|
4
|
+
data.tar.gz: b0fdba2debcc80d32430eb11ee646f5b0792e65a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0622fedaa3fcbaf17f8878ac5bd8b750be30fdc389bb541a29d036cf0692af57022dc66e71f68b617bb654f719153228de03e291549b90122d5beb9efb970b43
|
7
|
+
data.tar.gz: a7005743c4075d16a2143cd6c89a6b04f0a918cf50fe5b262924e71d3f75f6ae64b09dd3ec9e7a4d51e95a74f2fe9c856fe98b1ebb3c29f568826e65906a4e6d
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
@@ -1,3 +1 @@
|
|
1
|
-
|
2
|
-
l!#���'e��th!�y<�n��di�Ҫ.Ñ�H�V��p�~�t�MV
|
3
|
-
��1�l:�7�+q"!�2$��E�b�����}�^^��1\RZU�5F7�40/�� ��J���fDT�-���}eP�{�+2��0��>�.C�?2����}I�xU6�]N���"�zy��j�D�˸��UP��qf`���d���L/7�iܨ�
|
1
|
+
� H2=Ðu�|g��;8�A�/{�g��OhE(�� 4���a݃��(Li���/������/��?nL6ŀ����E�0Q���{HO?)��u���K��B�7�f�7�����z�6��e>���1��C��t�p�<D��T=�Fx�S���F�˂��p�E���ť�z��������Y�~,}���>�A��V���#N��5��X�86�r��!�{:�.�0�^+�8����_}�#K���m�;�,��^
|
data/ChangeLog
CHANGED
@@ -1,8 +1,310 @@
|
|
1
|
+
2013-07-19 Lars Kanis <kanis@comcard.de>
|
2
|
+
|
3
|
+
* .travis.yml:
|
4
|
+
Travis: Allow failures on rbx.
|
5
|
+
[7be3b156c8fb] [tip]
|
6
|
+
|
7
|
+
2013-07-18 Lars Kanis <kanis@comcard.de>
|
8
|
+
|
9
|
+
* spec/pg/connection_spec.rb:
|
10
|
+
Test requires newer PostgreSQL version.
|
11
|
+
[10265c2fa41e]
|
12
|
+
|
13
|
+
* History.rdoc:
|
14
|
+
Update History.txt
|
15
|
+
[f19e8b3fc659]
|
16
|
+
|
17
|
+
* ext/pg_result.c, spec/pg/result_spec.rb:
|
18
|
+
Use nil as PG::Error#result in case of a NULL-result from libpq.
|
19
|
+
|
20
|
+
This previously returned a PG::Result object with internal NULL
|
21
|
+
pointer, that caused a misleading error "result has been cleared",
|
22
|
+
when accessed.
|
23
|
+
|
24
|
+
This fixes issue 166 : https://bitbucket.org/ged/ruby-pg/issue/166
|
25
|
+
[de6bee6a208c]
|
26
|
+
|
27
|
+
* ext/pg.h, ext/pg_connection.c, spec/pg/connection_spec.rb:
|
28
|
+
Recalculate the timeout of conn#wait_for_notify and conn#block in
|
29
|
+
case of socket events that require re-runs of select().
|
30
|
+
|
31
|
+
This previously caused a timeout higher than the given value,
|
32
|
+
because the timeout was set to the original value for every re-run.
|
33
|
+
[854b22230eba]
|
34
|
+
|
35
|
+
* spec/pg/connection_spec.rb:
|
36
|
+
Await a established connection to ensure the received errors match
|
37
|
+
exactly.
|
38
|
+
|
39
|
+
This test failed on Windows x64.
|
40
|
+
[6894f73d7039]
|
41
|
+
|
42
|
+
2013-07-06 Lars Kanis <lars@greiz-reinsdorf.de>
|
43
|
+
|
44
|
+
* ext/pg_connection.c, spec/pg/connection_spec.rb:
|
45
|
+
Use ConnectionBad instead of PG::Error for connection related
|
46
|
+
|
47
|
+
Replace rb_bug() for PQsocket() failure with rb_raise().
|
48
|
+
[ddb55d4a44d3] [github/master]
|
49
|
+
|
50
|
+
2013-07-17 Michael Granger <ged@FaerieMUD.org>
|
51
|
+
|
52
|
+
* .hgignore:
|
53
|
+
Add generated error codes file to the ignorelist
|
54
|
+
[67f6fa913c9d]
|
55
|
+
|
56
|
+
2013-04-04 Cody Cutrer <cody@instructure.com>
|
57
|
+
|
58
|
+
* ext/pg_result.c:
|
59
|
+
refactor value retrieval into a single function
|
60
|
+
|
61
|
+
From d8bf9782f035c0a1d942d949535cd1800bc3e095 Mon Sep 17 00:00:00
|
62
|
+
2001
|
63
|
+
[368a95c8d4c1]
|
64
|
+
|
65
|
+
2013-06-26 Lars Kanis <kanis@comcard.de>
|
66
|
+
|
67
|
+
* ext/pg.h, ext/pg_connection.c, ext/pg_errors.c,
|
68
|
+
spec/pg/connection_spec.rb:
|
69
|
+
Add new error class 'ConnectionBad' that is raised if the connection
|
70
|
+
|
71
|
+
From 9d0acad61a693b9042842883fa8195ba973bf813 Mon Sep 17 00:00:00
|
72
|
+
2001 could not be established. Use 'UnableToSend' error in case
|
73
|
+
that sending fails with async methods.
|
74
|
+
[b09cf9da723e]
|
75
|
+
|
76
|
+
* ext/gvl_wrappers.h, ext/pg_connection.c, spec/pg/connection_spec.rb:
|
77
|
+
Release GVL for PQconnect* and PQreset* functions, too.
|
78
|
+
|
79
|
+
From a1e24a52e3aaa59a552912f189a2ae36302ab696 Mon Sep 17 00:00:00
|
80
|
+
2001 This fixes issue #165: https://bitbucket.org/ged/ruby-
|
81
|
+
pg/issue/165
|
82
|
+
[8b9b335c3f1f]
|
83
|
+
|
84
|
+
2013-06-15 Lars Kanis <lars@greiz-reinsdorf.de>
|
85
|
+
|
86
|
+
* History.rdoc:
|
87
|
+
Add changes for 0.16.0 to History.rdoc.
|
88
|
+
|
89
|
+
From d4d92750850707aaca3b7b90fcb515ab1a401176 Mon Sep 17 00:00:00
|
90
|
+
2001
|
91
|
+
[303cef15f662]
|
92
|
+
|
93
|
+
2013-06-13 Lars Kanis <lars@greiz-reinsdorf.de>
|
94
|
+
|
95
|
+
* ext/pg_errors.c, spec/pg/connection_spec.rb:
|
96
|
+
Use distinct error class in case the connection is broken.
|
97
|
+
|
98
|
+
From 4d5c4301128b81c750d2dbbd0e7e0e6825b4685c Mon Sep 17 00:00:00
|
99
|
+
2001
|
100
|
+
[12a4cbea487c]
|
101
|
+
|
102
|
+
* ext/pg_errors.c, spec/pg/result_spec.rb:
|
103
|
+
Rename PG:Errors to PG::ERROR_CLASSES as suggested by ged.
|
104
|
+
|
105
|
+
From 5401c5c9383bb7f0edebf558b02c4bba6870a7c5 Mon Sep 17 00:00:00
|
106
|
+
2001
|
107
|
+
[a0972c3b8bbb]
|
108
|
+
|
109
|
+
2013-06-07 Michael Granger <ged@FaerieMUD.org>
|
110
|
+
|
111
|
+
* .tm_properties:
|
112
|
+
Fix indent in project settings
|
113
|
+
|
114
|
+
From faafc7b075f9962bed37eb664462dc771de5fc6b Mon Sep 17 00:00:00
|
115
|
+
2001
|
116
|
+
--HG-- extra : rebase_source :
|
117
|
+
704ec9c8ffafa89e797faf2b298e7b6b078898fc
|
118
|
+
[0b45c1fb7575]
|
119
|
+
|
120
|
+
2013-06-13 Lars Kanis <lars@greiz-reinsdorf.de>
|
121
|
+
|
122
|
+
* ext/pg_connection.c, spec/pg/connection_spec.rb:
|
123
|
+
Set proper encoding on the string returned by quote_ident,
|
124
|
+
|
125
|
+
From 72acd792eb92004655226fd31307dc821109f2e2 Mon Sep 17 00:00:00
|
126
|
+
2001 escape_literal and escape_identifier. This fixes issue #163 :
|
127
|
+
https://bitbucket.org/ged/ruby-pg/issue/163 .
|
128
|
+
[30e475c4f9a0]
|
129
|
+
|
130
|
+
2013-05-13 Lars Kanis <lars@greiz-reinsdorf.de>
|
131
|
+
|
132
|
+
* ext/pg_result.c:
|
133
|
+
Fix non working example for PGresult#error_field
|
134
|
+
|
135
|
+
From cb0dac677f049bee2817543c93c32fa0a07578f1 Mon Sep 17 00:00:00
|
136
|
+
2001
|
137
|
+
[a0b1c8dbcf99]
|
138
|
+
|
139
|
+
* .travis.yml:
|
140
|
+
LD_LIBRARY_PATH is needless, thanks to the rpath option
|
141
|
+
|
142
|
+
From b74ba4ff89e7012b63080270425152d9e317e562 Mon Sep 17 00:00:00
|
143
|
+
2001
|
144
|
+
[e169630b87f0]
|
145
|
+
|
146
|
+
2013-05-18 Lars Kanis <lars@greiz-reinsdorf.de>
|
147
|
+
|
148
|
+
* Manifest.txt, Rakefile, ext/errorcodes.rb, ext/errorcodes.txt,
|
149
|
+
ext/pg.c, ext/pg.h, ext/pg_errors.c, ext/pg_result.c,
|
150
|
+
spec/pg/result_spec.rb, spec/pg_spec.rb:
|
151
|
+
Use inheritance to describe multiple types of PGErrors.
|
152
|
+
|
153
|
+
From fe657c793a9b8471d959ff94087c0857e0a767a7 Mon Sep 17 00:00:00
|
154
|
+
2001 This resolves long standing bitbucket issue #5 .
|
155
|
+
[74aa9514a381]
|
156
|
+
|
157
|
+
2013-05-14 Michael Granger <ged@FaerieMUD.org>
|
158
|
+
|
159
|
+
* ext/extconf.rb:
|
160
|
+
Merge pull request #12 from larskanis/add-support-for-diag-name-
|
161
|
+
fields
|
162
|
+
|
163
|
+
Add support for PG_DIAG_*_NAME error fields of PostgreSQL 9.3.
|
164
|
+
[e4465a9779fa]
|
165
|
+
|
166
|
+
* Merge pull request #11 from larskanis/try-rpath-manually-if-
|
167
|
+
rpathflag-is-empty
|
168
|
+
|
169
|
+
Try to use -rpath linker option, even if RbConfig doesn't know about
|
170
|
+
it.
|
171
|
+
[b4b9be725c09]
|
172
|
+
|
173
|
+
* ext/gvl_wrappers.h, spec/pg/connection_spec.rb:
|
174
|
+
Merge pull request #10 from larskanis/wrap-pqnotifies-per-gvl
|
175
|
+
|
176
|
+
Wrap PQnotifies per GVL.
|
177
|
+
[83e4520ded0e]
|
178
|
+
|
179
|
+
* spec/pg/connection_spec.rb:
|
180
|
+
Merge pull request #9 from larskanis/cancel-query-ubf
|
181
|
+
|
182
|
+
Ensure a query is canceled, if a thread is about to be killed.
|
183
|
+
[d9a6626143d6]
|
184
|
+
|
185
|
+
2013-05-14 Lars Kanis <lars@greiz-reinsdorf.de>
|
186
|
+
|
187
|
+
* ext/extconf.rb, ext/pg.c, spec/lib/helpers.rb,
|
188
|
+
spec/pg/result_spec.rb:
|
189
|
+
Add support for PG_DIAG_*_NAME error fields.
|
190
|
+
|
191
|
+
This fixes issue #161 .
|
192
|
+
[e90cad5af52e]
|
193
|
+
|
194
|
+
2013-05-12 Lars Kanis <lars@greiz-reinsdorf.de>
|
195
|
+
|
196
|
+
* spec/pg/connection_spec.rb:
|
197
|
+
Use async_exec for compat with Ruby-1.8
|
198
|
+
[52af48ad5023]
|
199
|
+
|
200
|
+
2013-05-10 Lars Kanis <lars@greiz-reinsdorf.de>
|
201
|
+
|
202
|
+
* ext/gvl_wrappers.c, ext/gvl_wrappers.h, spec/pg/connection_spec.rb:
|
203
|
+
Ensure a query is canceled, if a thread is about to be killed.
|
204
|
+
|
205
|
+
This fixes blocked Ruby when pressing CTRL-C for a blocking query in
|
206
|
+
the main thread.
|
207
|
+
[e0492d4bbb9c]
|
208
|
+
|
209
|
+
2013-05-11 Lars Kanis <lars@greiz-reinsdorf.de>
|
210
|
+
|
211
|
+
* ext/extconf.rb:
|
212
|
+
Try to use -rpath linker option, even if RbConfig doesn't know about
|
213
|
+
it.
|
214
|
+
[2dba8375f85b]
|
215
|
+
|
216
|
+
2013-05-10 Lars Kanis <lars@greiz-reinsdorf.de>
|
217
|
+
|
218
|
+
* ext/gvl_wrappers.h, ext/pg_connection.c, spec/pg/connection_spec.rb:
|
219
|
+
Wrap PQnotifies per GVL.
|
220
|
+
|
221
|
+
PQnotifies doesn't do/wait for network communication, but PQnotifies
|
222
|
+
can deliver notifications per callback. The registered callback
|
223
|
+
function is then called with GVL locked. This results in a
|
224
|
+
rb_bug("rb_thread_call_with_gvl: called by a thread which has GVL.")
|
225
|
+
if we don't wrap PQnotifies likewise in order to unlock the GVL.
|
226
|
+
[6184e9c81ab5]
|
227
|
+
|
228
|
+
2013-05-13 Michael Granger <ged@FaerieMUD.org>
|
229
|
+
|
230
|
+
* Merge pull request #8 from larskanis/fix-travis-tests
|
231
|
+
|
232
|
+
Fix travis tests
|
233
|
+
[8a0806192261]
|
234
|
+
|
235
|
+
2013-05-10 Lars Kanis <lars@greiz-reinsdorf.de>
|
236
|
+
|
237
|
+
* Rakefile:
|
238
|
+
Allow 'rake compile' and 'rake gem' on non mercurial repos.
|
239
|
+
|
240
|
+
rake-compiler-0.9.0.pre.1 depends on ChangeLog for the compile task.
|
241
|
+
[982f66ccdd77]
|
242
|
+
|
243
|
+
* .travis.yml:
|
244
|
+
Update travis config.
|
245
|
+
|
246
|
+
Cross compile for i386-mingw32 on 1.8.7-p371 and x64-mingw32 on
|
247
|
+
2.0.0-p0.
|
248
|
+
[fadc58d3804f]
|
249
|
+
|
250
|
+
* spec/lib/helpers.rb, spec/pg/connection_spec.rb:
|
251
|
+
Better spec for fallback_application_name.
|
252
|
+
|
253
|
+
The spec failed, if /bin/bash was more than 63 characters.
|
254
|
+
[8326e794b79e]
|
255
|
+
|
256
|
+
* spec/pg/result_spec.rb:
|
257
|
+
All versions of PostgreSQL starting from 8.4 know
|
258
|
+
DIAG_STATEMENT_POSITION and 8.3 is EOL.
|
259
|
+
[578e532297e4]
|
260
|
+
|
261
|
+
2013-05-08 Lars Kanis <lars@greiz-reinsdorf.de>
|
262
|
+
|
263
|
+
* Merge pull request #7 from pedz/aix-build
|
264
|
+
|
265
|
+
Use a more standard method of adding library and include
|
266
|
+
directories.
|
267
|
+
|
268
|
+
This fixes built on AIX. See https://github.com/ged/ruby-pg/pull/7
|
269
|
+
[370ea51b888b]
|
270
|
+
|
271
|
+
2013-04-08 Perry Smith <pedz@easesoftware.com>
|
272
|
+
|
273
|
+
* ext/extconf.rb:
|
274
|
+
Use a more standard method of adding library and include
|
275
|
+
directories.
|
276
|
+
[f11a13552a36]
|
277
|
+
|
278
|
+
2013-05-02 Lars Kanis <lars@greiz-reinsdorf.de>
|
279
|
+
|
280
|
+
* ext/pg_connection.c, spec/pg/connection_spec.rb:
|
281
|
+
Return result of the block in conn#transaction instead of nil. This
|
282
|
+
fixes issue #158 .
|
283
|
+
[b94100f2674c]
|
284
|
+
|
285
|
+
2013-05-01 Lars Kanis <kanis@comcard.de>
|
286
|
+
|
287
|
+
* ext/pg_connection.c:
|
288
|
+
Avoid warnings about uninitialized instance variables
|
289
|
+
[77410585716e]
|
290
|
+
|
1
291
|
2013-04-08 Michael Granger <ged@FaerieMUD.org>
|
2
292
|
|
293
|
+
* History.rdoc:
|
294
|
+
Fix date in History
|
295
|
+
[de1cdb0f7ba6]
|
296
|
+
|
297
|
+
* .hgtags:
|
298
|
+
Added tag v0.15.1 for changeset 4692c20bcbde
|
299
|
+
[765d242ccf70]
|
300
|
+
|
301
|
+
* .hgsigs:
|
302
|
+
Added signature for changeset 0bfb6ff650be
|
303
|
+
[4692c20bcbde] [v0.15.1]
|
304
|
+
|
3
305
|
* lib/pg.rb:
|
4
306
|
Bump the patch version
|
5
|
-
[0bfb6ff650be]
|
307
|
+
[0bfb6ff650be]
|
6
308
|
|
7
309
|
* Merge with v0.15-stable
|
8
310
|
[650a853efd0d]
|
@@ -35,7 +337,7 @@
|
|
35
337
|
|
36
338
|
* README.rdoc:
|
37
339
|
Update README, add Lars as maintainer
|
38
|
-
[5060601d2e64]
|
340
|
+
[5060601d2e64]
|
39
341
|
|
40
342
|
* ext/pg_result.c, lib/pg/exceptions.rb, sample/async_api.rb,
|
41
343
|
sample/async_mixed.rb, sample/cursor.rb,
|
@@ -132,7 +434,7 @@
|
|
132
434
|
|
133
435
|
* Rakefile.cross:
|
134
436
|
Bump PostgreSQL/OpenSSL versions for the binary gem
|
135
|
-
[b6f885cd57f7]
|
437
|
+
[b6f885cd57f7]
|
136
438
|
|
137
439
|
* spec/pg/connection_spec.rb:
|
138
440
|
Re-enable application_name setting with corrected guard
|
@@ -393,6 +695,61 @@
|
|
393
695
|
Make source settings override TM2 defaults
|
394
696
|
[c5706b3f73af]
|
395
697
|
|
698
|
+
2012-12-26 Lars Kanis <kanis@comcard.de>
|
699
|
+
|
700
|
+
* ext/extconf.rb, ext/pg_connection.c, spec/pg/connection_spec.rb:
|
701
|
+
merge in default branch
|
702
|
+
[ca39e311d1eb] <use_gvl_for_blocking_functions>
|
703
|
+
|
704
|
+
* ext/gvl_wrappers.h:
|
705
|
+
Add some documentation to gvl_wrappers
|
706
|
+
[ffeb6a0afd1f] <use_gvl_for_blocking_functions>
|
707
|
+
|
708
|
+
* spec/pg/connection_spec.rb:
|
709
|
+
Add test case for threading with Connection#exec in ruby 1.9
|
710
|
+
[73b9aa38e8c0] <use_gvl_for_blocking_functions>
|
711
|
+
|
712
|
+
* ext/extconf.rb, ext/gvl_wrappers.c, ext/gvl_wrappers.h, ext/pg.h,
|
713
|
+
ext/pg_connection.c:
|
714
|
+
Add wrappers to blocking functions and callbacks in order to release
|
715
|
+
the GVL of ruby 1.9 as long as not in ruby code
|
716
|
+
[2f2c681424ed] <use_gvl_for_blocking_functions>
|
717
|
+
|
718
|
+
2012-07-02 Lars Kanis <kanis@comcard.de>
|
719
|
+
|
720
|
+
* ext/pg_connection.c, spec/pg/connection_spec.rb:
|
721
|
+
Fix encoding of values delivered to the row processor and add specs
|
722
|
+
for binary and text data.
|
723
|
+
[bb9c6625fbc9] <row_processor>
|
724
|
+
|
725
|
+
* ext/pg_connection.c:
|
726
|
+
Polish the documentation a little bit
|
727
|
+
[b7633be3c941] <row_processor>
|
728
|
+
|
729
|
+
2012-07-01 Lars Kanis <kanis@comcard.de>
|
730
|
+
|
731
|
+
* ext/pg_connection.c:
|
732
|
+
Get rid of gcc warning about (non-)const PGresult to
|
733
|
+
pg_new_result_for_callback()
|
734
|
+
[1a25786ed8f3] <row_processor>
|
735
|
+
|
736
|
+
* ext/pg_connection.c, spec/pg/connection_spec.rb:
|
737
|
+
Fix wrong encoding for Result object passed to a notice-receiver
|
738
|
+
block. Add proper specs for #set_notice_receiver.
|
739
|
+
[4280826bb9b9] <row_processor>
|
740
|
+
|
741
|
+
* ext/extconf.rb, ext/pg.h, ext/pg_connection.c, ext/pg_result.c,
|
742
|
+
spec/lib/helpers.rb, spec/pg/connection_spec.rb:
|
743
|
+
Implement PostgreSQL-9.2 functions PG::Connection#set_row_processor,
|
744
|
+
get_row_processor, skip_result
|
745
|
+
[b7ce4843f4d1] <row_processor>
|
746
|
+
|
747
|
+
2012-06-28 Lars Kanis <kanis@comcard.de>
|
748
|
+
|
749
|
+
* ext/pg_result.c:
|
750
|
+
Add PGRES_COPY_BOTH to documentation of PG::Result#result_status
|
751
|
+
[63998b47da6e] <copy_both_docu>
|
752
|
+
|
396
753
|
2013-01-29 Aaron Patterson <aaron.patterson@gmail.com>
|
397
754
|
|
398
755
|
* ext/pg_result.c, lib/pg/result.rb, spec/pg/result_spec.rb:
|
@@ -423,14 +780,6 @@
|
|
423
780
|
|
424
781
|
2012-12-26 Lars Kanis <kanis@comcard.de>
|
425
782
|
|
426
|
-
* ext/extconf.rb, ext/pg_connection.c, spec/pg/connection_spec.rb:
|
427
|
-
merge in default branch
|
428
|
-
[ca39e311d1eb] <use_gvl_for_blocking_functions>
|
429
|
-
|
430
|
-
* ext/gvl_wrappers.h:
|
431
|
-
Add some documentation to gvl_wrappers
|
432
|
-
[ffeb6a0afd1f] <use_gvl_for_blocking_functions>
|
433
|
-
|
434
783
|
* ext/pg.c:
|
435
784
|
Use proper const check instead of implicit relation
|
436
785
|
[d0c5d5f7f1e8]
|
@@ -450,18 +799,6 @@
|
|
450
799
|
single row mode of PostgreSQL 9.2)
|
451
800
|
[49e3fe1dafdf]
|
452
801
|
|
453
|
-
2012-12-26 Lars Kanis <kanis@comcard.de>
|
454
|
-
|
455
|
-
* spec/pg/connection_spec.rb:
|
456
|
-
Add test case for threading with Connection#exec in ruby 1.9
|
457
|
-
[73b9aa38e8c0] <use_gvl_for_blocking_functions>
|
458
|
-
|
459
|
-
* ext/extconf.rb, ext/gvl_wrappers.c, ext/gvl_wrappers.h, ext/pg.h,
|
460
|
-
ext/pg_connection.c:
|
461
|
-
Add wrappers to blocking functions and callbacks in order to release
|
462
|
-
the GVL of ruby 1.9 as long as not in ruby code
|
463
|
-
[2f2c681424ed] <use_gvl_for_blocking_functions>
|
464
|
-
|
465
802
|
2012-12-19 Lars Kanis <kanis@comcard.de>
|
466
803
|
|
467
804
|
* ext/extconf.rb, ext/pg.c, ext/pg_connection.c,
|
@@ -469,41 +806,6 @@
|
|
469
806
|
Add single row mode of PostgreSQL 9.2
|
470
807
|
[5cf348b75c1c] <single_row_mode>
|
471
808
|
|
472
|
-
2012-07-02 Lars Kanis <kanis@comcard.de>
|
473
|
-
|
474
|
-
* ext/pg_connection.c, spec/pg/connection_spec.rb:
|
475
|
-
Fix encoding of values delivered to the row processor and add specs
|
476
|
-
for binary and text data.
|
477
|
-
[bb9c6625fbc9] <row_processor>
|
478
|
-
|
479
|
-
* ext/pg_connection.c:
|
480
|
-
Polish the documentation a little bit
|
481
|
-
[b7633be3c941] <row_processor>
|
482
|
-
|
483
|
-
2012-07-01 Lars Kanis <kanis@comcard.de>
|
484
|
-
|
485
|
-
* ext/pg_connection.c:
|
486
|
-
Get rid of gcc warning about (non-)const PGresult to
|
487
|
-
pg_new_result_for_callback()
|
488
|
-
[1a25786ed8f3] <row_processor>
|
489
|
-
|
490
|
-
* ext/pg_connection.c, spec/pg/connection_spec.rb:
|
491
|
-
Fix wrong encoding for Result object passed to a notice-receiver
|
492
|
-
block. Add proper specs for #set_notice_receiver.
|
493
|
-
[4280826bb9b9] <row_processor>
|
494
|
-
|
495
|
-
* ext/extconf.rb, ext/pg.h, ext/pg_connection.c, ext/pg_result.c,
|
496
|
-
spec/lib/helpers.rb, spec/pg/connection_spec.rb:
|
497
|
-
Implement PostgreSQL-9.2 functions PG::Connection#set_row_processor,
|
498
|
-
get_row_processor, skip_result
|
499
|
-
[b7ce4843f4d1] <row_processor>
|
500
|
-
|
501
|
-
2012-06-28 Lars Kanis <kanis@comcard.de>
|
502
|
-
|
503
|
-
* ext/pg_result.c:
|
504
|
-
Add PGRES_COPY_BOTH to documentation of PG::Result#result_status
|
505
|
-
[63998b47da6e] <copy_both_docu>
|
506
|
-
|
507
809
|
2012-12-19 Michael Granger <ged@FaerieMUD.org>
|
508
810
|
|
509
811
|
* lib/pg/connection.rb:
|
@@ -811,7 +1113,7 @@
|
|
811
1113
|
|
812
1114
|
* ext/pg_result.c:
|
813
1115
|
Merged in larskanis/ruby-pg (pull request #7)
|
814
|
-
[4050c3412bd7]
|
1116
|
+
[4050c3412bd7]
|
815
1117
|
|
816
1118
|
2012-03-10 Lars Kanis <kanis@comcard.de>
|
817
1119
|
|