[PATCH] Use binaryheap_* macro where appropriate

From: Aleksander Alekseev <aleksander(at)timescale(dot)com>
To: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: [PATCH] Use binaryheap_* macro where appropriate
Date: 2025-06-26 10:18:10
Message-ID: CAJ7c6TPQMVL+028T4zuw9ZqL5Du9JavOLhBQLkJeK0RznYx_6w@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

I noticed several places where we access `struct binaryheap` directly
instead of using binaryheap_size() and binaryheap_empty() which
doesn't seem right. Here is the patch.

--
Best regards,
Aleksander Alekseev

Attachment Content-Type Size
v1-0001-Use-binaryheap_-macro-where-appropriate.patch application/octet-stream 2.9 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jelte Fennema-Nio 2025-06-26 10:43:44 Re: PG18 protocol version
Previous Message Tatsuo Ishii 2025-06-26 10:16:29 Re: PG18 protocol version