Re: Improving the ngettext() patch

From: Sergey Burladyan <eshkinkot(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: Improving the ngettext() patch
Date: 2009-06-04 01:34:00
Message-ID: 877hzsdbp3.fsf@seb.progtech.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tatsuo Ishii 2009-06-04 02:45:57 Re: 8.4b2 tsearch2 strange error
Previous Message Tatsuo Ishii 2009-06-04 01:27:20 Re: 8.4b2 tsearch2 strange error