Re: [HACKERS] [PATCH] Improve geometric types

Поиск
Список
Период
Сортировка
От Emre Hasegeli
Тема Re: [HACKERS] [PATCH] Improve geometric types
Дата
Msg-id CAE2gYzy0ZW4CJjhEo5A+ywXhJom3NuKtGwaMQpLqM-STFxh8Ew@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [HACKERS] [PATCH] Improve geometric types  (Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>)
Ответы Re: [HACKERS] [PATCH] Improve geometric types
Список pgsql-hackers
> I'm fine with the current shape. Thanks. Maybe the same
> discussion applies to polygons. (cf. poly_overlap)

It indeed does.  I am incorporating.

>  line_closept_point asserts line_interpt_line returns true but it
>  is hazardous. It is safer if line_closept_point returns NaN if
>  line_interpt_line returns false.

Yes, it makes more sense.  I am changing it.

>> >  I understand that we don't need to consider NAN is equal to NAN.
>> >  circle_same, point_eq_point, line_eq no longer needs such
>> >  change?
>>
>> I though it would be better to consider NaNs equal only on the
>> equality operators.  That is why only they are changed that way.
>
> I'm convinced by that.

Great.  I am documenting this decision better on the patches.


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

Предыдущее
От: Amit Khandekar
Дата:
Сообщение: Re: [HACKERS] UPDATE of partition key
Следующее
От: Amit Khandekar
Дата:
Сообщение: Re: [HACKERS] Useless code in ExecInitModifyTable