File python-psycopg2.changes of Package python-psycopg2
589
1
-------------------------------------------------------------------
2
Tue May 19 06:16:56 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
3
4
- Sort out the syntax of the deps bsc#1171213
5
6
-------------------------------------------------------------------
7
Thu Apr 23 16:13:29 UTC 2020 - Marcus Rueckert <mrueckert@suse.de>
8
9
- update to 2.8.5
10
- Fixed use of connection_factory and cursor_factory together
11
(ticket #1019).
12
- Added support for logging.LoggerAdapter in LoggingConnection
13
(ticket #1026).
14
- Column objects in cursor.description can be sliced (ticket
15
#1034).
16
- Added AIX support (ticket #1061).
17
- Fixed copy() of DictCursor rows (ticket #1073).
18
19
-------------------------------------------------------------------
20
Thu Mar 19 08:19:57 UTC 2020 - Hans-Peter Jansen <hpj@urpla.net>
21
22
- fix postgresql build dependency: pg_config is in postgresql-server-devel (bsc#1167541)
23
24
-------------------------------------------------------------------
25
Fri Feb 28 21:49:40 UTC 2020 - Dirk Mueller <dmueller@suse.com>
26
27
- update to 2.8.4:
28
- Fixed building with Python 3.8 (:ticket:`#854`).
29
- Don't swallow keyboard interrupts on connect when a password is specified
30
in the connection string (:ticket:`#898`).
31
- Don't advance replication cursor when the message wasn't confirmed
32
(:ticket:`#940`).
33
- Fixed inclusion of ``time.h`` on linux (:ticket:`#951`).
34
- Fixed int overflow for large values in `~psycopg2.extensions.Column.table_oid`
35
and `~psycopg2.extensions.Column.type_code` (:ticket:`#961`).
36
- `~psycopg2.errorcodes` map and `~psycopg2.errors` classes updated to
37
PostgreSQL 12.
38
- Wheel package compiled against OpenSSL 1.1.1d and PostgreSQL at least 11.4.
39
40
-------------------------------------------------------------------
41
Mon Oct 14 14:14:29 UTC 2019 - Matej Cepl <mcepl@suse.com>
42
43
- Replace %fdupes -s with plain %fdupes; hardlinks are better.
44
45
-------------------------------------------------------------------
46
Thu Jul 4 15:02:11 UTC 2019 - Daniel Molkentin <daniel.molkentin@suse.com>
47
48
- Update to 2.8.4
49
* Added interval_status parameter to start_replication() method and other
50
facilities to send automatic replication keepalives at periodic intervals
51
(ticket #913).
52
* Fixed namedtuples caching introduced in 2.8 (ticket #928).
53
54
-------------------------------------------------------------------
55
Tue Jun 4 15:36:23 UTC 2019 - Marketa Calabkova <mcalabkova@suse.com>
56
57
- Update to 2.8.3
58
* Added interval_status parameter to start_replication() method
59
and other facilities to send automatic replication keepalives
60
at periodic intervals
61
* Fixed RealDictCursor when there are repeated columns
62
* Fixed RealDictRow modifiability
63
* Fixed “there’s no async cursor” error polling a connection with
64
no cursor
65
2.8.0
66
* Added errors module. Every PostgreSQL error is converted into
67
a specific exception class
68
* Added encrypt_password() function
69
* Added BYTES adapter to manage databases with mixed encodings on
70
Python 3
71
* Added table_oid and table_column attributes on cursor.description
72
items
73
* Added connection.info object to retrieve various PostgreSQL
74
connection information
75
* str() on Range produces a human-readable representation
76
* Fixed async communication blocking if results are returned in
77
different chunks
78
* Fixed adaptation of numeric subclasses such as IntEnum
79
* Dropped support for Python 2.6, 3.2, 3.3.
80
* Dropped deprecated register_tstz_w_secs()
81
* Dropped deprecated PersistentConnectionPool. Use
82
ZPsycopgDA.pool instead.
83
* Binary packages no longer installed by default. The
84
‘psycopg2-binary’ package must be used explicitly.
85
* Dropped PSYCOPG_DISPLAY_SIZE build parameter.
86
87
-------------------------------------------------------------------
88
Tue Apr 2 16:43:30 UTC 2019 - Todd R <toddrme2178@gmail.com>
89
90
- Requires postgresql-server-devel on Factory now.
91
92
-------------------------------------------------------------------
93
Mon Mar 4 12:13:19 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
94
95
- Update to 2.7.7:
96
* Cleanup of the cursor results assignment code, which might have solved
97
double free and inconsistencies in concurrent usage (:tickets:`#346, #384`).
98
* Close named cursors if exist, even if execute() wasn't called (ticket #746).
99
* Fixed building on modern FreeBSD versions with Python 3.7 (ticket #755).
100
* Fixed hang trying to COPY via execute() in asynchronous connections (ticket #781).
101
* Fixed adaptation of arrays of empty arrays (ticket #788).
102
* Fixed segfault accessing the connection.readonly and connection.deferrable attributes repeatedly (ticket #790).
103
* execute_values() accepts sql.Composable objects (ticket #794).
104
* errorcodes map updated to PostgreSQL 11.
105
* Allow non-ascii chars in namedtuple fields (regression introduced fixing ticket #211).
106
* Fixed adaptation of arrays of arrays of nulls (ticket #325).
107
* Fixed building on Solaris 11 and derivatives such as SmartOS and illumos (ticket #677).
108
* Maybe fixed building on MSYS2 (as reported in ticket #658).
109
* Allow string subclasses in connection and other places (ticket #679).
110
* Don't raise an exception closing an unused named cursor (ticket #716).
111
112
-------------------------------------------------------------------
113
Wed Mar 7 14:03:13 UTC 2018 - aplanas@suse.com
114
115
- Allows Recommends and Suggest in Fedora
116
117
-------------------------------------------------------------------
118
Tue Feb 27 17:55:42 UTC 2018 - aplanas@suse.com
119
120
- Suggests only for SUSE
121
122
-------------------------------------------------------------------
123
Thu Feb 22 10:31:09 UTC 2018 - sebix+novell.com@sebix.at
124
125
- update to version 2.7.4:
126
- Moving away from installing the wheel package by default.
127
Packages installed from wheel raise a warning on import. Added package
128
``psycopg2-binary`` to install from wheel instead (:ticket:`#543`).
129
- Convert fields names into valid Python identifiers in
130
`~psycopg2.extras.NamedTupleCursor` (:ticket:`#211`).
131
- Fixed Solaris 10 support (:ticket:`#532`).
132
- `cursor.mogrify()` can be called on closed cursors (:ticket:`#579`).
133
- Fixed setting session characteristics in corner cases on autocommit
134
connections (:ticket:`#580`).
135
- Fixed `~psycopg2.extras.MinTimeLoggingCursor` on Python 3 (:ticket:`#609`).
136
- Fixed parsing of array of points as floats (:ticket:`#613`).
137
- Fixed `~psycopg2.__libpq_version__` building with libpq >= 10.1
138
(:ticket:`632`).
139
- Fixed `~cursor.rowcount` after `~cursor.executemany()` with :sql:`RETURNING`
140
statements (:ticket:`633`).
141
- Fixed compatibility problem with pypy3 (:ticket:`#649`).
142
- Wheel packages compiled against PostgreSQL 10.1 libpq and OpenSSL 1.0.2n.
143
- Wheel packages for Python 2.6 no more available (support dropped from
144
wheel building infrastructure).
145
- update to version 2.7.3.2:
146
- not relevant
147
- update to version 2.7.3.1:
148
- not relevant
149
150
-------------------------------------------------------------------
151
Tue Aug 8 15:42:47 UTC 2017 - tbechtold@suse.com
152
153
- update version to 2.7.3:
154
- Restored default :sql:`timestamptz[]` typecasting to Python `!datetime`.
155
Regression introduced in Psycopg 2.7.2 (:ticket:`#578`).
156
- Fixed inconsistent state in externally closed connections
157
(:tickets:`#263, #311, #443`). Was fixed in 2.6.2 but not included in
158
2.7 by mistake.
159
- Fixed Python exceptions propagation in green callback (:ticket:`#410`).
160
- Don't display the password in `connection.dsn` when the connection
161
string is specified as an URI (:ticket:`#528`).
162
- Return objects with timezone parsing "infinity" :sql:`timestamptz`
163
(:ticket:`#536`).
164
- Dropped dependency on VC9 runtime on Windows binary packages
165
(:ticket:`#541`).
166
- Fixed segfault in `~connection.lobject()` when *mode*\=\ `!None`
167
(:ticket:`#544`).
168
- Fixed `~connection.lobject()` keyword argument *lobject_factory*
169
(:ticket:`#545`).
170
- Fixed `~psycopg2.extras.ReplicationCursor.consume_stream()`
171
*keepalive_interval* argument (:ticket:`#547`).
172
- Maybe fixed random import error on Python 3.6 in multiprocess
173
environment (:ticket:`#550`).
174
- Fixed random `!SystemError` upon receiving abort signal (:ticket:`#551`).
175
- Accept `~psycopg2.sql.Composable` objects in
176
`~psycopg2.extras.ReplicationCursor.start_replication_expert()`
177
(:ticket:`554`).
178
- Parse intervals returned as microseconds from Redshift (:ticket:`#558`).
179
- Added `~psycopg2.extras.Json` `!prepare()` method to consider connection
180
params when adapting (:ticket:`#562`).
181
- `~psycopg2.errorcodes` map updated to PostgreSQL 10 beta 1.
182
183
-------------------------------------------------------------------
184
Mon Jul 10 10:07:07 UTC 2017 - jengelh@inai.de
185
186
- Trim filler wording from description.
187
188
-------------------------------------------------------------------
189
Fri Jun 23 16:26:18 UTC 2017 - jmatejek@suse.com
190
191
- convert to singlespec
192
- update to 2.7.1
193
* Added sql module to generate SQL dynamically (ticket #308).
194
* Added Replication protocol support (ticket #322). Main authors are
195
Oleksandr Shulgin and Craig Ringer, who deserve a huge thank you.
196
* Added parse_dsn() and make_dsn() functions (tickets #321, #363). connect()
197
now can take both dsn and keyword arguments, merging them together.
198
* Added __libpq_version__ and libpq_version() to inspect the version of the
199
libpq library the module was compiled/loaded with (tickets #35, #323).
200
* The attributes notices and notifies can be customized replacing them with
201
any object exposing an append() method (ticket #326).
202
* Adapt network types to ipaddress objects when available. When not enabled,
203
convert arrays of network types to lists by default. The old Inet adapter is
204
deprecated (tickets #317, #343, #387).
205
* Added quote_ident() function (ticket #359).
206
* Added get_dsn_parameters() connection method (ticket #364).
207
* callproc() now accepts a dictionary of parameters (ticket #381).
208
* Give precedence to __conform__() over superclasses to choose an object
209
adapter (ticket #456).
210
* Using Python C API decoding functions and codecs caching for faster
211
unicode encoding/decoding (ticket #473).
212
* executemany() slowness addressed by execute_batch() and execute_values()
213
(ticket #491).
214
* Added async_ as an alias for async to support Python 3.7 where async will
215
become a keyword (ticket #495).
216
* Unless in autocommit, do not use default_transaction_* settings to control
217
the session characteristics as it may create problems with external
218
connection pools such as pgbouncer; use BEGIN options instead (ticket #503).
219
* isolation_level is now writable and entirely separated from autocommit;
220
added readonly, deferrable writable attributes.
221
* dropped support for python 2.5 and postgres client library < 9.1
222
* many bugs fixed
223
224
- drop doc subpackage, html docs available from http://pythonhosted.org/psycopg2/
225
226
-------------------------------------------------------------------
227
Wed Jun 21 13:44:46 UTC 2017 - bwiedemann@suse.com
228
229
- Do not include unneccessary undeterministic environment.pickle in package to fix build-compare
230
231
-------------------------------------------------------------------
232
Mon Nov 14 14:06:11 UTC 2016 - dmueller@suse.com
233
234
- update to 2.6.2:
235
* Fixed inconsistent state in externally closed connections (tickets #263, #311, #443).
236
* Report the server response status on errors (such as ticket #281).
237
* Raise NotSupportedError on unhandled server response status (ticket #352).
238
* Allow overriding string adapter encoding with no connection (ticket #331).
239
* The wait_select callback allows interrupting a long-running query in an interactive shell using Ctrl-C (ticket #333).
240
* Fixed PersistentConnectionPool on Python 3 (ticket #348).
241
* Fixed segfault on repr() of an uninitialized connection (ticket #361).
242
* Allow adapting bytes using QuotedString on Python 3 (ticket #365).
243
* Added support for setuptools/wheel (ticket #370).
244
* Fix build on Windows with Python 3.5, VS 2015 (ticket #380).
245
* Fixed errorcodes.lookup initialization thread-safety (ticket #382).
246
* Fixed read() exception propagation in copy_from (ticket #412).
247
* Fixed possible NULL TZ decref (ticket #424).
248
* errorcodes map updated to PostgreSQL 9.5.
249
* Lists consisting of only None are escaped correctly (ticket #285).
250
* Fixed deadlock in multithread programs using OpenSSL (ticket #290).
251
* Correctly unlock the connection after error in flush (ticket #294).
252
* Fixed MinTimeLoggingCursor.callproc() (ticket #309).
253
* Added support for MSVC 2015 compiler (ticket #350).
254
255
-------------------------------------------------------------------
256
Wed Mar 9 10:29:20 UTC 2016 - bwiedemann@suse.com
257
258
- use the year from source gzip header instead of current one
259
to make reproducible rpms
260
261
-------------------------------------------------------------------
262
Tue Feb 24 14:52:53 UTC 2015 - tbechtold@suse.com
263
264
- update to version 2.6:
265
- Added support for large objects larger than 2GB. Many thanks to Blake Rouse
266
and the MAAS Team for the feature development.
267
- Python `time` objects with a tzinfo specified and PostgreSQL :sql:`timetz`
268
data are converted into each other (:ticket:`#272`).
269
- Json apapter's `!str()` returns the adapted content instead of the `!repr()`
270
(:ticket:`#191`).
271
- Named cursors used as context manager don't swallow the exception on exit
272
(:ticket:`#262`).
273
- `cursor.description` can be pickled (:ticket:`#265`).
274
- Propagate read error messages in COPY FROM (:ticket:`#270`).
275
- PostgreSQL time 24:00 is converted to Python 00:00 (:ticket:`#278`).
276
- Added :sql:`jsonb` support for PostgreSQL 9.4 (:ticket:`#226`).
277
- Fixed segfault if COPY statements are passed to `~cursor.execute()` instead
278
of using the proper methods (:ticket:`#219`).
279
- Force conversion of pool arguments to integer to avoid potentially unbounded
280
pools (:ticket:`#220`).
281
- Cursors :sql:`WITH HOLD` don't begin a new transaction upon move/fetch/close
282
(:ticket:`#228`).
283
- Cursors :sql:`WITH HOLD` can be used in autocommit (:ticket:`#229`).
284
- `~cursor.callproc()` doesn't silently ignore an argument without a length.
285
- Fixed memory leak with large objects (:ticket:`#256`).
286
- Make sure the internal ``_psycopg.so`` module can be imported stand-alone (to
287
allow modules juggling such as the one described in :ticket:`#201`).
288
- Work around `pip issue #1630 <https://github.com/pypa/pip/issues/1630>`__
289
making installation via ``pip -e git+url`` impossible (:ticket:`#18`).
290
- Copy operations correctly set the `cursor.rowcount` attribute
291
(:ticket:`#180`).
292
- It is now possible to call `get_transaction_status()` on closed connections.
293
- Fixed unsafe access to object names causing assertion failures in
294
Python 3 debug builds (:ticket:`#188`).
295
- Mark the connection closed if found broken on `poll()` (from :ticket:`#192`
296
discussion)
297
- Fixed handling of dsn and closed attributes in connection subclasses
298
failing to connect (from :ticket:`#192` discussion).
299
- Added arbitrary but stable order to `Range` objects, thanks to
300
Chris Withers (:ticket:`#193`).
301
- Avoid blocking async connections on connect (:ticket:`#194`). Thanks to
302
Adam Petrovich for the bug report and diagnosis.
303
- Don't segfault using poorly defined cursor subclasses which forgot to call
304
the superclass init (:ticket:`#195`).
305
- Mark the connection closed when a Socket connection is broken, as it
306
happens for TCP connections instead (:ticket:`#196`).
307
- Fixed overflow opening a lobject with an oid not fitting in a signed int
308
(:ticket:`#203`).
309
- Fixed handling of explicit default ``cursor_factory=None`` in
310
`connection.cursor()` (:ticket:`#210`).
311
- Fixed possible segfault in named cursors creation.
312
- Fixed debug build on Windows, thanks to James Emerton.
313
- Add python-Sphinx as BuilrRequires to build documenation. Also adjust
314
the build process for html docs.
315
316
-------------------------------------------------------------------
317
Mon Jan 13 13:29:56 UTC 2014 - dmueller@suse.com
318
319
- update to 2.5.2:
320
- Fixed segfault pickling the exception raised on connection error
321
- Meaningful connection errors report a meaningful message
322
- Manually creating `lobject` with the wrong parameter doesn't segfault
323
324
-------------------------------------------------------------------
325
Tue Jun 25 11:41:28 UTC 2013 - dmueller@suse.com
326
327
- update to 2.5.1:
328
- Fixed build on Solaris 10 and 11 where the round() function is already
329
declared (:ticket:`#146`).
330
- Fixed comparison of `Range` with non-range objects (:ticket:`#164`).
331
Thanks to Chris Withers for the patch.
332
- Fixed double-free on connection dealloc (:ticket:`#166`). Thanks to
333
Gangadharan S.A. for the report and fix suggestion.
334
335
-------------------------------------------------------------------
336
Tue Apr 16 18:05:47 UTC 2013 - jfunk@funktronics.ca
337
338
- Update to 2.5:
339
- Added JSON adaptation.
340
- Added support for PostgreSQL 9.2 range types.
341
- `connection` and `cursor` objects can be used in ``with`` statements as
342
context managers as specified by recent DBAPI extension.
343
- Added `psycopg2.extensions.Diagnostics` object to get extended info from
344
a database error. Many thanks to Matthew Woodcraft for the implementation
345
(ticket #149).
346
- Added `connection.cursor_factory` attribute to customize the default
347
object returned by `connection.cursor()`.
348
- Added support for backward scrollable cursors. Thanks to Jon Nelson for
349
the initial patch (ticket #108).
350
- Added a simple way to customize casting of composite types into Python
351
objects other than namedtuples. Many thanks to Ronan Dunklau and Tobias
352
Oberstein for the feature development.
353
- `connection.reset()` implemented using `DISCARD ALL` on server versions
354
supporting it.
355
- Properly cleanup memory of broken connections (ticket #148).
356
- Fixed bad interaction of ``setup.py`` with other dependencies in
357
Distribute projects on Python 3 (ticket #153).
358
- Added support for Python 3.3.
359
- Dropped support for Python 2.4. Please use Psycopg 2.4.x if you need it.
360
- `psycopg2.errorcodes` map updated to PostgreSQL 9.2.
361
- Dropped Zope adapter from source repository. ZPsycopgDA now has its own
362
project at <http://github.com/psycopg/ZPsycopgDA>.
363
- Changes from 2.4.6:
364
- Fixed 'cursor()' arguments propagation in connection subclasses and
365
overriding of the 'cursor_factory' argument. Thanks to Corry Haines for
366
the report and the initial patch (ticket #105).
367
- Dropped GIL release during string adaptation around a function call
368
invoking a Python API function, which could cause interpreter crash.
369
Thanks to Manu Cupcic for the report (ticket #110).
370
- Close a green connection if there is an error in the callback. Maybe a
371
harsh solution but it leaves the program responsive (ticket #113).
372
- 'register_hstore()', 'register_composite()', 'tpc_recover()' work with
373
RealDictConnection and Cursor (ticket #114).
374
- Fixed broken pool for Zope and connections re-init across ZSQL methods in
375
the same request (tickets #123, #125, #142).
376
- connect() raises an exception instead of swallowing keyword arguments when
377
a connection string is specified as well (ticket #131).
378
- Discard any result produced by 'executemany()' (ticket #133).
379
- Fixed pickling of FixedOffsetTimezone objects (ticket #135).
380
- Release the GIL around PQgetResult calls after COPY (ticket #140).
381
- Fixed empty strings handling in composite caster (ticket #141).
382
- Fixed pickling of DictRow and RealDictRow objects.
383
384
-------------------------------------------------------------------
385
Fri May 25 14:07:21 UTC 2012 - cfarrell@suse.com
386
387
- license update: LGPL-3.0+ and (LGPL-3.0+ or ZPL-2.0) and
388
SUSE-GPL-2.0-with-openssl-exception
389
See the COPYING file. There are GPL-2.0+ (with openssl linking exceptions
390
for pgsql) in the package. Also, the ZPL option is only available for one
391
particular subdirectory in the package
392
393
-------------------------------------------------------------------
394
Fri May 25 05:32:01 UTC 2012 - highwaystar.ru@gmail.com
395
396
- python3 package added
397
- minor spec improvement
398
399
-------------------------------------------------------------------
400
Fri Apr 6 19:05:14 UTC 2012 - jfunk@funktronics.ca
401
402
- Update to 2.4.5:
403
* The close() methods on connections and cursors don't raise exceptions
404
if called on already closed objects.
405
* Fixed fetchmany() with no argument in cursor subclasses
406
(ticket #84).
407
* Use lo_creat() instead of lo_create() when possible for better
408
interaction with pgpool-II (ticket #88).
409
* Error and its subclasses are picklable, useful for multiprocessing
410
interaction (ticket #90).
411
* Better efficiency and formatting of timezone offset objects thanks
412
to Menno Smits (tickets #94, #95).
413
* Fixed 'rownumber' during iteration on cursor subclasses.
414
Regression introduced in 2.4.4 (ticket #100).
415
* Added support for 'inet' arrays.
416
* Fixed 'commit()' concurrency problem (ticket #103).
417
* Codebase cleaned up using the GCC Python plugin's static analysis
418
tool, which has revealed several unchecked return values, possible
419
NULL dereferences, reference counting problems. Many thanks to David
420
Malcolm for the useful tool and the assistance provided using it.
421
422
-------------------------------------------------------------------
423
Tue Mar 27 09:27:25 UTC 2012 - saschpe@suse.de
424
425
- Can't hurt to suggest postgresql-server
426
427
-------------------------------------------------------------------
428
Mon Mar 12 21:10:27 UTC 2012 - saschpe@gmx.de
429
430
- Simplify macro usage
431
- Remove outdated SUSE version checks
432
433
-------------------------------------------------------------------
434
Mon Feb 13 10:54:08 UTC 2012 - coolo@suse.com
435
436
- patch license to follow spdx.org standard
437
438
-------------------------------------------------------------------
439
Thu Jan 12 21:53:36 UTC 2012 - jfunk@funktronics.ca
440
441
- Update to 2.4.4:
442
* register_composite() also works with the types implicitly defined after a
443
table row, not only with the ones created by CREATE TYPE.
444
* Values for the isolation level symbolic constants restored to what they
445
were before release 2.4.2 to avoid breaking apps using the values instead
446
of the constants.
447
* Named DictCursor/RealDictCursor honour itersize (ticket #80).
448
* Fixed rollback on error on Zope (ticket #73).
449
* Raise DatabaseError instead of Error with empty libpq errors, consistently
450
with other disconnection-related errors: regression introduced in release
451
2.4.1 (ticket #82).
452
- Version 2.4.3:
453
* connect() supports all the keyword arguments supported by the database
454
* Added new_array_type() function for easy creation of array typecasters.
455
* Added support for arrays of hstores and composite types (ticket #66).
456
* Fixed segfault in case of transaction started with connection lost (and
457
possibly other events).
458
* Fixed adaptation of Decimal type in sub-interpreters, such as in certain
459
mod_wsgi configurations (ticket #52).
460
* Rollback connections in transaction or in error before putting them back
461
into a pool. Also discard broken connections (ticket #62).
462
* Lazy import of the slow uuid module, thanks to Marko Kreen.
463
* Fixed NamedTupleCursor.executemany() (ticket #65).
464
* Fixed --static-libpq setup option (ticket #64).
465
* Fixed interaction between RealDictCursor and named cursors (ticket #67).
466
* Dropped limit on the columns length in COPY operations (ticket #68).
467
* Fixed reference leak with arguments referenced more than once in queries
468
(ticket #81).
469
* Fixed typecasting of arrays containing consecutive backslashes.
470
* errorcodes map updated to PostgreSQL 9.1.
471
472
-------------------------------------------------------------------
473
Wed Sep 21 13:43:29 UTC 2011 - saschpe@suse.de
474
475
- Update to version 2.4.2:
476
* connection.h: added codec attribute to avoid repeated codec name
477
lookups during unicode query/params manipulations.
478
* setup.py: bumped to version 2.3.2.dev0
479
* psycopg/connection_int.c: applied patch from Marti Raudsepp to close
480
ticket #24. Fixed segfault in connection when DateStyle not available
481
(e.g. pgbouncer appars not passing it to the client)
482
* psycopg/utils.c: Added psycopg_strdup function.
483
- See ChangeLog for more...
484
- Don't package testsuite
485
- Fix non-executable script rpmlint warning
486
487
-------------------------------------------------------------------
488
Mon Feb 28 07:52:40 UTC 2011 - saschpe@suse.de
489
490
- Spec file changes:
491
* Added LICENSE and NEWS files
492
* Added ZPL license to preamble (psycopg2 is dual-licensed)
493
* Use upstream description
494
* Fixed SLE build errors
495
* Repacked tarball to bzip2
496
- Update to version 2.4
497
* Added support for Python 3.1 and 3.2. The conversion has also
498
brought several improvements:
499
* Improvements to the named cusors and data handling
500
* Fixed adaptation of None in composite types (ticket #26). Bug
501
report by Karsten Hilbert.
502
* Fixed several reference leaks in less common code paths.
503
* Fixed segfault when a large object is closed and its connection no
504
more available.
505
* Added missing icon to ZPsycopgDA package, not available in Zope
506
2.12.9 (ticket #30). Bug report and patch by Pumukel.
507
* Fixed conversion of negative infinity (ticket #40). Bug report and
508
patch by Marti Raudsepp.
509
510
-------------------------------------------------------------------
511
Tue Dec 27 15:01:00 UTC 2010 - elchevive@opensuse.org
512
513
- Update to version 2.3.2
514
515
-------------------------------------------------------------------
516
Wed Oct 27 02:43:22 UTC 2010 - termim@gmail.com
517
518
- Update to 2.2.2:
519
Bux fixes:
520
* the call to logging.basicConfig() in pool.py has been dropped:
521
it was messing with some projects using logging (and a library
522
should not initialize the logging system anyway.)
523
* psycopg now correctly handles time zones with seconds in the
524
UTC offset. The old register_tstz_w_secs() function is deprecated
525
and will raise a warning if called.
526
* Exceptions raised by the column iterator are propagated.
527
* Exceptions raised by executemany() interators are propagated.
528
529
-------------------------------------------------------------------
530
Tue Aug 25 13:14:38 UTC 2009 - jnelson-suse@jamponi.net
531
- Add --optimize=2 to build .pyo files, correct License and Url
532
533
-------------------------------------------------------------------
534
Tue Aug 18 13:14:38 UTC 2009 - jfunk@funktronics.ca
535
536
- Update to 2.0.12:
537
* psycopg/lobject_int.c: fixed problem with writing large data using
538
lo_write: apparently the large objects code does not like non-blocking
539
connections.
540
* setup.py: fixed version detection for PostgreSQL rc, as
541
suggested by Sok Ann Yap.
542
* ZPsycopgDA/db.py: applied serialization error retry from Brian
543
Sutherland.
544
* Implemented connection.reset() method to reset the connection to
545
well-know default parameters. This is much faster than closing and
546
reopening the connection. (Suggested by a bug report by Glenn
547
Maynard.)
548
* psycopg/cursor_type.c: unified size macro definitions in COPY TO
549
and COPY FROM operations: now the buffer for column names is 8192
550
bytes that should be enough even for very large tables.
551
* Applied patch from Robert Munro to fix version check
552
in ZPsycopgDA.
553
- Release 2.0.11:
554
* lib/extras.py: fixed crash in fetchone() when prefetching using
555
a RealDictCursor.
556
* psycopg/cursor_ext.c: now raise correct exception when fetching
557
using a custom row factory results in an error.
558
* lib/extras.py: applied DictRow "diet" patch from Marko Kreen.
559
* setup.py: applied patch from Elvis Pranskevichus to make
560
PostgreSQL version detection more robust.
561
562
-------------------------------------------------------------------
563
Mon Apr 27 17:23:57 CEST 2009 - lars@linux-schulserver.de
564
565
- update to 2.0.10
566
567
-------------------------------------------------------------------
568
Thu Nov 20 16:27:27 AST 2008 - jfunk@funktronics.ca
569
570
- Update to 2.0.8
571
572
-------------------------------------------------------------------
573
Wed Nov 5 11:57:40 CET 2008 - poeml@suse.de
574
575
- use --record-rpm as setup option, not --record. The latter didn't
576
pick up all files on Factory.
577
578
-------------------------------------------------------------------
579
Wed Jun 13 07:56:02 UTC 2007 - judas_iscariote@shorewall.net
580
581
- Update to version 2.0.6 see http://initd.org/pub/software/psycopg/ChangeLog
582
for details.
583
584
-------------------------------------------------------------------
585
Wed Oct 19 00:00:00 UTC 2005 - jfunk@funktronics.ca
586
587
- Initial release
588
589