Re: Underscores in numeric literals
Dean Rasheed <dean.a.rasheed@gmail.com>
From: Dean Rasheed <dean.a.rasheed@gmail.com>
To: Andrew Dunstan <andrew@dunslane.net>
Cc: Tom Lane <tgl@sss.pgh.pa.us>,
Peter Eisentraut <peter.eisentraut@enterprisedb.com>, pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2023-01-23T20:45:19Z
Lists: pgsql-hackers
Attachments
- v3-Underscores-in-numeric-literals.patch (text/x-patch) patch v3
On Wed, 4 Jan 2023 at 09:28, Dean Rasheed <dean.a.rasheed@gmail.com> wrote: > > In addition, I think that strip_underscores() could then go away if > numeric_in() were made to handle underscores. > > Essentially then, that would move all responsibility for parsing > underscores and non-decimal integers to the datatype input functions, > or their support routines, rather than having it distributed. > Here's an update with those changes. Regards, Dean
Commits
-
Allow underscores in integer and numeric constants.
- faff8f8e47f1 16.0 landed