Upgrade to the latest version of psycopg2