postgresql is an optional dependency