Further tightening of the array literal parser. Prevent junk
authorJoe Conway <mail@joeconway.com>
Sat, 28 Aug 2004 19:31:29 +0000 (19:31 +0000)
committerJoe Conway <mail@joeconway.com>
Sat, 28 Aug 2004 19:31:29 +0000 (19:31 +0000)
commitf900af7961fb7009242dbcaf3b484d4b1ed8752d
tree66d8eaaf132b74598748d49c597a23d2b6116858
parentf444dafab0c449bbb3c79683d4488e1ac4978f71
Further tightening of the array literal parser. Prevent junk
from being accepted after the outer right brace. Per report from
Markus Bertheau.

Also add regression test cases for this change, and for previous
recent array literal parser changes.
src/backend/utils/adt/arrayfuncs.c
src/test/regress/expected/arrays.out
src/test/regress/sql/arrays.sql