[postgis-devel] [PostGIS] #748: shp2pgsql use wrong schema name

PostGIS trac at osgeo.org
Mon Jan 3 05:48:40 PST 2011


#748: shp2pgsql use wrong schema name
-----------------------+----------------------------------------------------
 Reporter:  aperi2007  |       Owner:  pramsey      
     Type:  defect     |      Status:  new          
 Priority:  medium     |   Milestone:  PostGIS 2.0.0
Component:  postgis    |     Version:  trunk        
 Keywords:             |  
-----------------------+----------------------------------------------------

Comment(by robe):

 Those lines I mentioned haven't changed since 1.5.  I tested my 1.5.2
 build and its okay.

 I suspect something in line 59-63 (these lines were added since)

 {{{
 #ifdef USE_NLS
         setlocale (LC_ALL, "");
         bindtextdomain (PACKAGE, LOCALEDIR);
         textdomain (PACKAGE);
 #endif
 }}}

 That maybe somehow changed the length of things so the length ptr position
 being calculated in on line 185:

 {{{
 ptr = strchr(argv[pgis_optind], '.');
 }}}

 Is now off by one character
  or I'm using the wrong version of something.

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