fix a bug of extended postgres collector