pgsql: Extract the multiplier for CPU process cost of index page into a - Mailing list pgsql-committers

From Alexander Korotkov
Subject pgsql: Extract the multiplier for CPU process cost of index page into a
Date
Msg-id E1pEbi4-002gV8-34@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: Re: pgsql: Fix calculation of which GENERATED columns need to be updated.
Next
From: Tom Lane
Date:
Subject: pgsql: Doc: improve commentary about providing our own definitions of M