Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jpIQL-0001uf-14 for pgsql-sql@arkaria.postgresql.org; Sat, 27 Jun 2020 21:31:45 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jpIQJ-0007b0-Ua for pgsql-sql@arkaria.postgresql.org; Sat, 27 Jun 2020 21:31:43 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jpIQJ-0007at-OJ for pgsql-sql@lists.postgresql.org; Sat, 27 Jun 2020 21:31:43 +0000 Received: from momjian.us ([72.94.173.45]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jpIQH-00051c-SM for pgsql-sql@lists.postgresql.org; Sat, 27 Jun 2020 21:31:42 +0000 Received: from bruce by momjian.us with local (Exim 4.92) (envelope-from ) id 1jpIQH-0002Rk-0V; Sat, 27 Jun 2020 17:31:41 -0400 Date: Sat, 27 Jun 2020 17:31:41 -0400 From: Bruce Momjian To: Erik Brandsberg Cc: F Bax , pgsql-sql@lists.postgresql.org Subject: Re: pgsql function for roman2decimal? Message-ID: <20200627213140.GC16643@momjian.us> References: <20200627210157.GA16643@momjian.us> <20200627212413.GB16643@momjian.us> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Sat, Jun 27, 2020 at 05:28:51PM -0400, Erik Brandsberg wrote: > If the core code already does one direction (I didn't know this) then I would > agree.  It seems that both would make sense to be in a separate module, due to > the rarity of use, possibly just as an "exotic function" module, which would > have a lower barrier of entry to adding code to. Well, I don't think we would remove the numeric to Roman conversion since it would break backward compatibility, and it isn't much code, so going in the forward direction of adding a Roman to numeric conversion would make sense in the core code. -- Bruce Momjian https://momjian.us EnterpriseDB https://enterprisedb.com The usefulness of a cup is in its emptiness, Bruce Lee