[postgis-tickets] r17290 - Do not run postgis_full_version() at the end of extensions upgrade

Sandro Santilli strk at kbt.io
Wed Mar 6 02:13:03 PST 2019


Author: strk
Date: 2019-03-06 02:13:03 -0800 (Wed, 06 Mar 2019)
New Revision: 17290

Modified:
   trunk/postgis/postgis.sql.in
Log:
Do not run postgis_full_version() at the end of extensions upgrade

.. it won't have all the new information as transaction is not
completed by that time ..

Modified: trunk/postgis/postgis.sql.in
===================================================================
--- trunk/postgis/postgis.sql.in	2019-03-06 10:08:49 UTC (rev 17289)
+++ trunk/postgis/postgis.sql.in	2019-03-06 10:13:03 UTC (rev 17290)
@@ -2942,7 +2942,7 @@
 
 	END LOOP;
 
-	RETURN @extschema at .postgis_full_version();
+	RETURN 'Upgrade completed, run postgis_full_version() for details';
 
 END
 $$ LANGUAGE plpgsql VOLATILE;



More information about the postgis-tickets mailing list