JSON path decimal literal syntax

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема JSON path decimal literal syntax
Дата
Msg-id 50a828cc-0a00-7791-7883-2ed06dfb2dbb@enterprisedb.com
обсуждение исходный текст
Ответы Re: JSON path decimal literal syntax  (Peter Eisentraut <peter.eisentraut@enterprisedb.com>)
Список pgsql-hackers
I noticed that the JSON path lexer does not support the decimal literal 
syntax forms

.1
1.

(that is, there are no digits before or after the decimal point).  This 
is allowed by the relevant ECMAScript standard 
(https://262.ecma-international.org/5.1/#sec-7.8.3) and of course SQL 
allows it as well.

Is there a reason for this?  I didn't find any code comments or 
documentation about this.

Attached are patches that would enable this.  As you can see, a bunch of 
test cases are affected.
Вложения

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

Предыдущее
От: Christoph Berg
Дата:
Сообщение: Re: pgsql: pg_upgrade: Preserve relfilenodes and tablespace OIDs.
Следующее
От: Amit Kapila
Дата:
Сообщение: Re: logical replication empty transactions