mirror of
https://git.osgeo.org/gitea/postgis/postgis
synced 2024-10-25 09:32:46 +00:00
Fix AGG signatures with multi-word typenames
For example... "double precision". This fixes upgrades involving drop/recreate of aggregates git-svn-id: http://svn.osgeo.org/postgis/trunk@12262 b70326c6-7e19-0410-871a-916f4a2858ee
This commit is contained in:
parent
1a3acbde35
commit
27965e6182
|
@ -97,10 +97,10 @@ my $objs = {
|
|||
},
|
||||
"202" => {
|
||||
"aggregates" => {
|
||||
"st_summarystatsagg(raster,integer,boolean,doubleprecision)" => 1,
|
||||
"st_summarystatsagg(raster,boolean,doubleprecision)" => 1,
|
||||
"st_summarystatsagg(raster,integer,boolean,double precision)" => 1,
|
||||
"st_summarystatsagg(raster,boolean,double precision)" => 1,
|
||||
"st_summarystatsagg(raster,integer)" => 1,
|
||||
"st_countagg(raster,integer,boolean,doubleprecision)" => 1,
|
||||
"st_countagg(raster,integer,boolean,double precision)" => 1,
|
||||
"st_countagg(raster,integer,boolean)" => 1,
|
||||
"st_countagg(raster,boolean)" => 1
|
||||
}
|
||||
|
@ -280,7 +280,8 @@ while(<INPUT>)
|
|||
my $def = $_;
|
||||
if ( /^create aggregate\s+\S+\s*\(([^)]*)\)/i ) {
|
||||
$aggtype = $1;
|
||||
$aggtype =~ s/\s*//g;
|
||||
$aggtype =~ s/\s*,\s*/,/g; # drop spaces around commas
|
||||
$aggtype =~ s/\s\s*/ /g; # collapse multiple spaces into one
|
||||
}
|
||||
while(<INPUT>)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue