[postgis-tickets] r16495 - 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:17:07 PDT 2018
Author: robe
Date: 2018-03-23 19:17:06 -0700 (Fri, 23 Mar 2018)
New Revision: 16495
Modified:
branches/2.4/doc/installation.xml
Log:
note in docs about soft upgrade that legacy.sql must be rerun for each minor.
Closes #2960 for PostGIS 2.4.4
Modified: branches/2.4/doc/installation.xml
===================================================================
--- branches/2.4/doc/installation.xml 2018-03-24 02:12:46 UTC (rev 16494)
+++ branches/2.4/doc/installation.xml 2018-03-24 02:17:06 UTC (rev 16495)
@@ -1401,6 +1401,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.3.7 to 2.4.4, then you need to reinstall the legacy.sql packaged with 2.4.4. 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