Re: and it's not a bunny rabbit, either - Mailing list pgsql-hackers

From Robert Haas
Subject Re: and it's not a bunny rabbit, either
Date
Msg-id AANLkTimv9-6ebLQmo=p47nbjVxdL_S4vhnD-h-3pwZ84@mail.gmail.com
Whole thread Raw
In response to Re: and it's not a bunny rabbit, either  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
Responses Re: and it's not a bunny rabbit, either  (David Fetter <david@fetter.org>)
List pgsql-hackers
On Wed, Dec 29, 2010 at 4:09 AM, Heikki Linnakangas
<heikki.linnakangas@enterprisedb.com> wrote:
> On 29.12.2010 06:54, Robert Haas wrote:
>>
>>  With the patch:
>>
>> rhaas=# cluster v;
>> ERROR:  views do not support CLUSTER
>
> "do not support" sounds like a missing feature, rather than a nonsensical
> command. How about something like "CLUSTER cannot be used on views"

In the latest version of this patch, I created four translatable
strings per object type:

<blats> do not support %s (where %s is an SQL command)
<blats> do not support constraints
<blats> do not support rules
<blats> do not support triggers

It's reasonable enough to write "CLUSTER cannot be used on views", but
does "constraints cannot be used on views" seems more awkward to me.
Or do we think that's OK?

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


pgsql-hackers by date:

Previous
From: "David E. Wheeler"
Date:
Subject: Re: Extensions, patch v16
Next
From: Dimitri Fontaine
Date:
Subject: Upgrading Extension, version numbers (was: Extensions, patch v16)