fix pg warnings on geometric types