]> granicus.if.org Git - postgresql/commit
Disallow SETOF in the input of parseTypeString(). Formerly it was
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 15 Dec 2004 20:15:17 +0000 (20:15 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 15 Dec 2004 20:15:17 +0000 (20:15 +0000)
commit84dbd5a8f60cdb27270ffc1f105cf1b1bb3c1ddc
tree1a34f98cff9458f20ffead2053ae96f9447992b2
parentc3d6c7d8f98c3ed73fd6c50c9c6e958a8c450c90
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 ...
src/backend/parser/parse_type.c