Rename BufferAccessStrategyData.ring_size to nbuffers
authorDavid Rowley <drowley@postgresql.org>
Mon, 3 Apr 2023 11:31:16 +0000 (23:31 +1200)
committerDavid Rowley <drowley@postgresql.org>
Mon, 3 Apr 2023 11:31:16 +0000 (23:31 +1200)
commit8d928e3a9fe7577e7abf2388b60cc67ed94f6d24
tree61ebd0676b331c02de23844c615f1251fefbcd15
parent4830f102432518d06b50f61e0ab4c0c07082617b
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
src/backend/storage/buffer/freelist.c