Articles from Daniele Varrazzo

Psycopg 2.5 released

Posted by Daniele Varrazzo on April 7, 2013
Tagged as news, release

We are happy to introduce the release 2.5 of Psycopg, packed with several juicy new features!

Here are a few highlights of the release:

Read more...

Psycopg 2.4.6 released

Posted by Daniele Varrazzo on December 12, 2012
Tagged as news, release

I'm happy to announce the release of Psycopg 2.4.6: a huge thank you to the many contributors.

This is a bugfix release, introducing no new feature. There are several small corrections in different areas (copy, adaptation, use of extra cursors, stability). The biggest improvements are with the Zope adapter: Zope users using previous 2.4.x versions are encouraged to update to version 2.4.6 soon.

Read more...

Prepared statements in Psycopg

Posted by Daniele Varrazzo on October 1, 2012

Although the libpq library supports prepared statements, psycopg2 doesn't offer yet a direct way to access the relevant functions. This will probably change in the future, but in the meantime it is possible to use prepared statements in PostgreSQL using the PREPARE SQL command.

Read more...

Psycopg 2.4.5 released

Posted by Daniele Varrazzo on March 29, 2012
Tagged as news, release

Many thanks to everybody that contributed with bug reports and comments to this release!

Read more...

Psycopg 2.4.4 released

Posted by Daniele Varrazzo on December 19, 2011
Tagged as news, release

After a short discussion on this list we decided to change the definitions of isolation levels to make sure old code using numeric constants (both psycopg1 and psycopg2) continue to works. Other small fixes are included in the release: see below for details.

Read more...

Psycopg 2.4.3 released

Posted by Daniele Varrazzo on December 12, 2011
Tagged as news, release

Mostly a bugfix release, with as usual a couple of small feature added:

Read more...

Psycopg 2.4.2 released

Posted by Daniele Varrazzo on June 12, 2011
Tagged as news, release

Psycopg 2.4.2 has been released: it brings a few small but interesting new features, and a lot of bug fixes.

Read more...

Building Psycopg on Windows using MinGW

Posted by Daniele Varrazzo on June 5, 2011
Tagged as build, windows

My goal was to install Psycopg on Windows using MinGW and the PostgreSQL binary package.

I have used the MinGW GCC binaries packaged by Giovanni Bajo. The package takes care of a lot of details, for instance registering MinGW as default compiler for Python, plus some magic I don't even want to know, and makes the entire process simple enough.

Read more...

psycopg2 porting to Python 3: a report

Posted by Daniele Varrazzo on January 24, 2011
Tagged as python3

I've mostly finished the porting of psycopg2 to Python 3. Here is a report of what done and what can be improved.

Read more...

New Psycopg Mailing List Online!

Posted by Daniele Varrazzo on January 8, 2011
Tagged as mailing list, news

After a long while Psycopg has a Mailing List again!

You are welcome to subscribe, either if you are an user dealing with the first stumbling blocks (albeit a look at the documentation or the FAQ wouldn't hurt!) or if you want to contribute to the psycopg2 development, about which there are several upcoming news.

To post, send mail to <psycopg@postgresql.org>. Yes, we are proud to be hosted on the mighty shoulders of the PostgreSQL Infrastructure team. I want to thank them and the PostgreSQL Global Development Group wholeheartedly for making this happen.

See you there!