Hmm ... shouldn't path_distance be MIN distance not MAX distance?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Hmm ... shouldn't path_distance be MIN distance not MAX distance?
Дата
Msg-id 8484.964845557@sss.pgh.pa.us
обсуждение исходный текст
Список pgsql-hackers
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?

            regards, tom lane

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

Предыдущее
От: Philip Warner
Дата:
Сообщение: Re: pg_dump & performance degradation
Следующее
От: Tom Lane
Дата:
Сообщение: Re: pg_dump & performance degradation