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

Jeff McKenna jmckenna at gatewaygeomatics.com
Sat Jul 2 08:25:25 PDT 2011


Quick update: although this change was applied to the PostGIS 1.4 branch, it
has not been applied to the PostGIS 1.5 branch.

-jeff

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


Jeff McKenna wrote:
> 
> 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.
> 

-- 
View this message in context: http://old.nabble.com/postgis_restore.pl-createdb-options---enhancement-tp18762156p31979959.html
Sent from the PostGIS - User mailing list archive at Nabble.com.




More information about the postgis-users mailing list