Question regarding TODO item:Allow to_date() and to_timestamp() accept localized month names - Mailing list pgsql-hackers

From Gevik Babakhani
Subject Question regarding TODO item:Allow to_date() and to_timestamp() accept localized month names
Date
Msg-id 000601c87341$24f4ca70$0a01a8c0@gevmus
Whole thread Raw
List pgsql-hackers
I have started to develop this item. I would like to see whether I am on the
right track.

1. For this item we need an array of localized month/day names. I was
thinking of (re)initializing the array item using palloc, repalloc pfree
etc.. when SET LC_MESSAGES is called. Would this be correct?

2. In order to "know" when to return the localized values a DCH_S_TM (=0x10,
suffix "TM") is provided at dch_date. This is where I want to check the
localized array created above.

Any thoughts?

Regards,
Gevik.



pgsql-hackers by date:

Previous
From: "Joshua D. Drake"
Date:
Subject: Re: 8.3 / 8.2.6 restore comparison
Next
From: Josh Berkus
Date:
Subject: Re: Permanent settings