Re: BUG #4647: Geometric functions reorder their parameters randomly

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #4647: Geometric functions reorder their parameters randomly
Дата
Msg-id 11573.1234458272@sss.pgh.pa.us
обсуждение исходный текст
Ответ на BUG #4647: Geometric functions reorder their parameters randomly  ("Juho Saarikko" <juho.saarikko@gmail.com>)
Список pgsql-bugs
"Juho Saarikko" <juho.saarikko@gmail.com> writes:
> According to the online documentation, the ## operator is supposed to return
> "Closest point to first operand on second operand". However, in reality it
> seems to decide reorder its parameters as a function of them.

In the example you give, it looks like close_lseg (which close_sb
depends on) will sometimes return a point on its first argument
instead of its second one.  If you think that the problem isn't
restricted to these two operators then you need to be more complete.

            regards, tom lane

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: BUG #4649: unclear in create trigger - complete example
Следующее
От: Konstantin
Дата:
Сообщение: Re: BUG #4648: needless deadlock on tables having foreign-key