[postgis-tickets] [PostGIS] #4344: Macro-based COSTS for version specific costing
PostGIS
trac at osgeo.org
Fri Mar 8 13:48:08 PST 2019
#4344: Macro-based COSTS for version specific costing
--------------------------+---------------------------
Reporter: pramsey | Owner: pramsey
Type: enhancement | Status: closed
Priority: high | Milestone: PostGIS 3.0.0
Component: postgis | Version: trunk
Resolution: fixed | Keywords:
--------------------------+---------------------------
Changes (by pramsey):
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"17307" 17307]:
{{{
#!CommitTicketReference repository="" revision="17307"
Add costs to functions in the form of macros:
_COST_LOW, _COST_MEDIUM, _COST_HIGH
Macros are set in sqldefines.h.in and are switched
on PgSQL version. Prior to PG12, costs should be
small or nonexistent, to avoid SQL inlining issues.
After Pg12, costs can be higher to hopefully
force more parallelism in plans.
Closes #4344
}}}
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4344#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