]> granicus.if.org Git - postgresql/commit
Try to make array_in's behavior a tad less bizarre. Leading whitespace
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 16 Mar 2002 22:47:13 +0000 (22:47 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 16 Mar 2002 22:47:13 +0000 (22:47 +0000)
commit0f2fbbbac167818496ab59fdc11b9660cff2e747
treee1d0fab9c7766e9dd6b4cde10de7f2b702c238d9
parent134fe5ec61cb280459a4782b6d465e115c5ac5a8
Try to make array_in's behavior a tad less bizarre.  Leading whitespace
before a data item is now always skipped, rather than only sometimes.
Backslashes not within double-quoted text are treated reasonably, as
are multiple sequences of quoted text in a single data item.  But it
still seems rather prone to misbehavior if the input is not completely
syntactically correct --- in particular, garbage following a right brace
will be ignored.
src/backend/utils/adt/arrayfuncs.c