Extract the multiplier for CPU process cost of index page into a macro

Alexander Korotkov <akorotkov@postgresql.org>

Commit: eb5c4e953bbd2fab07be74df93f4080bab60176c
Author: Alexander Korotkov <akorotkov@postgresql.org>
Date: 2023-01-08T19:37:33Z
Releases: 16.0
Extract the multiplier for CPU process cost of index page into a macro

B-tree, GiST and SP-GiST all charge 50.0 * cpu_operator_cost for processing
an index page.  Extract this to a macro to avoid repeated magic numbers.

Discussion: https://mail.google.com/mail/u/0/?ik=a20b091faa&view=om&permmsgid=msg-f%3A1751459697261369543
Author: Ronan Dunklau

Files

PathChange+/−
src/backend/utils/adt/selfuncs.c modified +4 −3