Postgresql Plpgsql Loop Through Array Powershell Delete