[postgis-tickets] r17318 - Fix syntax and indentation

Sandro Santilli strk at kbt.io
Sun Mar 10 11:51:05 PDT 2019


Author: strk
Date: 2019-03-10 11:51:04 -0700 (Sun, 10 Mar 2019)
New Revision: 17318

Modified:
   trunk/extensions/extensions_unpackage.sh
Log:
Fix syntax and indentation

Modified: trunk/extensions/extensions_unpackage.sh
===================================================================
--- trunk/extensions/extensions_unpackage.sh	2019-03-10 09:07:15 UTC (rev 17317)
+++ trunk/extensions/extensions_unpackage.sh	2019-03-10 18:51:04 UTC (rev 17318)
@@ -18,9 +18,10 @@
     regexp_replace(
       pg_catalog.pg_describe_object(d.classid, d.objid, 0),
       E'cast from (.*) to (.*)',
-      E'cast\(\\1 as \\2\)'),
-      E'(.*) for access method (.*)',
-      E'\\1 using \\2'
+      E'cast\\(\\\\1 as \\\\2\\)'
+    ),
+    E'(.*) for access method (.*)',
+    E'\\\\1 using \\\\2'
   ) || ';' AS sqladd
 FROM pg_catalog.pg_depend AS d
 INNER JOIN pg_extension AS e ON (d.refobjid = e.oid)



More information about the postgis-tickets mailing list