[postgis-tickets] r14768 - avoid adding search_path to functions that work on internals

Regina Obe lr at pcorp.us
Wed Mar 9 20:21:46 PST 2016


Author: robe
Date: 2016-03-09 20:21:46 -0800 (Wed, 09 Mar 2016)
New Revision: 14768

Modified:
   trunk/utils/postgis_proc_set_search_path.pl
Log:
avoid adding search_path to functions that work on internals 
references #3497

Modified: trunk/utils/postgis_proc_set_search_path.pl
===================================================================
--- trunk/utils/postgis_proc_set_search_path.pl	2016-03-09 13:07:21 UTC (rev 14767)
+++ trunk/utils/postgis_proc_set_search_path.pl	2016-03-10 04:21:46 UTC (rev 14768)
@@ -105,9 +105,10 @@
 			$endhead = 1;
 		}
 		
-		if ( /add(geometry|overview|raster)/i){
+		if ( /add(geometry|overview|raster|internal)/i){
 			# can't put search_path on addgeometrycolumn or addrasterconstraints 
 			# since table names are sometimes passed in non-qualified
+			# also can't work on some functions that take internals
 			$search_path_safe = 0; 
 		}
 		



More information about the postgis-tickets mailing list