[postgis-tickets] [PostGIS] #2763: point WKB doesn't work when lower case
PostGIS
trac at osgeo.org
Wed Jun 18 09:34:24 PDT 2014
#2763: point WKB doesn't work when lower case
----------------------------+-----------------------------------------------
Reporter: jmccormick2001 | Owner: pramsey
Type: defect | Status: new
Priority: medium | Milestone:
Component: postgis | Version: 2.1.x
Keywords: |
----------------------------+-----------------------------------------------
Hi,
I'm trying to run postgis 2.1.3 on fedora 20, 2 regression tests fail, one
of them is regress_index_nulls, I've found the following to be happening
in reference to the lower case 'point' as referenced in the
regress_index_nulls.sql test case:
[postgres at localhost regress]$ psql
psql (9.3.4)
Type "help" for help.
postgres=# select 'POINT(0 0)'::geography;
geography
----------------------------------------------------
0101000020E610000000000000000000000000000000000000
(1 row)
postgres=# select 'point(0 0)'::geography;
ERROR: parse error - invalid geometry
LINE 1: select 'point(0 0)'::geography;
^
HINT: "po" <-- parse error at position 2 within geometry
postgres=# select postgis_v
postgres=# select postgis_full_version();
NOTICE: Function postgis_topology_scripts_installed() not found. Is
topology support enabled and topology.sql installed?
postgis_full_ve
rsion
-------------------------------------------------------------------------------
---------------------------------------------------------------------
POSTGIS="2.1.3 r12547" GEOS="3.4.2-CAPI-1.8.2 r3921" PROJ="Rel. 4.8.0, 6
March
2012" GDAL="GDAL 1.11.0, released 2014/04/16" LIBXML="2.9.1" RASTER
(1 row)
postgres=#
For some reason I can't figure out, when using the lower case spelling of
'point', it fails, upper case works as expected.
this is on postgres 9.3.4.
thanks
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2763>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.
More information about the postgis-tickets
mailing list