agora inbox for pgsql-sql@postgresql.org  
help / color / mirror / Atom feed
From: Bruce Momjian <bruce@momjian.us>
To: F Bax <fbax.ca@gmail.com>
Cc: pgsql-sql@lists.postgresql.org
Subject: Re: pgsql function for roman2decimal?
Date: Sat, 27 Jun 2020 17:01:57 -0400
Message-ID: <20200627210157.GA16643@momjian.us> (raw)
In-Reply-To: <CAAmqg_CE9+wFDZkqkXSg_6mZAYBLMsjBjZm+d4CdGrQxqX5Dhw@mail.gmail.com>
References: <CAAmqg_CE9+wFDZkqkXSg_6mZAYBLMsjBjZm+d4CdGrQxqX5Dhw@mail.gmail.com>

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%40mai...

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

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






view thread (6+ messages)  latest in thread

Message-ID: <20200627210157.GA16643@momjian.us>
Permalink:  ../20200627210157.GA16643@momjian.us/
Also on:    postgresql.org/message-id/20200627210157.GA16643@momjian.us

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: bruce@momjian.us, fbax.ca@gmail.com, pgsql-sql@lists.postgresql.org
  Subject: Re: pgsql function for roman2decimal?
  In-Reply-To: <20200627210157.GA16643@momjian.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox