pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alexander Korotkov <akorotkov@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Extract the multiplier for CPU process cost of index page into a
Date: Sun, 08 Jan 2023 19:52:00 +0000
Message-ID: <E1pEbi4-002gV8-34@gemulon.postgresql.org> (raw)

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%3A175145969726136954...
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(-)



Message-ID: <E1pEbi4-002gV8-34@gemulon.postgresql.org>
Permalink:  ../E1pEbi4-002gV8-34@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1pEbi4-002gV8-34@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: akorotkov@postgresql.org
  Subject: Re: pgsql: Extract the multiplier for CPU process cost of index page into a
  In-Reply-To: <E1pEbi4-002gV8-34@gemulon.postgresql.org>
  References: <E1pEbi4-002gV8-34@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox