Ticket #252 (closed defect: fixed)
Text autocasting behavior of geography is breaking geometry functionality
| Reported by: | robe | Owned by: | pramsey |
|---|---|---|---|
| Priority: | medium | Milestone: | PostGIS 1.5.0 |
| Component: | postgis | Version: | trunk |
| Keywords: | Cc: |
Description
I have always been against these autocasts especially the text ones. While I would like to remove it for geometry, that will of course break existing functionality, but PLEASE remove it for geography.
This breaks SELECT ST_AsBinary('POINT(1 2)');
and gives this error
ERROR: function st_asbinary(unknown) is not unique LINE 1: SELECT ST_AsBinary('POINT(1 2)')
HINT: Could not choose a best candidate function. You might need to add explicit type casts.
Change History
Note: See
TracTickets for help on using
tickets.
