Re: pgsql function for roman2decimal?

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Erik Brandsberg <erik(at)heimdalldata(dot)com>
Cc: F Bax <fbax(dot)ca(at)gmail(dot)com>, pgsql-sql(at)lists(dot)postgresql(dot)org
Subject: Re: pgsql function for roman2decimal?
Date: 2020-06-27 21:24:13
Message-ID: 20200627212413.GB16643@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

On Sat, Jun 27, 2020 at 05:14:27PM -0400, Erik Brandsberg wrote:
> This really feels like something that should be part of a module and not the
> core code.

Well, we already do the numeric to Roman conversion, so doing the
reverse seems to make sense:

SELECT to_char(335, 'RN');
to_char
-----------------
CCCXXXV

--
Bruce Momjian <bruce(at)momjian(dot)us> https://momjian.us
EnterpriseDB https://enterprisedb.com

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

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Erik Brandsberg 2020-06-27 21:28:51 Re: pgsql function for roman2decimal?
Previous Message Erik Brandsberg 2020-06-27 21:14:27 Re: pgsql function for roman2decimal?