Re: date formatting and tab-complete patch - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: date formatting and tab-complete patch
Date
Msg-id 200203070510.g275AjF05086@candle.pha.pa.us
Whole thread Raw
In response to Re: date formatting and tab-complete patch  (Karel Zak <zakkr@zf.jcu.cz>)
Responses Re: date formatting and tab-complete patch  (Manuel Sugawara <masm@fciencias.unam.mx>)
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: Point in time recovery: recreating relation files
Next
From: Tatsuo Ishii
Date:
Subject: Re: Point in time recovery: recreating relation files