[postgis-tickets] r16718 - Do not use CASCADE when uninstalling operators

Sandro Santilli strk at kbt.io
Thu Sep 6 03:20:56 PDT 2018


Author: strk
Date: 2018-09-06 15:20:56 -0700 (Thu, 06 Sep 2018)
New Revision: 16718

Modified:
   trunk/utils/create_undef.pl
Log:
Do not use CASCADE when uninstalling operators

The least CASCADE we have, the better.

Modified: trunk/utils/create_undef.pl
===================================================================
--- trunk/utils/create_undef.pl	2018-09-06 20:17:50 UTC (rev 16717)
+++ trunk/utils/create_undef.pl	2018-09-06 22:20:56 UTC (rev 16718)
@@ -194,7 +194,7 @@
 {
 	if ($op =~ /create operator ([^(]+)\s*\(.*LEFTARG\s*=\s*(\w+),\s*RIGHTARG\s*=\s*(\w+).*/ism )
 	{
-		print "DROP OPERATOR IF EXISTS $1 ($2,$3) CASCADE;\n";
+		print "DROP OPERATOR IF EXISTS $1 ($2,$3);\n";
 	}
 	else
 	{



More information about the postgis-tickets mailing list