Postgresql Plpgsql Loop Through Array Python Tutorial For Data