From 92dc2c8858a08fbedd9e6f1e834766513ac665e5 Mon Sep 17 00:00:00 2001 From: Sandro Santilli Date: Sat, 24 Dec 2011 11:21:41 +0000 Subject: [PATCH] Allow fully-qualified basetype name for aggregates git-svn-id: http://svn.osgeo.org/postgis/trunk@8559 b70326c6-7e19-0410-871a-916f4a2858ee --- utils/create_undef.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/create_undef.pl b/utils/create_undef.pl index 2119fcf46..432876415 100755 --- a/utils/create_undef.pl +++ b/utils/create_undef.pl @@ -161,11 +161,11 @@ foreach my $table (@tables) print "-- Drop all aggregates.\n"; foreach my $agg (@aggs) { - if ( $agg =~ /create aggregate\s*([\w\.]+)\s*\(\s*.*basetype = (\w+)/ism ) + if ( $agg =~ /create aggregate\s*([\w\.]+)\s*\(\s*.*basetype = ([\w\.]+)/ism ) { print "DROP AGGREGATE $1 ($2);\n"; } - elsif ( $agg =~ /create aggregate\s*([\w\.]+)\s*\(\s*([\w,\s]+)\s*\)/ism ) + elsif ( $agg =~ /create aggregate\s*([\w\.]+)\s*\(\s*([\w,\.\s]+)\s*\)/ism ) { print "DROP AGGREGATE $1 ($2);\n"; } -- 2.40.0