Re: Cause of intermittent rangetypes regression test failures

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Cause of intermittent rangetypes regression test failures
Дата
Msg-id 18945.1321296200@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Cause of intermittent rangetypes regression test failures  (Jeff Davis <pgsql@j-davis.com>)
Ответы Re: Cause of intermittent rangetypes regression test failures  ("Erik Rijkers" <er@xs4all.nl>)
Список pgsql-hackers
Jeff Davis <pgsql@j-davis.com> writes:
> On Mon, 2011-11-14 at 08:11 -0500, Tom Lane wrote:
>> It needs to return FALSE, actually.  After further reading I realized
>> that you have that behavior hard-wired into the range GiST routines,
>> and it's silly to make the stand-alone versions of the function act
>> differently.

> Good point. That makes sense to me.

While thinking about this ... would it be sensible for range_lower and
range_upper to return NULL instead of throwing an exception for empty or
infinite ranges?  As with these comparison functions, throwing an error
seems like a fairly unpleasant definition to work with in practice.
        regards, tom lane


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

Предыдущее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: Syntax for partitioning
Следующее
От: Robert Haas
Дата:
Сообщение: Re: Concurrent CREATE TABLE/DROP SCHEMA leaves inconsistent leftovers