]> granicus.if.org Git - postgis/commit
Add costs to functions in the form of macros:
authorPaul Ramsey <pramsey@cleverelephant.ca>
Fri, 8 Mar 2019 21:48:08 +0000 (21:48 +0000)
committerPaul Ramsey <pramsey@cleverelephant.ca>
Fri, 8 Mar 2019 21:48:08 +0000 (21:48 +0000)
commit3ddc11483b2266d3a914ecfdeb3e2a343e0f6dd4
tree4311564cf314f72e04438c3a4e45f2f1c36f5850
parent0bf98c8c8db6d378ebb0cf619af508040a98eb0c
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

git-svn-id: http://svn.osgeo.org/postgis/trunk@17307 b70326c6-7e19-0410-871a-916f4a2858ee
postgis/geography.sql.in
postgis/postgis.sql.in
postgis/sqldefines.h.in