pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: David Rowley <drowley@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Rename BufferAccessStrategyData.ring_size to nbuffers
Date: Mon, 03 Apr 2023 11:32:03 +0000
Message-ID: <E1pjIPp-0019Lq-SF@gemulon.postgresql.org> (raw)

Rename BufferAccessStrategyData.ring_size to nbuffers

The new name better reflects what the field is - the size of the buffers[]
array.  ring_size sounded more like it is in units of bytes.

An upcoming commit allows a BufferAccessStrategy of custom sizes, so it
seems relevant to improve this beforehand.

Author: Melanie Plageman
Reviewed-by: David Rowley
Discussion: https://postgr.es/m/CAAKRu_YefVbhg4rAxU2frYFdTap61UftH-kUNQZBvAs%2BYK81Zg%40mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/8d928e3a9fe7577e7abf2388b60cc67ed94f6d24

Modified Files
--------------
src/backend/storage/buffer/freelist.c | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)



Message-ID: <E1pjIPp-0019Lq-SF@gemulon.postgresql.org>
Permalink:  ../E1pjIPp-0019Lq-SF@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1pjIPp-0019Lq-SF@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 using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: drowley@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Rename BufferAccessStrategyData.ring_size to nbuffers
  In-Reply-To: <E1pjIPp-0019Lq-SF@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