Hi,
On Thu, Sep 5, 2024 at 2:41 PM Aleksander Alekseev <aleksan...@timescale.com> > wrote: > >> >> While playing with the patch I noticed that to_char(..., 'RN') doesn't >> seem to be test-covered. I suggest adding the following test: >> >> ``` >> WITH rows AS ( >> SELECT i, to_char(i, 'FMRN') AS roman >> FROM generate_series(1, 3999) AS i >> ) SELECT bool_and(to_number(roman, 'RN') = i) FROM rows; >> >> bool_and >> ---------- >> t >> ``` >> > > I have added this test in the attached patch (v3). Thank you once again, Aleksander, for the suggestion. Regards, Hunaid Sohail
v3-0001-Add-RN-rn-support-for-to_number-function.patch
Description: Binary data