Re: LC_MESSAGES and BSD/OS

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: LC_MESSAGES and BSD/OS
Дата
Msg-id 200006281846.OAA23805@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: LC_MESSAGES and BSD/OS  (Giles Lean <giles@nemeton.com.au>)
Ответы Re: LC_MESSAGES and BSD/OS  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
OK, I am willing to make them #ifdef'ed, if someone would explain what
LC_MESSAGES is used for.


> 
> > Locale does not work on BSD/OS because it does not have LC_MESSAGES.  I
> > just got this back from BSDI technical support.  Comments?
> 
> ...
> 
> | LC_MESSAGES is apparently an extension; it's not in the POSIX spec, and it's
> | not in the C spec I have handy.  (Admittedly, that's C99, but I don't think
> | anything like this was removed since C89.)  So, recommend you #ifdef that;
> | 
> |     #ifdef LC_MESSAGES
> |     ...[interact with LC_MESSAGES]
> |     #endif
> 
> POSIX and ANSI C have the following categories:
> 
> LC_ALL
> LC_COLLATE
> LC_CTYPE
> LC_MONETARY
> LC_NUMERIC
> LC_TIME
> 
> "Implementation defined additional categories" are allowed, and it
> looks like many (most?) implementations use LC_MESSAGES, but they
> don't have to, I guess.
> 
> Regards,
> 
> Giles
> 


--  Bruce Momjian                        |  http://www.op.net/~candle pgman@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


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

Предыдущее
От: Giles Lean
Дата:
Сообщение: Re: LC_MESSAGES and BSD/OS
Следующее
От: "Stephan Szabo"
Дата:
Сообщение: Re: AW: Proposal: More flexible backup/restore via pg_dump