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

2022-07-09 Thread David G. Johnston
On Friday, July 8, 2022, jian he wrote: > Hi, there. > > Not sure this is a bug, or intentional. > select '[1, )'::int8range; --fail. > select '[1,)'::int8range; --ok. > > tested on pg14.4, pg15.1 > > It is documented so I’d say intentional. “Whitespace is allowed before and after the

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

2022-07-09 Thread jian he
Hi, there. Not sure this is a bug, or intentional. select '[1, )'::int8range; --fail. select '[1,)'::int8range; --ok. tested on pg14.4, pg15.1 -- I recommend David Deutsch's <> Jian