[postgis-tickets] [PostGIS] #2761: Pgsql2shp changes type int32 to real

PostGIS trac at osgeo.org
Thu Jun 19 05:24:47 PDT 2014


#2761: Pgsql2shp changes type int32 to real
---------------------+------------------------------------------------------
 Reporter:  javagc   |       Owner:  pramsey           
     Type:  defect   |      Status:  new               
 Priority:  high     |   Milestone:  PostGIS PostgreSQL
Component:  postgis  |     Version:  2.1.x             
 Keywords:           |  
---------------------+------------------------------------------------------

Comment(by javagc):

 I have a column of type '''Integer''' in my table. When I use
 '''pgsql2shp''' it converts the Integer into real and writes real in the
 DBF. Later When I import  this data with '''shp2pgsql''' tool I get
 '''numeric''' instead of Integer for the column mentioned above

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2761#comment:2>
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