initdb ignores invalid locale names

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема initdb ignores invalid locale names
Дата
Msg-id 200609222015.33793.peter_e@gmx.net
обсуждение исходный текст
Ответы Re: initdb ignores invalid locale names  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: initdb ignores invalid locale names  ("Greg Sabino Mullane" <greg@turnstep.com>)
Список pgsql-hackers
When initdb is given an invalid (possibly mistyped) locale name, it just 
prints a warning and proceeds with the default locale from the 
environment.  Someone already wondered about this before:
   /* should we exit here? */   if (!ret)       fprintf(stderr, _("%s: invalid locale name \"%s\"\n"), progname,
      locale);
 
   return ret;

I obviously think we should.  Why shouldn't we?

-- 
Peter Eisentraut
http://developer.postgresql.org/~petere/


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Release Notes: Major Changes in 8.2
Следующее
От: AgentM
Дата:
Сообщение: Re: advisory locks and permissions