Re: [HACKERS] Hmm ... shouldn't path_distance be MIN distance not MAX distance?

Поиск
Список
Период
Сортировка
От Thomas Lockhart
Тема Re: [HACKERS] Hmm ... shouldn't path_distance be MIN distance not MAX distance?
Дата
Msg-id 39850E1A.B42F8E9E@alumni.caltech.edu
обсуждение исходный текст
Ответ на Hmm ... shouldn't path_distance be MIN distance not MAX distance?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
> I just noticed that path_distance() in geo_ops.c (the "<->" operator
> for path datatype) claims to be computing the minimum distance between
> any two line segments of the two paths, but actually it's computing the
> maximum such distance.
> Isn't this broken?

Sure sounds like it :(

                  - Thomas

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

Предыдущее
От: "KMiller"
Дата:
Сообщение: Is this a bug or am I missing something?
Следующее
От: "Oliver Elphick"
Дата:
Сообщение: Re: Inheritance