Re: BUG #14300: Empty cube representation

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #14300: Empty cube representation
Дата
Msg-id 9274.1472487883@sss.pgh.pa.us
обсуждение исходный текст
Ответ на BUG #14300: Empty cube representation  (a@ustimen.co)
Список pgsql-bugs
a@ustimen.co writes:
> SELECT CUBE(ARRAY[]::INTEGER[]);
> -- Gives '()'
> SELECT '()'::CUBE;
> -- Gives 'ERROR:  bad cube representation'

Hmm.  There are more ways than that to produce a cube that cube_in won't
take: you can put in an infinity or NaN coordinate via the cube-from-
float-array path too, and cube_out will print them, but cube_in won't
take them.  We fixed something similar with the core geometric types
recently.

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: BUG #14301: function in case expression called when it should not be
Следующее
От: Spencer Thomason
Дата:
Сообщение: Re: BUG #14295: Hot standby crash during tsvector rebuild