Re: range with infinity bound data type disallow extra empty white space.
От
David G. Johnston
Тема
Re: range with infinity bound data type disallow extra empty white space.
Дата
Msg-id
CAKFQuwYc4QmbA+XcNszVXUv83pDgbtnWpxeaweTC=9PfGDL3TQ@mail.gmail.com
Ответ на
Список
Дерево обсуждения
range with infinity bound data type disallow extra empty white space. jian he <jian.universality@gmail.com>
Re: range with infinity bound data type disallow extra empty white space. "David G. Johnston" <david.g.johnston@gmail.com>
On Friday, July 8, 2022, jian he <jian.universality@gmail.com> wrote:
Hi, there.Not sure this is a bug, or intentional.select '[10000, )'::int8range; --fail.select '[10000,)'::int8range; --ok.tested on pg14.4, pg15.1
It is documented so I’d say intentional.
“Whitespace is allowed before and after the range value, but any whitespace between the parentheses or brackets is taken as part of the lower or upper bound value.”
David J.
В списке pgsql-general по дате отправления
От: jian he
Дата: