Re: Underscores in numeric literals

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: Underscores in numeric literals
Дата
Msg-id dd65d444-4aad-6c49-6df7-91200097a6c7@dunslane.net
обсуждение исходный текст
Ответ на Re: Underscores in numeric literals  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Underscores in numeric literals  (Dean Rasheed <dean.a.rasheed@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Isaac Morland
Дата:
Сообщение: Re: split TOAST support out of postgres.h
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: Error-safe user functions