]> granicus.if.org Git - postgis/commitdiff
Added note about utils/postgis_restore.pl
authorSandro Santilli <strk@keybit.net>
Thu, 13 Jan 2005 08:48:35 +0000 (08:48 +0000)
committerSandro Santilli <strk@keybit.net>
Thu, 13 Jan 2005 08:48:35 +0000 (08:48 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@1292 b70326c6-7e19-0410-871a-916f4a2858ee

README.postgis

index cd170e59c40a7cf3b99ca06c7e89cc4e0ac54acc..169157e57fdebe1c7e688c7c61903f5dda8379b4 100644 (file)
@@ -103,10 +103,14 @@ language, upload the new postgis.sql file, then upload your database dump:
   dropdb yourdatabase
   createdb yourdatabase
   createlang plpgsql yourdatabase
-  psql -f postgis.sql -d yourdatabase
+  psql -f lwpostgis.sql -d yourdatabase
   psql -f dumpfile.sql -d yourdatabase
   vacuumdb -z yourdatabase
 
+You might find the utils/postgis_restore.pl useful. It will
+automatically create a new db, feed it the  lwpostgis.sql file
+and restore all but postgis objects from a 'custom' dump.
+Run with no args to have a usage string printed.
 
 
 USAGE: