From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Robert Haas <robertmhaas(at)gmail(dot)com> |
Cc: | Marti Raudsepp <marti(at)juffo(dot)org>, Thom Brown <thom(at)linux(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: File not found error on creating collation |
Date: | 2011-09-20 04:20:11 |
Message-ID: | 28859.1316492411@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Robert Haas <robertmhaas(at)gmail(dot)com> writes:
> On Mon, Sep 19, 2011 at 10:04 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2011-09-20 05:37:29 | Back-branch releases upcoming this week |
Previous Message | Pavel Stehule | 2011-09-20 03:44:55 | Re: Grouping Sets |