Re: date formatting and tab-complete patch
От | Bruce Momjian |
---|---|
Тема | Re: date formatting and tab-complete patch |
Дата | |
Msg-id | 200203070510.g275AjF05086@candle.pha.pa.us обсуждение исходный текст |
Ответ на | Re: date formatting and tab-complete patch (Karel Zak <zakkr@zf.jcu.cz>) |
Ответы |
Re: date formatting and tab-complete patch
|
Список | pgsql-hackers |
Karel Zak wrote: > On Wed, Dec 05, 2001 at 10:15:37AM -0600, Manuel Sugawara wrote: > > Karel Zak <zakkr@zf.jcu.cz> writes: > > > > > We don't directly call locale stuff in PostgreSQL code. It's > > > encapsulated in PGLC_ (pg_locale.c) API and all is cached, for > > > this we use localeconv(3) that returns all in one struct. > > > > > > (What portability of nl_langinfo()? The localeconv() is ANSI C and > > > POSIX functions.) > > > > localenconv is posix and ANSI C but it doesn't provide such > > functionality (localized month and day names). nl_langinfo conforms to > > "The Single UNIX? Specification, Version 2", according to it's manual > > page. The portability isn't an issue as long as you provide means to > > test and avoid it's use in systems that doesn't provide it. I know > > that, at least, Linux and Solaris does, but FreeBSD does not. > > But we want FreeBSD and others systems too.... Yes, this was one of the issues. Can we support both localization libraries? -- Bruce Momjian | http://candle.pha.pa.us 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 по дате отправления: