diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2011-11-07 11:48:53 -0500 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2011-11-07 11:49:06 -0500 |
commit | 27864da6b1cf9fb3f29dc5abe1eba333cbc4ba77 (patch) | |
tree | ff9d0dcfa8b80340d5444b8f2ebb54acd8d97dfe /src/backend/executor/execMain.c | |
parent | 8bfc2b5a8018d155a6843660c7975bb45ac49d70 (diff) | |
download | postgresql-27864da6b1cf9fb3f29dc5abe1eba333cbc4ba77.tar.gz postgresql-27864da6b1cf9fb3f29dc5abe1eba333cbc4ba77.zip |
Fix assorted bugs in contrib/unaccent's configuration file parsing.
Make it use t_isspace() to identify whitespace, rather than relying on
sscanf which is known to get it wrong on some platform/locale combinations.
Get rid of fixed-size buffers. Make it actually continue to parse the file
after ignoring a line with untranslatable characters, as was obviously
intended.
The first of these issues is per gripe from J Smith, though not exactly
either of his proposed patches.
Diffstat (limited to 'src/backend/executor/execMain.c')
0 files changed, 0 insertions, 0 deletions