pgsql: Disallow SETOF in the input of parseTypeString(). - Mailing list pgsql-committers

From tgl@svr1.postgresql.org (Tom Lane)
Subject pgsql: Disallow SETOF in the input of parseTypeString().
Date
Msg-id 20041215201525.A6D6E3B4DD1@svr1.postgresql.org
Whole thread Raw
List pgsql-committers
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)

pgsql-committers by date:

Previous
From: tgl@svr1.postgresql.org (Tom Lane)
Date:
Subject: pgsql: Calculation of keys_are_unique flag was wrong for cases involving
Next
From: tgl@svr1.postgresql.org (Tom Lane)
Date:
Subject: pgsql: Fix another place broken by new List implementation :-(.