Re: Underscores in numeric literals - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: Underscores in numeric literals
Date
Msg-id dd65d444-4aad-6c49-6df7-91200097a6c7@dunslane.net
Whole thread Raw
In response to Re: Underscores in numeric literals  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Underscores in numeric literals
List pgsql-hackers
On 2022-12-27 Tu 09:55, Tom Lane wrote:
> We already accept that numeric input is different from numeric
> literals: you can't write Infinity or NaN in SQL without quotes.
> So I don't see an argument that we have to allow this in numeric
> input for consistency.
>

That's almost the same, but not quite, ISTM. Those are things you can't
say without quotes, but here unless I'm mistaken you'd be disallowing
this style if you use quotes. I get the difficulties with input
functions, but it seems like we'll be building lots of grounds for
confusion.


cheers


andrew

--
Andrew Dunstan
EDB: https://www.enterprisedb.com




pgsql-hackers by date:

Previous
From: Isaac Morland
Date:
Subject: Re: split TOAST support out of postgres.h
Next
From: Andrew Dunstan
Date:
Subject: Re: Error-safe user functions