-
Notifications
You must be signed in to change notification settings - Fork 23
/
pre-v4.1.0-CHANGES.txt
323 lines (195 loc) · 9.8 KB
/
pre-v4.1.0-CHANGES.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
2016-02-12: Fixed GTK-example to make it compile again.
Thanks to Jonathan Curran for the patch!
2016-02-11: Improved the notification API (conn#notifies).
Thanks to Jonathan Curran for the initial patch!
2015-12-18: Fixed a GC-bug when unescaping with "unescape_bytea".
Thanks to Sebastien Mondet for the bug report and for testing
the patch!
2015-07-10: Fixed a GC-bug in PQconndefaults_stub.
Thanks to Roven Gabriel for the patch!
2015-03-27: Added methods ftype_oid and paramtype_oid and fixed a minor bug.
Thanks to Tomohiro Matsuyama for the patches!
2015-03-26: Added support for JSON and JSONB field types.
Thanks to Tomohiro Matsuyama for the patch!
2015-01-28: New major release: improved handling of asynchronous operations.
This required an API-change to the "flush" method.
Thanks to Max Wolter from Jane Street Capital for the patch!
2014-10-29: Fixed an installation problem due to a missing internal module.
2014-10-23: Fixed string handling for new OCaml version 4.02 (String/Bytes
modules). Requires new findlib version (>= 1.5).
2014-08-14: Even more new asynchronous methods:
* optional [startonly] flag for creating an asynchronous connection
* connect_poll
* reset_start
* reset_poll
And also:
* set_single_row_mode
Thanks to Petter Urkedal <paurkedal@gmail.com> for these
contributions!
2014-08-10: New asynchronous methods:
* send_describe_prepared
* send_describe_portal
Thanks to Petter Urkedal <paurkedal@gmail.com> for these
contributions!
2014-03-10: New asynchronous methods:
* send_prepare
* send_query_prepared
Thanks to Petter Urkedal <paurkedal@gmail.com> for these
contributions!
2013-07-08: Fixed a version discovery problem with beta versions of
PostgreSQL.
Thanks to Stephane Legrand <stephleg@free.fr> for the patch!
2012-07-20: Downgraded findlib version requirement to support the Debian
testing branch.
2012-07-15: New major release version 2.0.0:
* Upgraded to OCaml 4.00
* Switched to Oasis for packaging
* Switched to OCamlBuild for the build process
* Rewrote README in Markdown
* Added stricter compilation flags
* Fixed broken copy_out method
2012-01-10: Added new function:
* Postgresql.get_escaped_value
Thanks to Jonathan Derque <jonathan.derque@lexifi.com> for the
patch!
2011-12-29: Fixed a memory allocation bug getting values of binary format.
Thanks to Igor Plotnikov <igor@xambala.com> for the patch!
2011-05-23: Fixed conndefaults bindings some more due to unclear PostgreSQL
documentation.
Thanks to Vijai Lulla <vijaylulla@gmail.com> for the bug report!
2011-05-21: Fixed GC bug in conndefaults function.
Thanks to Vijai Lulla <vijaylulla@gmail.com> for the bug report!
2010-12-25: Added support for the new bytea hex format in PostgreSQL 9.0.
Thanks to Alain Frisch <alain@frisch.fr> for the initial patch!
2010-12-08: Fixed findlib linking problem with bigarrays.
2010-10-17: Added better support for prepared statements.
Added support for zero-copy I/O with large objects.
Thanks to Chris King <colanderman@gmail.com> for the above two
patches!
Improved handling of sizes in C-bindings.
2010-03-17: Fixed small copy_out bug.
2010-02-17: Signal an error at link time if multi-threading support is
not available.
Thanks to Guillaume Yziquel <guillaume.yziquel@citycable.ch>
for the hint!
2009-10-12: Fixed example build problem.
2009-10-07: Minor API change.
"socket" method now returns an integer instead of a
Unix file descriptor to avoid type problems under
Windows.
2009-09-18: Fixed serious bug in new escape_string method.
PLEASE UPGRADE!!!
2009-09-08: API-change: deleted "escape_string" function.
There is now a method "escape_string" in the connection
class, which is not deprecated and hence safer.
2009-05-07: Significant improvements to thread-safety.
2009-01-16: Added missing null parameter.
Thanks to Alain Frisch <alain@frisch.fr> for the patch!
2009-01-15: Addes support for specifying binary parameters in queries.
Thanks to Alain Frisch <alain@frisch.fr> for the patch!
2009-01-05: Switched to generational global root registration of
callbacks for better performance.
Requires OCaml 3.11 or higher!!!
2008-10-25: Fixed portability problem on Mac OS X.
2008-09-30: Fixed tiny bug that prevented use with PostgreSQL 8.1.
2008-09-29: Added support for connection methods:
* describe_prepared
Added support for result methods:
* nparams
* paramtype
Thanks to Paolo Donadeo <p.donadeo@ex-nunc.org> for the
above contributions!
Updated OCamlMakefile.
2008-03-19: Allow several commands in one query again (was broken after
support for query parameters had been added). Updated the
INSTALL file with a hint on how to solve a potential linking
problem on Windows.
Thanks to Alain Frisch <alain@frisch.fr> for this patch
and hint!
2008-03-14: Merged with Jane Street Capital version (some minor
cleanups).
2008-03-10: Improved portability to Windows. Added support for
parameters in queries. Some internal cleanups.
Thanks to Alain Frisch <alain@frisch.fr> for this patch!
2007-03-28: Greatly improved multi-thread support.
Added seek options.
Improved documentation.
Updated OCamlMakefile.
2007-03-28: Fixed a potential GC-bug. Updated OCamlMakefile.
2007-03-19: Updated OCamlMakefile.
2007-03-19: Fixed a linking problem on Mac OS X.
Thanks to Leonardo Cecchi <leonardo.cecchi@gmail.com>
for the hint!
2007-01-08: Fixed a build problem related to a bug in OCamlMakefile.
Thanks to Anastasia Gornostaeva <ermine@ermine.pp.ru>
for the hint!
2007-01-08: Fixed a build problem concerning non-standard locations of
PostgreSQL.
Thanks to Anastasia Gornostaeva <ermine@ermine.pp.ru>
for the patch!
2006-11-22: Updated OCamlMakefile.
2006-11-08: Upgraded prompt_gtk to LablGTK2.
Tightened compilation warnings.
Removed superfluous linking option.
Replaced obsolete escaping method, and added calls to
PQfreemem required on Windows.
2006-09-15: Updated OCamlMakefile.
2006-08-17: Automatically fetch compiler and linker flags for the local
PostgreSQL-installation for simpler installation. Thanks to
Vincenzo Ciancia <ciancia@di.unipi.it> for the hint!
2006-07-21: Fixed GC-bug.
2006-06-08: Fixed GC-bugs.
2006-01-24: Added support for accessing binary fields.
2005-05-31: Fixed some uncleanliness reported by Saffire (an FFI-type
checker).
2005-03-22: Small internal improvement.
2004-12-28: Fixed a potential compilation problem.
2004-12-20: Fixed a bug in the "escape_bytea"-function: escaped strings
contained an additional null character.
Thanks to Christophe Troestler
<Christophe.Troestler@umh.ac.be> for the bug report!
Updated OCamlMakefile.
2004-08-26: Small internal code-improvement.
2004-08-05: Several significant improvements: the oid type is now
revealed as int in the interface. The "ftype"-method has
been changed to return the new type "ftype". The latter
lists 60 constructors, which specify the types of fields.
The change comes with new conversion functions:
* ftype_of_oid
* oid_of_ftype
* string_of_ftype
* ftype_of_string
And with new exceptions:
* exception Oid of oid
* exception InternalError of string
2004-08-02: Fixed two serious thread-related bugs.
2004-07-14: Minor update for OCaml-3.08.
Updated OCamlMakefile.
2004-07-06: Added an example "cursor" that demonstrates the use of
cursors.
2004-06-29: Fixed an off-by-one error in method "get_all_lst".
Thanks to Anil Madhavapeddy <anil@recoil.org> for the patch!
Updated OCamlMakefile.
2004-04-27: Updated OCamlMakefile.
2004-04-13: Fixed a problem concerning backwards compatibility with
older OCaml-versions that do not yet use the caml-namespace
(identifiers not yet prefixed with "caml_").
2004-02-21: Added CAMLprim in the C-interface where appropriate.
2004-02-08: Fixed minor bugs concerning returning unit values from C.
Made C-interface compile with pedantic compiler settings.
2004-01-29: Some major changes to interface to use or improve handling
of default arguments. Effected methods:
* escape_string
* escape_bytea
* getline
* getline_async
* putnbytes
* lo_write
* lo_read
* lo_seek
Removed methods (obsolete due to default arguments - use
"lo_write" instead):
* lo_write_string
Added functions:
* unescape_bytea
2004-01-28: First release.