Latest articles
Psycopg 2.3.0 released
Posted by Federico Di Gregorio on 2010-12-01
Tagged as
news,
release
Hi *,
lately my involvement on psycopg has been quite small (work and other projects are taking their toll) but thanks to Daniele (with some help from Jan) here is a new psycopg2 release. The number of changes is big (an excerpt from the NEWS file is at the end, as always) so we decided to bump up the version to 2.3.0 and to test, and test... and test. We tested this new release on Linux and Windows, with Python 2.4, 2.5, 2.6, 2.7 and on PostgreSQL from 7.4 to 9.0.
Psycopg at PGDay Italy 2010
Posted by Daniele Varrazzo on 2010-11-12
Tagged as
news,
pgday
Psycopg will be at PGDay Italy in Rome, on December 10th.
Links about building Psycopg on Mac OS X
Posted by Daniele Varrazzo on 2010-11-11
Tagged as
recipe,
os-x
Looks like building Psycopg on OS X is tricky: the code needs no tweak, but linking against the right library seems problematic.
Psycopg 2.3.0-beta1 released
Posted by Daniele Varrazzo on 2010-11-06
Tagged as
news,
release,
beta
We have just released a new testing package: psycopg 2.3.0-beta1!
New features in the upcoming Psycopg release
Posted by Daniele Varrazzo on 2010-11-02
Tagged as
news,
development
There are several new features being prepared in the upcoming Psycopg version. The documentation refers to it as release 2.2.3 but it may be ultimately released as 2.3. The main target of the release is to expose some of the new features introduced in PostgreSQL 9.0.
Psycopg at PgDay Europe
Posted by Daniele Varrazzo on 2010-10-26
Tagged as
pgday,
news
Hello,
I will be at PgDay Europe 2010 in Stuttgart with a talk about Psycopg: Advanced PostgreSQL Access from Python with Psycopg.
The talk will be about some of the most advanced functionalities and new features available in the latest Psycopg releases: asynchronous communication, notifications, server-side cursors, advanced data mapping between Python and PostgreSQL, the upcoming support for two-phase commit and hstore objects.
If you have any suggestion about what you'd like to be shown in the talk, you may leave a feedback.
See you in Stuttgart!
Passing connections to functions using a decorator
Posted by Daniele Varrazzo on 2010-10-22
Tagged as
recipe
In many script I write, there are functions requiring database operations. Every time I need them, I try to write such code in functions like:
@with_connection def do_some_job(cnn, arg1, arg2=None): cur = cnn.cursor() cur.execute(SQL, (arg1, arg2)) # or something else do_some_job(42, arg2='hi')
Psycopg 2.2.2 released
Posted by Federico Di Gregorio on 2010-07-18
Tagged as
news,
release
Hi *,
summer release! Just bugfixes, this time. Get it from:
Psycopg 2.2.1 released
Posted by Federico Di Gregorio on 2010-05-17
Tagged as
news,
release
Hi *,
repeat with me:
for x in xrange(1000): print "Always check it build on windows!"
but thank to Jason Erickson here is 2.2.1 that DO build on windows. :) No excerpt this time, it's a single liner, but here are the URLs:
- https://pypi.org/packages/source/p/psycopg2/psycopg2-2.2.1.tar.gz
- https://pypi.org/packages/source/p/psycopg2/psycopg2-2.2.1.tar.gz.asc
Psycopg 2.2.0 released
Posted by Federico Di Gregorio on 2010-05-16
Tagged as
news,
release
With many thanks to all the contributors here it is, psycopg 2.2.0:
- https://pypi.org/packages/source/p/psycopg2/psycopg2-2.2.0.tar.gz
- https://pypi.org/packages/source/p/psycopg2/psycopg2-2.2.0.tar.gz.asc
As always, an excerpt from the NEWS file follows.