pgsql: Normalize whitespace in the arguments of <indexterm>

Поиск
Список
Период
Сортировка
Искать

pgsql: Normalize whitespace in the arguments of <indexterm>

От:
Peter Eisentraut <peter_e@gmx.net>
Дата:
Normalize whitespace in the arguments of 

Strip leading and trailing whitespace and replace interior whitespace
by a single space.  This avoids problems with the index generator
producing duplicate index entries for terms that differ only in
whitespace.

Commit dca30da3433c40b5f92f1704c496cda052decef9 actually fixed all the
indexterm elements that would cause this problem at the moment, but in
case it sneaks in again, we're set.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/9412606265c2774712e3f805798896734b32c7fd

Modified Files
--------------
doc/src/sgml/stylesheet.dsl |   36 ++++++++++++++++++++++++++++++++++++
1 files changed, 36 insertions(+), 0 deletions(-)

FAQ