pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Nathan Bossart <nathan@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Make more use of binaryheap_empty() and binaryheap_size().
Date: Tue, 01 Jul 2025 19:19:50 +0000
Message-ID: <E1uWgWE-004EXt-2V@gemulon.postgresql.org> (raw)

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(-)



Message-ID: <E1uWgWE-004EXt-2V@gemulon.postgresql.org>
Permalink:  ../E1uWgWE-004EXt-2V@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1uWgWE-004EXt-2V@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: nathan@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Make more use of binaryheap_empty() and binaryheap_size().
  In-Reply-To: <E1uWgWE-004EXt-2V@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox