Add version-dependent postgresql attributes