NMS-5879 postgresql dependency needs reordering