added postgres check to dav services