Re: File not found error on creating collation

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: File not found error on creating collation
Дата
Msg-id 28859.1316492411@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: File not found error on creating collation  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: File not found error on creating collation
Список pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> On Mon, Sep 19, 2011 at 10:04 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> We could possibly add a HINT suggesting that the locale isn't installed,
>> but I don't see that we could offer any useful generic advice about how
>> to install it.  I'm also worried about how to phrase the hint to cover
>> some other obvious possibilities, like "you fat-fingered the locale
>> name".

> Maybe something like this?

> HINT: The operating system was unable to find any locale data for the
> locale name you specified.

Hmm, that's not bad.  We could probably even call it errdetail, since
it's not so much a hint as explaining what the SUS spec states that the
ENOENT error code means here.

In the nitpick department, s/was unable to/could not/ per our usual
message style guidelines.  Otherwise seems good.
        regards, tom lane


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

Предыдущее
От: Pavel Stehule
Дата:
Сообщение: Re: Grouping Sets
Следующее
От: Matthew Wilcox
Дата:
Сообщение: Re: Improve lseek scalability v3