[postgis-tickets] r16494 - note in docs about soft upgrade that legacy.sql must be rerun for each minor.

Regina Obe lr at pcorp.us
Fri Mar 23 07:12:46 PDT 2018


Author: robe
Date: 2018-03-23 19:12:46 -0700 (Fri, 23 Mar 2018)
New Revision: 16494

Modified:
   trunk/doc/installation.xml
Log:
note in docs about soft upgrade that legacy.sql must be rerun for each minor.
References #2960 for PostGIS 2.5.0 (trunk)

Modified: trunk/doc/installation.xml
===================================================================
--- trunk/doc/installation.xml	2018-03-24 00:03:15 UTC (rev 16493)
+++ trunk/doc/installation.xml	2018-03-24 02:12:46 UTC (rev 16494)
@@ -1400,7 +1400,9 @@
 
 	<para>If you plan to restore an old backup from prior versions in this new db, run:</para>
 	<para><command>psql -d [yourdatabase] -f legacy.sql</command></para>
-
+	<note><para>If you need legacy functions, you'll need to reinstall the legacy.sql script whenever you upgrade the minor version of PostGIS.
+	E.g. if you upgraded from 2.4.3 to 2.5.0, then you need to reinstall the legacy.sql packaged with 2.5.0.  This is because some of the functions make reference to the library
+	and the library is named with the minor in it.</para></note>
 	<para>You can later run <filename>uninstall_legacy.sql</filename> to get rid of the deprecated functions after you are done with restoring and cleanup.</para>
   </sect1>
 



More information about the postgis-tickets mailing list