Re: Underscores in numeric literals

From: Dean Rasheed <dean(dot)a(dot)rasheed(at)gmail(dot)com>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Underscores in numeric literals
Date: 2023-01-04 09:31:14
Message-ID: CAEZATCXrYotnvhCdW-kDmqpJvHmmbjZty7KnZiyv2SUbbCJB9Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Oh, one other minor nit -- in parser/scan.l:

-real ({decinteger}|{numeric})[Ee][-+]?{decdigit}+
+real ({decinteger}|{numeric})[Ee][-+]?{decinteger}+

the final "+" isn't necessary now.

Regards,
Dean

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message vignesh C 2023-01-04 09:40:48 Re: POC: Lock updated tuples in tuple_update() and tuple_delete()
Previous Message Dean Rasheed 2023-01-04 09:28:20 Re: Underscores in numeric literals