pub fn with_postgres<F: FnOnce(PostgresClient) -> T, T>(f: F) -> T