From: Sandro Santilli Date: Sat, 24 Dec 2011 11:21:41 +0000 (+0000) Subject: Allow fully-qualified basetype name for aggregates X-Git-Tag: 2.0.0alpha1~316 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=92dc2c8858a08fbedd9e6f1e834766513ac665e5;p=postgis Allow fully-qualified basetype name for aggregates git-svn-id: http://svn.osgeo.org/postgis/trunk@8559 b70326c6-7e19-0410-871a-916f4a2858ee --- 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"; }