Skip site navigation (1) Skip section navigation (2)

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

From: tgl(at)svr1(dot)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Disallow SETOF in the input of parseTypeString().
Date: 2004-12-15 20:15:25
Message-ID: 20041215201525.A6D6E3B4DD1@svr1.postgresql.org (view raw or flat)
Thread:
Lists: 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

Next:From: Tom LaneDate: 2004-12-15 21:13:35
Subject: pgsql: Fix another place broken by new List implementation :-(.
Previous:From: Tom LaneDate: 2004-12-15 19:16:56
Subject: pgsql: Calculation of keys_are_unique flag was wrong for cases involving

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group