aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/arrayfuncs.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2006-01-01 19:52:40 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2006-01-01 19:52:40 +0000
commitfc6da31ae1f0a3f5e420eac398a4c076965c3ab6 (patch)
treefe714b159e8f87da058d135748daaf104d123fbb /src/backend/utils/adt/arrayfuncs.c
parent0898033b1e36b3341f27c3c0c8dc53b9859c30ca (diff)
downloadpostgresql-fc6da31ae1f0a3f5e420eac398a4c076965c3ab6.tar.gz
postgresql-fc6da31ae1f0a3f5e420eac398a4c076965c3ab6.zip
Rewrite ProcessConfigFile() to avoid misbehavior at EOF, as per report
from Andrus Moor. The former state-machine-style coding wasn't actually doing much except obscuring the control flow, and it didn't extend readily to fix this case, so I just took it out. Also, add a YY_FLUSH_BUFFER call to ensure the lexer is reset correctly if the previous scan failed partway through the file.
Diffstat (limited to 'src/backend/utils/adt/arrayfuncs.c')
0 files changed, 0 insertions, 0 deletions