[postgis-devel] README patch and \set ON_ERROR_STOP

strk strk at keybit.net
Wed Nov 26 01:52:46 PST 2008


Is there any counter-argument about adding an '/set ON_ERROR_STOP'
directive on top of lwpostgis.sql ?
It is much nicer to see what goes wrong on spatially-enabling
a database. Supposedly available starting with version 8.1, but
does it any harm for previous versions ?

Beside, following is a patch for README.postgis

Index: README.postgis
===================================================================
--- README.postgis      (revision 3336)
+++ README.postgis      (working copy)
@@ -147,7 +147,7 @@
 So, as postgres run:

   createlang plpgsql yourdatabase
-  psql -f lwpostgis.sql -d your_database
+  psql -f lwgeom/lwpostgis.sql -d <your_database>

 Your database should now be spatially enabled.

--strk;

 ()   ASCII Ribbon Campaign
 /\   Keep it simple! 




More information about the postgis-devel mailing list