pgsql: Allow empty replacement strings in contrib/unaccent.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Allow empty replacement strings in contrib/unaccent.
Date: 2014-07-01 00:51:53
Message-ID: E1X1mIb-0002YW-9r@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Allow empty replacement strings in contrib/unaccent.

This is useful in languages where diacritic signs are represented as
separate characters; it's also one step towards letting unaccent be used
for arbitrary substring substitutions.

In passing, improve the user documentation for unaccent, which was sadly
vague about some important details.

Mohammad Alhashash, reviewed by Abhijit Menon-Sen

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/97c40ce61465582b96944e41ed6ec06c2016b95c

Modified Files
--------------
contrib/unaccent/unaccent.c | 29 +++++++++++++++++++++++------
doc/src/sgml/unaccent.sgml | 36 +++++++++++++++++++++++++++++++-----
2 files changed, 54 insertions(+), 11 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2014-07-01 01:46:33 pgsql: Allow multi-character source strings in contrib/unaccent.
Previous Message Bruce Momjian 2014-06-30 23:57:51 pgsql: pg_upgrade: update C comments about pg_dumpall