[postgis-devel] [PostGIS] #1413: COPY into typmod table fails on OSX

PostGIS trac at osgeo.org
Thu Dec 29 11:35:29 PST 2011


#1413: COPY into typmod table fails on OSX
----------------------+-----------------------------------------------------
 Reporter:  pramsey   |       Owner:  pramsey      
     Type:  defect    |      Status:  new          
 Priority:  critical  |   Milestone:  PostGIS 2.0.0
Component:  postgis   |     Version:  trunk        
 Keywords:  osx       |  
----------------------+-----------------------------------------------------
 From the loader regression:
 {{{
 CREATE TABLE "point" (gid serial);
 ALTER TABLE "point" ADD PRIMARY KEY (gid);
 SELECT AddGeometryColumn('','point','geom','0','POINT',2);
 COPY "point" (geom) FROM stdin;
 POINT(0 1)
 \.
 }}}
 returns
 {{{
 ERROR:  Geometry type (Invalid type) does not match column type (Point)
 CONTEXT:  COPY point, line 1, column geom: "POINT(0 1)"
 }}}

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1413>
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-devel mailing list