[PostGIS] #4315: PG12: Optimize FunctionCall parameter size in rtpg_mapalgebra.c
PostGIS
trac at osgeo.org
Sat Jun 20 11:16:54 PDT 2026
#4315: PG12: Optimize FunctionCall parameter size in rtpg_mapalgebra.c
--------------------------+-----------------------------
Reporter: Algunenano | Owner: dustymugs
Type: enhancement | Status: closed
Priority: low | Milestone: PostGIS Fund Me
Component: raster | Version: master
Resolution: fixed | Keywords:
--------------------------+-----------------------------
Changes (by Darafei Praliaskouski <me@…>):
* resolution: => fixed
* status: new => closed
Comment:
In [changeset:"4ec0a1dd0a311af57c593656637f5c98ac7a1799/git" 4ec0a1d/git]:
{{{#!CommitTicketReference repository="git"
revision="4ec0a1dd0a311af57c593656637f5c98ac7a1799"
Improve raster MapAlgebra callback arity handling
Allow n-raster ST_MapAlgebra callbacks to omit the variadic userargs
parameter, matching the existing callback arity flexibility in adjacent
MapAlgebra variants. Size raster MapAlgebra FunctionCallInfo storage to
the callback arities used instead of allocating FUNC_MAX_ARGS slots.
Track the owned empty userargs array used for strict three-argument
callbacks so it can be released with the MapAlgebra argument state.
Closes #2804
Closes #4315
Closes https://github.com/postgis/postgis/pull/1035
}}}
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4315#comment:1>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.
More information about the postgis-tickets
mailing list