Re: [HACKERS] Unacccented Fractions - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: [HACKERS] Unacccented Fractions
Date
Msg-id a229da9a-f47b-7953-d61c-0c47bf5ec29b@2ndquadrant.com
Whole thread Raw
In response to [HACKERS] Unacccented Fractions  ("David E. Wheeler" <david@justatheory.com>)
List pgsql-hackers
On 3/13/17 23:01, David E. Wheeler wrote:
> I noticed that unaccent.rules has spaces in front of the unaccented representation of fraction glyphs:

> This makes sense to me, as I’d like “1¼”, for example to become “1 1/4”. However, that’s not what seems to happen:

These leading spaces come all the way from the input files that are used
to produce the unaccent rules, where they are presumably put for exactly
the reason you point out.  However, the unaccent lexer is not prepared
for that.  It just looks for any amount of whitespace separating the two
data columns.  So that might have to be fixed.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



pgsql-hackers by date:

Previous
From: Haribabu Kommi
Date:
Subject: Re: [WIP] RE: [HACKERS] DECLARE STATEMENT setting up a connection in ECPG
Next
From: Michael Paquier
Date:
Subject: Re: [HACKERS] Speedup twophase transactions