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

Nathan Bossart <nathan@postgresql.org>

Commit: 32bcf568cbc32ffc6d9be1b385d0f766720f7ebc
Author: Nathan Bossart <nathan@postgresql.org>
Date: 2025-07-01T19:19:07Z
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

Files

Discussion