Opened 14 years ago

Closed 14 years ago

#345 closed defect (fixed)

Syntax error in postgis_restore.pl

Reported by: patrickh Owned by: pramsey
Priority: medium Milestone: PostGIS 1.5.0
Component: postgis Version: master
Keywords: Cc:

Description

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:

(@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:

(@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";

Change History (1)

comment:1 by pramsey, 14 years ago

Resolution: fixed
Status: newclosed

Thanks, fixed at r5002

Note: See TracTickets for help on using tickets.