Re: pgsql function for roman2decimal? - Mailing list pgsql-sql

From Erik Brandsberg
Subject Re: pgsql function for roman2decimal?
Date
Msg-id CAFcck8Hw2VTVo98KQrZefcg0dJqObco87sQbi1Mewg+FLktKig@mail.gmail.com
Whole thread Raw
In response to Re: pgsql function for roman2decimal?  (Bruce Momjian <bruce@momjian.us>)
Responses Re: pgsql function for roman2decimal?  (Bruce Momjian <bruce@momjian.us>)
List pgsql-sql
This really feels like something that should be part of a module and not the core code.

On Sat, Jun 27, 2020 at 5:02 PM Bruce Momjian <bruce@momjian.us> wrote:
On Sat, Jun 27, 2020 at 04:38:59PM -0400, F Bax wrote:
> I found simple code for PHP to convert roman numeral to decimal here:
>
> https://stackoverflow.com/questions/6265596/
> how-to-convert-a-roman-numeral-to-integer-in-php  
>
> Can this be accomplished with a pgsql function?

Someone worked on this in 2017 but it was never added due to lack of
interest.  I am sure it can be cleaned up and added to PG 14 if there is
demand:

        https://www.postgresql.org/message-id/flat/CAGMVOduAJ9wKqJXBYnmFmEetKxapJxrG3afUwpbOZ6n_dWaUnA%40mail.gmail.com

--
  Bruce Momjian  <bruce@momjian.us>        https://momjian.us
  EnterpriseDB                             https://enterprisedb.com

  The usefulness of a cup is in its emptiness, Bruce Lee





--
Erik Brandsberg
erik@heimdalldata.com

www.heimdalldata.com
+1 (866) 433-2824 x 700
AWS Competency Program

pgsql-sql by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: pgsql function for roman2decimal?
Next
From: Bruce Momjian
Date:
Subject: Re: pgsql function for roman2decimal?