Opened 16 years ago

Last modified 16 years ago

#45 closed defect (fixed)

bug in postgis_restore.pl

Reported by: kneufeld Owned by: kneufeld
Priority: medium Milestone:
Component: postgis Version:
Keywords: Cc:

Description

Bug reported by Jeff McKenna: http://postgis.refractions.net/pipermail/postgis-users/2008-July/020721.html

The 'postgis_restore.pl' contrib file does allow the user to specify createdb options, however the script does not use them unless you make the following changes to the script:

  • line 688: 'createlang plpgsql $dbname;' =====> change to 'createlang

$createdb_opt plpgsql $dbname`;'

  • line 693: '-a $dbname' =====> change to 'psql $createdb_opt -a $dbname'

Can this be added into the next release of this contrib file?

thanks.

Change History (1)

comment:1 by pramsey, 16 years ago

Committed to trunk and 1.3 branch at r3047.

Note: See TracTickets for help on using tickets.