fix postgres installation