diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2006-01-01 19:53:48 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2006-01-01 19:53:48 +0000 |
commit | 7833a8870c354a2f4b7844361d442d3d96bec8d1 (patch) | |
tree | 1a80fb6c44c656bafc1c8e2ad4caecd1a3719300 /src/backend/access/transam/xlog.c | |
parent | 49d3d5dc170974eb731ea522dd0284a4f2b7b1c0 (diff) |
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/access/transam/xlog.c')
0 files changed, 0 insertions, 0 deletions