]> granicus.if.org Git - postgis/commit
Change ST_Equals to use the ~= operator (#1453)
authorSandro Santilli <strk@keybit.net>
Fri, 20 Jan 2012 08:12:15 +0000 (08:12 +0000)
committerSandro Santilli <strk@keybit.net>
Fri, 20 Jan 2012 08:12:15 +0000 (08:12 +0000)
commit8a31acd642b7802f51066f476225725e68a91d52
treee64f1a3c745f838d6c39b75000ca5f76e90a6491
parentf712995f20cca1a42ef0d44146f2fe5a4ca19b7c
Change ST_Equals to use the ~= operator (#1453)

Doing so it will consistently return TRUE for EMPTY-EMPTY, while
previously _ST_Equals returned TRUE but ST_Equals returned FALSE.

The commit also changes signature of the C function
from 'geomequals' to 'ST_Equals' and marks an SQL 'Equals'
signature as a candidate for dropping before 2.0.0 final

git-svn-id: http://svn.osgeo.org/postgis/trunk@8886 b70326c6-7e19-0410-871a-916f4a2858ee
postgis/lwgeom_geos.c
postgis/postgis.sql.in.c
regress/empty.sql
regress/empty_expected