From: Sandro Santilli Date: Sun, 10 Mar 2019 18:51:04 +0000 (+0000) Subject: Fix syntax and indentation X-Git-Tag: 3.0.0alpha1~97 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cfb5349f83366acfeae6822b765dbb43918c4fbd;p=postgis Fix syntax and indentation git-svn-id: http://svn.osgeo.org/postgis/trunk@17318 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/extensions/extensions_unpackage.sh b/extensions/extensions_unpackage.sh index 5e7f48f1e..a4ba8b57f 100755 --- a/extensions/extensions_unpackage.sh +++ b/extensions/extensions_unpackage.sh @@ -18,9 +18,10 @@ SELECT 'ALTER EXTENSION ' || extname || ' DROP ' || 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)