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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Issue a WARNING about invalid rule file format in contrib/unacce
Date: 2014-07-01 02:03:46
Message-ID: E1X1nQA-0003gn-SR@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2014-07-01 14:38:06 pgsql: Avoid copying index tuples when building an index.
Previous Message Tom Lane 2014-07-01 01:46:33 pgsql: Allow multi-character source strings in contrib/unaccent.