pgsql: Issue a WARNING about invalid rule file format in contrib/unacce

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Issue a WARNING about invalid rule file format in contrib/unacce
Дата
Msg-id E1X1nQA-0003gn-SR@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Issue a WARNING about invalid rule file format in contrib/unaccent.

We were already issuing a WARNING, albeit only elog not ereport, for
duplicate source strings; so warning rather than just being stoically
silent seems like the best thing to do here.  Arguably both of these
complaints should be upgraded to ERRORs, but that might be more
behavioral change than people want.

Note: the faulty line is already printed via an errcontext hook,
so there's no need for more information than these messages provide.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/03a25cec8de3737924c9dd33bb868d4bc7a33ad5

Modified Files
--------------
contrib/unaccent/unaccent.c |   10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Allow multi-character source strings in contrib/unaccent.
Следующее
От: Robert Haas
Дата:
Сообщение: pgsql: Avoid copying index tuples when building an index.