Thread: pgsql: Disallow SETOF in the input of parseTypeString().

pgsql: Disallow SETOF in the input of parseTypeString().

From
tgl@svr1.postgresql.org (Tom Lane)
Date:
Log Message:
-----------
Disallow SETOF in the input of parseTypeString().  Formerly it was
silently ignored, allowing one to write bizarre things like
    DECLARE x setof int;
in plpgsql.  This has misled at least one novice into thinking that
plpgsql variables could be sets ...

Modified Files:
--------------
    pgsql/src/backend/parser:
        parse_type.c (r1.71 -> r1.72)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/parser/parse_type.c.diff?r1=1.71&r2=1.72)