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

From: Nathan Bossart <nathan(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Make more use of binaryheap_empty() and binaryheap_size().
Date: 2025-07-01 19:19:50
Message-ID: E1uWgWE-004EXt-2V@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(at)timescale(dot)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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Nathan Bossart 2025-07-01 19:31:05 pgsql: Add commit 9e345415bc to .git-blame-ignore-revs.
Previous Message Nathan Bossart 2025-07-01 18:55:45 pgsql: Document pg_get_multixact_members().