[postgis-devel] [PostGIS] #345: Syntax error in postgis_restore.pl

PostGIS trac at osgeo.org
Thu Dec 10 07:54:18 PST 2009


#345: Syntax error in postgis_restore.pl
----------------------+-----------------------------------------------------
 Reporter:  patrickh  |       Owner:  pramsey      
     Type:  defect    |      Status:  new          
 Priority:  medium    |   Milestone:  PostGIS 1.5.0
Component:  postgis   |     Version:  trunk        
 Keywords:            |  
----------------------+-----------------------------------------------------
 Line 47 of `postgis_restore.pl` on the trunk has an extra double quote (")
 character in it that a parse error when executing the script. This was
 introduced in r4746. The current line is:

 {{{
 #!perl
 (@ARGV >= 3) || die "Usage: postgis_restore.pl <postgis.sql> <db> <dump>
 ["<createdb_options>]\nRestore a custom dump (pg_dump -Fc) of a postgis
 enabled database.\n";
 }}}

 It should be the following:

 {{{
 #!perl
 (@ARGV >= 3) || die "Usage: postgis_restore.pl <postgis.sql> <db> <dump>
 [<createdb_options>]\nRestore a custom dump (pg_dump -Fc) of a postgis
 enabled database.\n";
 }}}

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/345>
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