Re: [PATCH] Improve geometric types

Поиск
Список
Период
Сортировка
От Emre Hasegeli
Тема Re: [PATCH] Improve geometric types
Дата
Msg-id CAE2gYzxSLekocQhyRXsTk7jJs4DNbH217L-vGbdjUnaaFFaayw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [PATCH] Improve geometric types  (Tomas Vondra <tomas.vondra@2ndquadrant.com>)
Список pgsql-hackers
> This should fix it I guess, and it's how we deal with unused return
> values elsewhere. I've considered using USE_ASSERT_CHECKING here, but it
> seems rather ugly with that. I'll wait for Emre's opinion ...

Assert() is the wrong thing to do in here.  Drawn-perpendicular lines
may not intersect because of precision loss.  We have to check it and
return NULL.  There a few of those that we crash, or return garbage,
or get NULL and fail in DirectFunctionCall()s.  The next patch
"line-fixes" fixes them.


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

Предыдущее
От: Amit Langote
Дата:
Сообщение: Re: partition tree inspection functions
Следующее
От: Kyotaro HORIGUCHI
Дата:
Сообщение: Re: patch to allow disable of WAL recycling