Re: and it's not a bunny rabbit, either

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: and it's not a bunny rabbit, either
Дата
Msg-id AANLkTimUZ_9aU3=TG_KO5yEesrmL0ec-wZm4eO2WWxeH@mail.gmail.com
обсуждение исходный текст
Ответ на Re: and it's not a bunny rabbit, either  (Itagaki Takahiro <itagaki.takahiro@gmail.com>)
Ответы Re: and it's not a bunny rabbit, either  (Christophe Pettus <xof@thebuild.com>)
Re: and it's not a bunny rabbit, either  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Sun, Dec 26, 2010 at 10:44 PM, Itagaki Takahiro
<itagaki.takahiro@gmail.com> wrote:
> On Mon, Dec 27, 2010 at 12:13, Robert Haas <robertmhaas@gmail.com> wrote:
>> Could we get away with something as simple as "requested operation is
>> not supported for <plural-form-of-object-type>"?
>
> +1. If so, will we have a function to get object names something like
> GetPluralFormOfObjectType(Relation rel or char relkind) => char *  ?

In the interest of keeping things simple for translators, I was
thinking we'd just write out a string for each object type:

"requested operation is not supported for tables"
"requested operation is not supported for views"
"requested operation is not supported for indexes"

or if we go with the some-assembly required version, perhaps:

"tables do not support %s"
"views do not support %s"
"indexes do not support %s"

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


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

Предыдущее
От: Itagaki Takahiro
Дата:
Сообщение: Re: and it's not a bunny rabbit, either
Следующее
От: Christophe Pettus
Дата:
Сообщение: Re: and it's not a bunny rabbit, either