Create collation incorrect error code
| От | Magnus Hagander |
|---|---|
| Тема | Create collation incorrect error code |
| Дата | |
| Msg-id | CABUevEwAcRYs-tasSce4UNEX61+a=iVB3wwB44_LOWHsvZPiJg@mail.gmail.com обсуждение исходный текст |
| Ответы |
Re: Create collation incorrect error code
|
| Список | pgsql-hackers |
Strangeness: template1=# create collation "nb_NO.utf8" (locale=nb_NO.utf8); ERROR: could not create locale "nb_no.utf8": Success Clearly it's not successful... On some runs, I get: template1=# create collation "nb_NO.utf8" (locale=nb_NO.utf8); ERROR: could not create locale "nb_no.utf8": No such file or directory DETAIL: The operating system could not find any locale data for the locale name "nb_no.utf8". Which is correct. The first one is clearly wrong. Seems there are some cases where errno isn't set properly? But form what I can tell (http://pubs.opengroup.org/onlinepubs/9699919799/functions/newlocale.html) errno should be set. -- Magnus Hagander Me: http://www.hagander.net/ Work: http://www.redpill-linpro.com/
В списке pgsql-hackers по дате отправления: