Wrapper to use for psycopg2 during production deployments.