Accommodate different service names for postgresql