PostgreSQL - PL/pgSQL Fundamentals
Identify the error in this PL/pgSQL snippet:
DECLARE
arr text[] := ARRAY['a', 'b', 'c'];
ch text;
BEGIN
FOREACH ch IN arr LOOP
RAISE NOTICE '%', ch;
END LOOP;
END;