Jan 2025

1 commit
Support RN (roman-numeral format) in to_number().
22 Jan 2025Tom Lanemaster18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
LLM analysis, 100% suremodified before commitmoderate changesfrom patchset #301 of 3 reviewers saw the final version

The commit retains the implementation and documentation from #30, but changes roman_to_int in src/backend/utils/adt/formatting.c to skip only leading whitespace, stop at trailing nonnumerals, and reorganize validation checks, with corresponding regression changes. Tom Lane confirms these edits and the landing in #31.

  • Maciek Sakrejdasaw an earlier versiontrailerMaciek tested the initial and third submissions in #2 and #9, then tested #20 and exposed invalid numeral acceptance in #24, before subsequent validation and whitespace logic changes.
  • Tom Lanesaw the final versiontrailerTom reviewed portability and parsing in #11, supplied the restructuring in #20, examined its whitespace behavior in #22, and edited and committed the final submission as reported in #31.
  • Tomas Vondrasaw an earlier versiontrailerTomas reviewed documentation, comment formatting and missing error-path tests in #17, before the parser integration and whitespace behavior were substantially revised.

Credits across 1 commit

Author
Hunaid Sohail1
Reviewer
Maciek Sakrejda1
Tom Lane1
Tomas Vondra1
Committer
Tom Lane1