Re: Improving the ngettext() patch - Mailing list pgsql-hackers

From Sergey Burladyan
Subject Re: Improving the ngettext() patch
Date
Msg-id 877hzsdbp3.fsf@seb.progtech.ru
Whole thread Raw
In response to Improving the ngettext() patch  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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 by date:

Previous
From: Tatsuo Ishii
Date:
Subject: Re: 8.4b2 tsearch2 strange error
Next
From: Tatsuo Ishii
Date:
Subject: Re: 8.4b2 tsearch2 strange error