Stupid postgres incompatibility