[postgis-users] postgis_restore.pl createdb options - enhancement

Jeff McKenna jmckenna at gatewaygeomatics.com
Thu Jul 31 12:47:48 PDT 2008


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.


---
Jeff McKenna
FOSS4G Consulting and Training Services
http://www.gatewaygeomatics.com/








More information about the postgis-users mailing list