psycopg2 import is not being used