| From: | Yonatan Misgan <yonamis(at)dtu(dot)edu(dot)et> |
|---|---|
| To: | Thomas Munro <thomas(dot)munro(at)gmail(dot)com>, Peter Geoghegan <pg(at)bowt(dot)ie> |
| Cc: | "pgsql-hackers(at)lists(dot)postgresql(dot)org" <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
| Subject: | RE: Locale support |
| Date: | 2019-08-09 06:15:51 |
| Message-ID: | f0p6g0qs5b7434hpnlur0x44.1565331318588@email.android.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Can I implement it as a locale support? When the user want to change the lc _time = am_ET(Amharic Ethiopia ) the date and time representation of the database systems be in Ethiopian calendar.
-------- Original message --------
From: Thomas Munro <thomas(dot)munro(at)gmail(dot)com>
Date: 8/9/19 1:17 AM (GMT+03:00)
To: Peter Geoghegan <pg(at)bowt(dot)ie>
Cc: Yonatan Misgan <yonamis(at)dtu(dot)edu(dot)et>, pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: Locale support
On Fri, Aug 9, 2019 at 6:19 AM Peter Geoghegan <pg(at)bowt(dot)ie> wrote:
> On Thu, Aug 8, 2019 at 6:29 AM Yonatan Misgan <yonamis(at)dtu(dot)edu(dot)et> wrote:
> > So my question is after developing the converter function where I put it for accessing it on PostgreSQL.
>
> Maybe you can take some inspiration from the postgresql-unit extension:
>
> https://github.com/df7cb/postgresql-unit
Here's a 5 minute bare bones extension with place holders functions
showing what I had in mind. That is, assuming that "date" is a
reasonable type, and we're just talking about different ways of
converting to/from text.
https://github.com/macdice/calendars
--
Thomas Munro
https://enterprisedb.com
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Jeff Davis | 2019-08-09 06:16:24 | Re: Add "password_protocol" connection parameter to libpq |
| Previous Message | Kyotaro Horiguchi | 2019-08-09 05:44:38 | Re: Problem with default partition pruning |