#162 better postgress support