[postgis-devel] [PostGIS] #406: DBF only load in shp2pgsql is broken

PostGIS trac at osgeo.org
Wed Feb 3 13:34:20 PST 2010


#406: DBF only  load in shp2pgsql is broken
----------------------+-----------------------------------------------------
  Reporter:  robe     |       Owner:  pramsey      
      Type:  defect   |      Status:  closed       
  Priority:  high     |   Milestone:  PostGIS 1.5.0
 Component:  postgis  |     Version:  trunk        
Resolution:  invalid  |    Keywords:               
----------------------+-----------------------------------------------------
Changes (by pramsey):

  * status:  new => closed
  * resolution:  => invalid

Comment:

 Shouldn't you have to use the -n flag to get a dbf-only load? works for
 me:
 {{{
 ~/Code/postgis-svn/loader/shp2pgsql -n -p -W "latin1" dbftest.dbf
 SET CLIENT_ENCODING TO UTF8;
 SET STANDARD_CONFORMING_STRINGS TO ON;
 BEGIN;
 CREATE TABLE "" (gid serial PRIMARY KEY,
 "id" numeric(11,0),
 "name" varchar(4));
 COMMIT;
 }}}

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