Re: Remove an unnecessary errmsg_plural in dependency.c

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Remove an unnecessary errmsg_plural in dependency.c
Дата
Msg-id 2967219.1648133358@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Remove an unnecessary errmsg_plural in dependency.c  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
Ответы Re: Remove an unnecessary errmsg_plural in dependency.c
Список pgsql-hackers
Alvaro Herrera <alvherre@alvh.no-ip.org> writes:
> $ git grep 'Plural-Forms' src/backend/po/*.po
> ru.po:"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"

Oh, interesting: if I'm reading that right, all three Russian
forms are reachable, even with the knowledge that n > 1.
(But isn't the last "&& n" test redundant?)

            regards, tom lane



В списке pgsql-hackers по дате отправления: