Re: trailing junk in numeric literals

Поиск
Список
Период
Сортировка
От Andreas Karlsson
Тема Re: trailing junk in numeric literals
Дата
Msg-id 916439bb-6c68-6508-c09a-6005e37de9ba@proxel.se
обсуждение исходный текст
Ответ на Re: trailing junk in numeric literals  (Vik Fearing <vik@postgresfriends.org>)
Ответы Re: trailing junk in numeric literals  (Vik Fearing <vik@postgresfriends.org>)
Список pgsql-hackers
On 1/16/21 2:02 PM, Vik Fearing wrote:
> I am in favor of such a change so that we can also accept 1_000_000
> which currently parses as "1 AS _000_000" (which also isn't compliant
> because identifiers cannot start with an underscore, but I don't want to
> take it that far).
> 
> It would also allow us to have 0xdead_beef, 0o_777, and 0b1010_0000_1110
> without most of it being interpreted as an alias.

That would be a nice feature. Is it part of the SQL standard?

Andreas




В списке pgsql-hackers по дате отправления:

Предыдущее
От: Anastasia Lubennikova
Дата:
Сообщение: Re: COPY FREEZE and setting PD_ALL_VISIBLE/visibility map bits
Следующее
От: Andrey Borodin
Дата:
Сообщение: Re: recovering from "found xmin ... from before relfrozenxid ..."