Psycopg 2.7 released

Posted by Daniele Varrazzo on March 1, 2017
Tagged as news, release

Finally here! Thank you very much for waiting so long: we have finally released Psycopg 2.7!

Buzzwords:

  • Faster! Helps generating SQL for repeatedly executed statements and faster Unicode decoding.
  • Safer! Helps generating dynamic SQL statements with variable table and field names.
  • Easier! Use the binary package to avoid the need of C compiler, pg_config, libpq required on the clients.
  • Replication! Support for PostgreSQL physical and logical replication.
  • Plays-better-with-pgbouncer-at-transaction-pooling-level! This.

You can download as usual from the canonical urls:

Or just use pip:

pip install psycopg2

What's new in psycopg 2.7

New features:

Bug fixes:

Other changes:

  • Dropped support for Python 2.5 and 3.1.
  • Dropped support for client library older than PostgreSQL 9.1 (but older server versions are still supported).
  • isolation_level doesn't read from the database but will return ISOLATION_LEVEL_DEFAULT if no value was set on the connection.
  • Empty arrays no more converted into lists if they don't have a type attached (ticket #506)

No comment posted yet.

Feel free to add a new comment. You can use reST syntax.