[PostGIS] #2898: Define a guideline for function cost

PostGIS trac at osgeo.org
Thu Jun 18 09:20:33 PDT 2026


#2898: Define a guideline for function cost
--------------------------+-----------------------------
  Reporter:  strk         |      Owner:  strk
      Type:  enhancement  |     Status:  closed
  Priority:  medium       |  Milestone:  PostGIS Fund Me
 Component:  postgis      |    Version:  master
Resolution:  fixed        |   Keywords:
--------------------------+-----------------------------
Changes (by Darafei Praliaskouski <me@…>):

 * resolution:   => fixed
 * status:  new => closed

Comment:

 In [changeset:"663d846350266125cbed07fa50e3b534cfc4fe81/git" 663d846/git]:
 {{{#!CommitTicketReference repository="git"
 revision="663d846350266125cbed07fa50e3b534cfc4fe81"
 doc: document PostGIS function cost tiers

 Document the SQL cost-tier rule of thumb near the shared cost macros so
 contributors can pick DEFAULT, LOW, MEDIUM, or HIGH consistently.

 Clarify that detoasting is not a separate stable multiplier because its
 cost depends on input size and prior detoasting.

 Closes https://github.com/postgis/postgis/pull/933

 Closes #2898
 }}}
-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/2898#comment:11>
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