Make more use of binaryheap_empty() and binaryheap_size().
Nathan Bossart <nathan@postgresql.org>
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
| Path | Change | +/− |
|---|---|---|
| src/backend/postmaster/pgarch.c | modified | +6 −6 |
| src/backend/replication/logical/reorderbuffer.c | modified | +1 −1 |
Discussion
- [PATCH] Use binaryheap_* macro where appropriate 3 messages · 2025-06-26 → 2025-07-01