pgsql: Normalize whitespace in the arguments of <indexterm>

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Normalize whitespace in the arguments of <indexterm>
Date: 2011-04-24 22:26:34
Message-ID: E1QE7lC-0001Zx-Uh@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Normalize whitespace in the arguments of <indexterm>

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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message User Fxjr 2011-04-25 02:29:44 npgsql - Npgsql2: [ npgsql-Bugs-1011018 ] Invalid Cast with DbType.Time
Previous Message Tom Lane 2011-04-24 20:55:42 pgsql: Improve cost estimation for aggregates and window functions.