From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Support RN (roman-numeral format) in to_number(). |
Date: | 2025-01-22 20:19:01 |
Message-ID: | E1tahBl-002xsj-OD@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Support RN (roman-numeral format) in to_number().
We've long had roman-numeral output support in to_char(),
but lacked the reverse conversion. Here it is.
Author: Hunaid Sohail <hunaidpgml(at)gmail(dot)com>
Reviewed-by: Maciek Sakrejda <m(dot)sakrejda(at)gmail(dot)com>
Reviewed-by: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Reviewed-by: Tomas Vondra <tomas(at)vondra(dot)me>
Discussion: https://postgr.es/m/CAMWA6ybh4M1VQqpmnu2tfSwO+3gAPeA8YKnMHVADeB=XDEvT_A@mail.gmail.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/172e6b3adb2e2749883ad0746172e4cf97139961
Modified Files
--------------
doc/src/sgml/func.sgml | 17 ++-
src/backend/utils/adt/formatting.c | 275 +++++++++++++++++++++++++++-------
src/test/regress/expected/numeric.out | 78 ++++++++++
src/test/regress/sql/numeric.sql | 33 ++++
4 files changed, 350 insertions(+), 53 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Michael Paquier | 2025-01-23 06:16:51 | pgsql: Improve TAP tests of pg_basebackup |
Previous Message | Nathan Bossart | 2025-01-22 20:12:23 | pgsql: Fix comment about AVX-512 popcount support. |