Re: proposal: function parse_ident

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: proposal: function parse_ident
Дата
Msg-id 15622.1453563375@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: proposal: function parse_ident  (Michael Paquier <michael.paquier@gmail.com>)
Ответы Re: proposal: function parse_ident  (Pavel Stehule <pavel.stehule@gmail.com>)
Список pgsql-hackers
Michael Paquier <michael.paquier@gmail.com> writes:
> On Sat, Jan 23, 2016 at 1:25 AM, Marko Tiikkaja <marko@joh.to> wrote:
> +                      errmsg("identifier contains disallowed chars"),
> +                      errdetail("string \"%s\" is not valid identifier",
> +                                     text_to_cstring(qualname))));
> Perhaps, "identifier contains not allowed character" is better?

"disallowed" reads better to me.  I agree with expanding "chars" to
"characters" though.  Also, the errdetail is conveying no actual extra
detail AFAICS.  I'd go with something like
errmsg("identifier contains disallowed characters: \"%s\"",              text_to_cstring(qualname)));
        regards, tom lane








The errdeta
        regards, tom lane




> -- 
> Michael


> -- 
> Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-hackers



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

Предыдущее
От: Julien Rouhaud
Дата:
Сообщение: Re: Removing Functionally Dependent GROUP BY Columns
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Removing Functionally Dependent GROUP BY Columns