Thread: pgsql: Improve error reporting for problems in text search configuration
pgsql: Improve error reporting for problems in text search configuration
From
tgl@postgresql.org (Tom Lane)
Date:
Log Message: ----------- Improve error reporting for problems in text search configuration files by installing an error context subroutine that will provide the file name and line number for all errors detected while reading a config file. Some of the reader routines were already doing that in an ad-hoc way for errors detected directly in the reader, but it didn't help for problems detected in subroutines, such as encoding violations. Back-patch to 8.3 because 8.3 is where people will be trying to debug configuration files. Tags: ---- REL8_3_STABLE Modified Files: -------------- pgsql/contrib/dict_xsyn: dict_xsyn.c (r1.4 -> r1.4.2.1) (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/contrib/dict_xsyn/dict_xsyn.c?r1=1.4&r2=1.4.2.1) pgsql/src/backend/tsearch: dict_synonym.c (r1.7 -> r1.7.2.1) (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/tsearch/dict_synonym.c?r1=1.7&r2=1.7.2.1) dict_thesaurus.c (r1.11 -> r1.11.2.1) (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/tsearch/dict_thesaurus.c?r1=1.11&r2=1.11.2.1) spell.c (r1.11 -> r1.11.2.1) (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/tsearch/spell.c?r1=1.11&r2=1.11.2.1) ts_locale.c (r1.7 -> r1.7.2.1) (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/tsearch/ts_locale.c?r1=1.7&r2=1.7.2.1) ts_utils.c (r1.9 -> r1.9.2.1) (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/tsearch/ts_utils.c?r1=1.9&r2=1.9.2.1) pgsql/src/include/tsearch: ts_locale.h (r1.5 -> r1.5.2.1) (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/include/tsearch/ts_locale.h?r1=1.5&r2=1.5.2.1)