From: | Robert Haas <robertmhaas(at)gmail(dot)com> |
---|---|
To: | Itagaki Takahiro <itagaki(dot)takahiro(at)gmail(dot)com> |
Cc: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: and it's not a bunny rabbit, either |
Date: | 2010-12-27 03:55:44 |
Message-ID: | AANLkTimUZ_9aU3=TG_KO5yEesrmL0ec-wZm4eO2WWxeH@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Sun, Dec 26, 2010 at 10:44 PM, Itagaki Takahiro
<itagaki(dot)takahiro(at)gmail(dot)com> wrote:
> On Mon, Dec 27, 2010 at 12:13, Robert Haas <robertmhaas(at)gmail(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | Christophe Pettus | 2010-12-27 04:09:41 | Re: and it's not a bunny rabbit, either |
Previous Message | Itagaki Takahiro | 2010-12-27 03:44:40 | Re: and it's not a bunny rabbit, either |