#14060: PostGISAdapter needs to properly cast input for comparisons on geography
columns.
---------------------------------+------------------------------------------
Reporter: jbronn | Owner: jbronn
Status: closed | Milestone: 1.3
Component: GIS | Version: 1.2
Resolution: fixed | Keywords:
Stage: Unreviewed | Has_patch: 0
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
---------------------------------+------------------------------------------
Comment (by jbronn):
PostGIS will properly cast internally geography types (hence why `&&`
operator works). The root cause of the issue is that despite the
documentation, the `~=` operator was never implemented for geography
types. I had a [http://logs.qgis.org/postgis/%23postgis.2010-08-09.log
discussion with Paul Ramsey] in `#postgis` about this issue, and he
confirmed it was a "doc mistake" and "only && was implemented for
geography."
--
Ticket URL: <http://code.djangoproject.com/ticket/14060#comment:5>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.