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 <[email protected]> Date: 8/9/19 1:17 AM (GMT+03:00) To: Peter Geoghegan <[email protected]> Cc: Yonatan Misgan <[email protected]>, [email protected] Subject: Re: Locale support On Fri, Aug 9, 2019 at 6:19 AM Peter Geoghegan <[email protected]> wrote: > On Thu, Aug 8, 2019 at 6:29 AM Yonatan Misgan <[email protected]> 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
