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