Search Postgresql Archives

Re: range with infinity bound data type disallow extra empty white space.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Friday, July 8, 2022, jian he <jian.universality@xxxxxxxxx> 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.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux