RE: Locale support - Mailing list pgsql-hackers

From Yonatan Misgan
Subject RE: Locale support
Date
Msg-id f0p6g0qs5b7434hpnlur0x44.1565331318588@email.android.com
Whole thread Raw
In response to Re: Locale support  (Thomas Munro <thomas.munro@gmail.com>)
Responses Re: Locale support  (Thomas Munro <thomas.munro@gmail.com>)
List 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.munro@gmail.com>
Date: 8/9/19 1:17 AM (GMT+03:00)
To: Peter Geoghegan <pg@bowt.ie>
Cc: Yonatan Misgan <yonamis@dtu.edu.et>, pgsql-hackers@lists.postgresql.org
Subject: Re: Locale support

On Fri, Aug 9, 2019 at 6:19 AM Peter Geoghegan <pg@bowt.ie> wrote:
> On Thu, Aug 8, 2019 at 6:29 AM Yonatan Misgan <yonamis@dtu.edu.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

pgsql-hackers by date:

Previous
From: Kyotaro Horiguchi
Date:
Subject: Re: Problem with default partition pruning
Next
From: Jeff Davis
Date:
Subject: Re: Add "password_protocol" connection parameter to libpq