Thread: pgsql: Make more use of binaryheap_empty() and binaryheap_size().

pgsql: Make more use of binaryheap_empty() and binaryheap_size().

From
Nathan Bossart
Date:
Make more use of binaryheap_empty() and binaryheap_size().

A few places were accessing bh_size directly instead of via these
handy macros.

Author: Aleksander Alekseev <aleksander@timescale.com>
Discussion: https://postgr.es/m/CAJ7c6TPQMVL%2B028T4zuw9ZqL5Du9JavOLhBQLkJeK0RznYx_6w%40mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/32bcf568cbc32ffc6d9be1b385d0f766720f7ebc

Modified Files
--------------
src/backend/postmaster/pgarch.c                 | 12 ++++++------
src/backend/replication/logical/reorderbuffer.c |  2 +-
2 files changed, 7 insertions(+), 7 deletions(-)