Adding column attribute checking for PG.