Rename BufferAccessStrategyData.ring_size to nbuffers

David Rowley <drowley@postgresql.org>

Commit: 8d928e3a9fe7577e7abf2388b60cc67ed94f6d24
Author: David Rowley <drowley@postgresql.org>
Date: 2023-04-03T11:31:16Z
Releases: 16.0
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

Files

PathChange+/−
src/backend/storage/buffer/freelist.c modified +9 −9

Discussion