Postgresql Plpgsql Loop Through Array Powershell Script Parameters