Re: [HACKERS] Unacccented Fractions

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: [HACKERS] Unacccented Fractions
Дата
Msg-id a229da9a-f47b-7953-d61c-0c47bf5ec29b@2ndquadrant.com
обсуждение исходный текст
Ответ на [HACKERS] Unacccented Fractions  ("David E. Wheeler" <david@justatheory.com>)
Список 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 по дате отправления:

Предыдущее
От: Haribabu Kommi
Дата:
Сообщение: Re: [WIP] RE: [HACKERS] DECLARE STATEMENT setting up a connection in ECPG
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: [HACKERS] Speedup twophase transactions