pgsql: Make more use of binaryheap_empty() and binaryheap_size(). - Mailing list pgsql-committers

From Nathan Bossart
Subject pgsql: Make more use of binaryheap_empty() and binaryheap_size().
Date
Msg-id E1uWgWE-004EXt-2V@gemulon.postgresql.org
Whole thread Raw
List 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@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(-)


pgsql-committers by date:

Previous
From: Nathan Bossart
Date:
Subject: pgsql: Document pg_get_multixact_members().
Next
From: Nathan Bossart
Date:
Subject: pgsql: Add commit 9e345415bc to .git-blame-ignore-revs.