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

Itagaki Takahiro <itagaki.takahiro@gmail.com>

From: Itagaki Takahiro <itagaki.takahiro@gmail.com>
To: Robert Haas <robertmhaas@gmail.com>
Cc: pgsql-hackers@postgresql.org
Date: 2010-12-27T03:44:40Z
Lists: pgsql-hackers
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 *  ?

> But that breaks our guideline about assembling
> translatable strings from small pieces.  Maybe it'd be OK if the piece
> is just a fragment of SQL syntax, though - not sure.

Agreed. <requested-operation> should be a SQL syntax,
so we won't have to translate the part.

-- 
Itagaki Takahiro