Prevent numeric literals from having non-numeric trailing characters (Peter Eisentraut)

Поиск
Список
Период
Сортировка
От Fabrice Chapuis
Тема Prevent numeric literals from having non-numeric trailing characters (Peter Eisentraut)
Дата
Msg-id CAA5-nLDcfXZiXPNUW0eNAr3odK+aY-rCZ3FJ_8UCYWmc8HwkBQ@mail.gmail.com
обсуждение исходный текст
Ответы Re: Prevent numeric literals from having non-numeric trailing characters (Peter Eisentraut)
Re: Prevent numeric literals from having non-numeric trailing characters (Peter Eisentraut)
Список pgsql-hackers
Regarding the changes made in version 15 for the traitment of the non-numeric trailing characters, why does parsing continue to be permissive with parentheses (no need to add a space)? Are we still in standard SQL?

Regards

Fabrice

SELECT (123)order by 1;
+----------+
| ?column? |
+----------+
|      123 |
+----------+
(1 row)

postgres [2043238]=#  SELECT (123)abc;
+-----+
| abc |
+-----+
| 123 |
+-----+
(1 row)


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