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

PostGIS trac at osgeo.org
Tue Jun 17 09:59:43 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 pramsey):

 More information required. There is no "int32" type in PgSQL (eg: create
 table test (i int32)). Checking the source code, there are mappings to
 "integer-like" types in DBF for int2, int4, and int8. It's possible you
 have a numeric column, that's getting mapped to a "float-like" DBF type
 (which is not necessarily wrong), but I'm only guessing in absence of more
 precise info.

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