Обсуждение: pgsql: Extract the multiplier for CPU process cost of index page into a

Поиск
Список
Период
Сортировка

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

От
Alexander Korotkov
Дата:
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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/eb5c4e953bbd2fab07be74df93f4080bab60176c

Modified Files
--------------
src/backend/utils/adt/selfuncs.c | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)