Fix postgres dependency