A PostgreSQL database adapter for Python

Edit Package python-psycopg2

psycopg is a PostgreSQL database adapter for the Python programming language. This is version 2, a complete rewrite of the original code to provide new-style classes for connection and cursor objects and other sweet candies. Like the original, psycopg 2 was written with the aim of being very small and fast, and stable as a rock.

psycopg is different from the other database adapter because it was designed for heavily multi-threaded applications that create and destroy lots of cursors and make a conspicuous number of concurrent INSERTs or UPDATEs. psycopg 2 also provide full asycronous operations for the really brave programmer.

Refresh
Refresh
Source Files
Filename Size Changed
psycopg2-2.6.2.tar.gz 0000376348 368 KB
python-psycopg2.changes 0000017486 17.1 KB
python-psycopg2.spec 0000003212 3.14 KB
Latest Revision
Dirk Mueller's avatar Dirk Mueller (dirkmueller) committed (revision 2)
- update to 2.6.2:
  * Fixed inconsistent state in externally closed connections (tickets #263, #311, #443).
  * Report the server response status on errors (such as ticket #281).
  * Raise NotSupportedError on unhandled server response status (ticket #352).
  * Allow overriding string adapter encoding with no connection (ticket #331).
  * The wait_select callback allows interrupting a long-running query in an interactive shell using Ctrl-C (ticket #333).
  * Fixed PersistentConnectionPool on Python 3 (ticket #348).
  * Fixed segfault on repr() of an uninitialized connection (ticket #361).
  * Allow adapting bytes using QuotedString on Python 3 (ticket #365).
  * Added support for setuptools/wheel (ticket #370).
  * Fix build on Windows with Python 3.5, VS 2015 (ticket #380).
  * Fixed errorcodes.lookup initialization thread-safety (ticket #382).
  * Fixed read() exception propagation in copy_from (ticket #412).
  * Fixed possible NULL TZ decref (ticket #424).
  * errorcodes map updated to PostgreSQL 9.5.
  * Lists consisting of only None are escaped correctly (ticket #285).
  * Fixed deadlock in multithread programs using OpenSSL (ticket #290).
  * Correctly unlock the connection after error in flush (ticket #294).
  * Fixed MinTimeLoggingCursor.callproc() (ticket #309).
  * Added support for MSVC 2015 compiler (ticket #350).
Comments 0
openSUSE Build Service is sponsored by