pgsql: Issue a WARNING about invalid rule file format in contrib/unacce - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Issue a WARNING about invalid rule file format in contrib/unacce
Date
Msg-id E1X1nQA-0003gn-SR@gemulon.postgresql.org
Whole thread Raw
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Allow multi-character source strings in contrib/unaccent.
Next
From: Robert Haas
Date:
Subject: pgsql: Avoid copying index tuples when building an index.