Re: Improving the ngettext() patch

Поиск
Список
Период
Сортировка
От Sergey Burladyan
Тема Re: Improving the ngettext() patch
Дата
Msg-id 877hzsdbp3.fsf@seb.progtech.ru
обсуждение исходный текст
Ответ на Improving the ngettext() patch  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom Lane <tgl@sss.pgh.pa.us> writes:

>         ereport(ERROR,
>                 (errcode(ERRCODE_TOO_MANY_ARGUMENTS),
>                  errmsg(ngettext("functions cannot have more than %d argument",
>                                  "functions cannot have more than %d arguments",
>                                  FUNC_MAX_ARGS),
>                         FUNC_MAX_ARGS)));
> 
> It seems extremely far-fetched that FUNC_MAX_ARGS would ever be small
> enough that it would make any language's special cases kick in.

Russian plural forms for 100, 101, 102 etc. is different, as for 0, 1, 2.

-- 
Sergey Burladyan


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

Предыдущее
От: Tatsuo Ishii
Дата:
Сообщение: Re: 8.4b2 tsearch2 strange error
Следующее
От: Tatsuo Ishii
Дата:
Сообщение: Re: 8.4b2 tsearch2 strange error