| От | Tom Lane |
|---|---|
| Тема | Re: File not found error on creating collation |
| Дата | |
| Msg-id | 9833.1316537131@sss.pgh.pa.us обсуждение |
| Ответ на | Re: File not found error on creating collation (Tom Lane <tgl@sss.pgh.pa.us>) |
| Ответы |
Re: File not found error on creating collation
|
| Список | pgsql-hackers |
Thom Brown <thom@linux.com> writes:
> [ unhelpful reporting of ENOENT from newlocale() ]
BTW, on examining the code I note that we're doing something else that
promotes the confusion of "bad locale name" with "bad file name": we're
using errcode_for_file_access() to select the SQLSTATE. If we don't
believe that ENOENT should be taken at face value then this is pointless
(none of the other spec-defined error codes for newlocale() are
particularly sensible as file access errors). I propose just reporting
ERRCODE_INVALID_PARAMETER_VALUE instead.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера