Обсуждение: Clarification on item on Todo List

Поиск
Список
Период
Сортировка

Clarification on item on Todo List

От
Tristan Wright
Дата:
I am interested in this item on the list and its exact meaning: <br />(Under "Data Types")<br />- Fix data types where
equalitycomparison is not intuitive, e.g. box<br /><br />Can you elaborate on this item, I particularly fail to see
whatis non-intuitive about box comparisons (and I suppose other types where equalities are non-intuitive).<br
/>-Tristan

Re: Clarification on item on Todo List

От
Tom Lane
Дата:
Tristan Wright <twright09@earlham.edu> writes:
> I am interested in this item on the list and its exact meaning: 
> (Under "Data Types")
> - Fix data types where equality comparison is not intuitive, e.g. box

> Can you elaborate on this item, I particularly fail to see what is non-intuitive about box comparisons (and I suppose
othertypes where equalities are non-intuitive).
 

box_eq compares the boxes' areas.  The operator that most people would
consider to be "equality" is box_same (~=).  The reason this is on the
TODO is that nobody's figured out a way to swap the two operator names
without breaking applications.
        regards, tom lane