Updated postgres version attributes to support future major versions, and general associated cleanup.