Commit cfb5349f authored by Sandro Santilli's avatar Sandro Santilli

Fix syntax and indentation

git-svn-id: http://svn.osgeo.org/postgis/trunk@17318 b70326c6-7e19-0410-871a-916f4a2858ee
parent bb76535e
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment