Fixed 3.2 + postgres bug