Re: pgsql function for roman2decimal?

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: pgsql function for roman2decimal?
Дата
Msg-id 20200627212413.GB16643@momjian.us
обсуждение исходный текст
Ответ на Re: pgsql function for roman2decimal?  (Erik Brandsberg <erik@heimdalldata.com>)
Ответы Re: pgsql function for roman2decimal?  (Erik Brandsberg <erik@heimdalldata.com>)
Список 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@momjian.us>        https://momjian.us
  EnterpriseDB                             https://enterprisedb.com

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




В списке pgsql-sql по дате отправления:

Предыдущее
От: Erik Brandsberg
Дата:
Сообщение: Re: pgsql function for roman2decimal?
Следующее
От: Erik Brandsberg
Дата:
Сообщение: Re: pgsql function for roman2decimal?