updated to psycopg2 2.5.2