I've experienced the same issue with one of our recently upgraded systems.
The fix I applied was to apt-get remove python-psycopg2 and compile psycopg2-2.0.6b2.tar.gz from the upstream site.
It appears this patch:
http://initd.org/tracker/psycopg/attachment/ticket/167/psycho2-64bit.patch
is the most important one (Bug 167 at psycopg's site).
Cheers.
I've experienced the same issue with one of our recently upgraded systems.
The fix I applied was to apt-get remove python-psycopg2 and compile psycopg2- 2.0.6b2. tar.gz from the upstream site.
It appears this patch:
http:// initd.org/ tracker/ psycopg/ attachment/ ticket/ 167/psycho2- 64bit.patch
is the most important one (Bug 167 at psycopg's site).
Cheers.