Re: date formatting and tab-complete patch

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Karel Zak <zakkr(at)zf(dot)jcu(dot)cz>
Cc: Manuel Sugawara <masm(at)fciencias(dot)unam(dot)mx>, Peter Eisentraut <peter_e(at)gmx(dot)net>, PostgreSQL Hackers Mailing List <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: date formatting and tab-complete patch
Date: 2002-03-07 05:10:45
Message-ID: 200203070510.g275AjF05086@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Karel Zak wrote:
> On Wed, Dec 05, 2001 at 10:15:37AM -0600, Manuel Sugawara wrote:
> > Karel Zak <zakkr(at)zf(dot)jcu(dot)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(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tatsuo Ishii 2002-03-07 05:11:10 Re: Point in time recovery: recreating relation files
Previous Message Tom Lane 2002-03-07 05:00:07 Re: Point in time recovery: recreating relation files

Browse pgsql-patches by date

  From Date Subject
Next Message Karel Zak 2002-03-07 08:22:26 Re: date formatting and tab-complete patch
Previous Message Bruce Momjian 2002-03-07 04:44:48 Re: date formatting and tab-complete patch