Postgres Connection String Python Functions Interview