~ubuntu-branches/ubuntu/maverick/psycopg2/maverick

« back to all changes in this revision

Viewing changes to ChangeLog

  • Committer: Bazaar Package Importer
  • Author(s): Fabio Tranchitella
  • Date: 2009-10-12 06:50:00 UTC
  • mfrom: (5.1.6 squeeze)
  • Revision ID: james.westby@ubuntu.com-20091012065000-nx4ux1pnb0fee2rw
Tags: 2.0.13-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
2009-10-04  Federico Di Gregorio  <fog@initd.org>
 
2
 
 
3
        * Release 2.0.13.
 
4
 
 
5
        * setup.py: applied patch from Christian Jacobsen to link to static
 
6
        version of libpq.
 
7
 
 
8
        * lib/extras.py: added support for UUID arrays.
 
9
 
 
10
        * psycopg/connection_int.c: applied patch from Richard Davies to avoid
 
11
        deadlocks with multiple threads using the same connection.
 
12
 
 
13
2009-08-08  Federico Di Gregorio  <fog@initd.org>
 
14
 
 
15
        * Release 2.0.12.
 
16
 
 
17
        * psycopg/lobject_int.c: fixed problem with writing large data using
 
18
        lo_write: apparently the large objects code does not like non-blocking
 
19
        connections.
 
20
 
 
21
        * setup.py: fixed version detection for PostgreSQL rc, as
 
22
        suggested by Sok Ann Yap.
 
23
 
 
24
        * ZPsycopgDA/db.py: applied serialization error retry from Brian
 
25
        Sutherland.
 
26
 
 
27
        * Implemented connection.reset() method to reset the connection to
 
28
        well-know default parameters. This is much faster than closing and
 
29
        reopening the connection. (Suggested by a bug report by Glenn
 
30
        Maynard.)
 
31
 
 
32
        * psycopg/cursor_type.c: unified size macro definitions in COPY TO
 
33
        and COPY FROM operations: now the buffer for column names is 8192
 
34
        bytes that should be enough even for very large tables.
 
35
 
 
36
2009-05-19  Federico Di Gregorio  <fog@initd.org>
 
37
 
 
38
        * Applied patch from Robert Munro to fix version check
 
39
        in ZPsycopgDA.
 
40
 
 
41
2009-05-10  Federico Di Gregorio  <fog@initd.org>
 
42
 
 
43
        * Release 2.0.11.
 
44
 
 
45
        * lib/extras.py: fixed crash in fetchone() when prefetching using
 
46
        a RealDictCursor.
 
47
 
 
48
        * psycopg/cursor_ext.c: now raise correct exception when fetching
 
49
        using a custom row factory results in an error.
 
50
 
 
51
        * lib/extras.py: applied DictRow "diet" patch from Marko Kreen.
 
52
 
 
53
2009-04-21  Federico Di Gregorio  <fog@initd.org>
 
54
 
 
55
        * setup.py: applied patch from Elvis Pranskevichus to make
 
56
        PostgreSQL version detection more robust.
 
57
 
 
58
2009-04-20  Federico Di Gregorio  <fog@initd.org>
 
59
 
 
60
        * Release 2.0.10.
 
61
 
 
62
        * psycopg/cursor_type.c: patch from Gangadharan to avoid double
 
63
        free of the cursor when the connection that creates it is closed
 
64
        implicitly by dealloc.
 
65
 
 
66
2009-04-19  Federico Di Gregorio  <fog@initd.org>
 
67
 
 
68
        * psycopg/connection_type.c: patch from Gangadharan to avoid double
 
69
        free of the connection object when calling close() implicitly.
 
70
 
 
71
        * psycopg/connection_type.c: patch from Marko Kreen to implement
 
72
        get_parameter_status().
 
73
 
 
74
        * psycopg/connection.*: exposed protocol_version and
 
75
        server_version attributes on the connection object.
 
76
 
 
77
        * lib/extras.py: patch from Marko Kreen to implement missing dict
 
78
        methods in DictRow.
 
79
 
 
80
2009-04-04  Federico Di Gregorio  <fog@initd.org>
 
81
 
 
82
        * connection_int.c(conn_notice_callback): removed all Python
 
83
        calls because conn_notice_callback() can be called without a lock
 
84
        on the GIL. Moved processing and cleanup of notices into their
 
85
        own functions that are called while holding the GIL.
 
86
 
 
87
2009-04-01  Federico Di Gregorio  <fog@initd.org>
 
88
 
 
89
        * Applied patch from Menno Smits to fix failures in test_dates
 
90
        when executed in older version of Python.
 
91
 
 
92
        * Applied patch from Menno Smits to fix lobject test failures.
 
93
 
 
94
2009-03-08  Federico Di Gregorio  <fog@initd.org>
 
95
 
 
96
        * microprotocols.c: None is always adapted to NULL to avoid
 
97
        errors when calling adapt on nested types without first checking
 
98
        for None.
 
99
 
 
100
2009-03-02  Federico Di Gregorio  <fog@initd.org>
 
101
 
 
102
        * Applied modified patch from Karsten Hilbert to provide a
 
103
        type-caster able to parse times with seconds in the time zone.
 
104
 
 
105
        * Applied patch from Menno Smits to avoid problems with DictCursor
 
106
        when the query is executed by a named cursor. Also added Menno's
 
107
        tests and uniformed other DictCursor tests.
 
108
 
 
109
        * psycopg/psycopgmodule.c: fixed unwanted exception when passing an
 
110
        explicit None to register_type().
 
111
 
 
112
        * psycopg/config.h: applied patch from Jason Erickson to build
 
113
        with MSVC. Solaris version of isinf() is now a macro.
 
114
 
 
115
2009-02-27  Federico Di Gregorio  <fog@initd.org>
 
116
 
 
117
        * psycopg/config.h: added check to provide compatible isinf()
 
118
        for Solaris (thanks to Jeremy Mason.)
 
119
 
 
120
2009-02-23  Federico Di Gregorio  <fog@initd.org>
 
121
 
 
122
        * Release 2.0.9.
 
123
 
 
124
2009-02-17  James Henstridge  <james@jamesh.id.au>
 
125
 
 
126
        * psycopg/utils.c (psycopg_escape_string): same here.
 
127
 
 
128
        * psycopg/adapter_binary.c (binary_escape): simplify PostgreSQL
 
129
        version check.
 
130
 
 
131
        * setup.py (psycopg_build_ext.finalize_options): use a single
 
132
        define of the PostgreSQL version in a form that can easily be used
 
133
        by #ifdefs.
 
134
 
 
135
        * tests/test_dates.py (DatetimeTests, mxDateTimeTests): full test
 
136
        coverage for datetime and time strings with and without time zone
 
137
        information.
 
138
 
 
139
        * psycopg/typecast_datetime.c (typecast_PYDATETIME_cast): adjust
 
140
        to handle the changes in typecast_parse_time.
 
141
        (typecast_PYTIME_cast): add support for time zone aware time
 
142
        values.
 
143
 
 
144
        * psycopg/typecast_mxdatetime.c (typecast_MXDATE_cast): make sure
 
145
        that values with time zones are correctly processed (even though
 
146
        that means ignoring the time zone value).
 
147
        (typecast_MXTIME_cast): same here.
 
148
 
 
149
        * psycopg/typecast.c (typecast_parse_time): Update method to parse
 
150
        second resolution timezone offsets.
 
151
 
 
152
        * psycopg/typecast.c (typecast_parse_time): Fix up handling of
 
153
        negative timezone offsets with a non-zero minutes field.
 
154
 
 
155
        * tests/test_dates.py (DatetimeTests): Add tests for time zone
 
156
        parsing.  The test for HH:MM:SS time zones is disabled because we
 
157
        don't currently support it.
 
158
 
 
159
2009-02-16  Federico Di Gregorio  <fog@initd.org>
 
160
 
 
161
        * FreeBSD now has round(). Modified config.h as suggested by
 
162
        Jeroen Ruigrok van der Werven.
 
163
 
 
164
2009-02-06  Federico Di Gregorio  <fog@initd.org>
 
165
 
 
166
        * Applied patch by Markus Demleitner to make executemany() return
 
167
        the sum of modified rows by executed statements or -1 if any one
 
168
        statement returns it. This is still DBAPI-2.0 compliant.
 
169
 
 
170
2009-01-23  Federico Di Gregorio  <fog@initd.org>
 
171
 
 
172
        * Fixed problem mailed by Markus Demleitner about Python to
 
173
        PostgreSQL conversions of "nan" and "inf" floats resulting in
 
174
        backend errors. Added the new psycopg2.extensions.Float adapter
 
175
        that correctly handle both values and unit tests. (The opposite
 
176
        conversion was already working.)
 
177
 
 
178
2009-01-20  Federico Di Gregorio  <fog@initd.org>
 
179
 
 
180
        * Fixed problem reported by Lawrence Oluyede where
 
181
        register_type() didn't work on connection and cursors
 
182
        suclasses.
 
183
 
 
184
2009-01-10  Federico Di Gregorio  <fog@initd.org>
 
185
 
 
186
        * psycopg/cursor_type.c: cursor.isready() now raise an exception
 
187
        when the libpq PQconsumeInput() call fails.
 
188
 
 
189
2008-12-04  Federico Di Gregorio  <fog@initd.org>
 
190
 
 
191
        * psycopg/lobject_type.c: fixed memory leak. The patch was kindly
 
192
        sent from a psycopg user but I wrongly deleted the email so no
 
193
        kudos (and I had to fix the problem by myself!)
 
194
 
 
195
2008-11-25  Federico Di Gregorio  <fog@initd.org>
 
196
 
 
197
        * psycopg/cursor_type.c: integrated patch from Alejandro Dubrovsky.
 
198
        Note that the statically allocated buffer should probably go away
 
199
        in favor of always allocating the buffer dinamically.
 
200
 
 
201
        * psycopg/utils.c: modified patch from Alejandro Dubrovsky to
 
202
        support quoted separators in COPY queries: now all the string
 
203
        quoting code is in utils.c and the same function is used by
 
204
        qstrings and everything else (like the COPY code.)
 
205
 
 
206
2008-09-24  Federico Di Gregorio <fog@initd.org>
 
207
 
 
208
        * lib/extras.py: added inet support and related tests.
 
209
 
 
210
2008-09-23  James Henstridge  <james@jamesh.id.au>
 
211
 
 
212
        * psycopg/psycopg.h (NotSupportedError_doc): clean up
 
213
        spelling/grammar a bit, using exception description from the PEP.
 
214
 
 
215
2008-09-23  Federico Di Gregorio <fog@initd.org>
 
216
 
 
217
        * Applied patch from Brian Sutherland that fixes NULL
 
218
        valus in UUID support.
 
219
 
 
220
2008-09-19  Federico Di Gregorio <fog@initd.org>
 
221
 
 
222
        * lib/extras.py: added UUID support, modeled after the code
 
223
        sent by Brian Sutherland.
 
224
 
1
225
2008-09-16  Federico Di Gregorio <fog@initd.org>
2
226
 
3
227
        * Release 2.0.8.