All data types of pgSphere have
equality operators. The equality operator is as in
SQL
=
. Furthermore,
there are two valid negators to indicate that two objects
are not equal: !=
and
<>
.
Example 5.2. Equality of two spherical points
sql> SELECT spoint '(10d,20d)' = spoint '(370d,20d)' ; test ------ t (1 row)