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: Add a test harness for the binary heap code.
Date: Thu, 17 Jul 2025 21:33:34 +0000
Message-ID: <E1ucWEP-006opE-35@gemulon.postgresql.org> (raw)

Add a test harness for the binary heap code.

binaryheap is heavily used and already has decent test coverage,
but it lacks dedicated tests for its correctness.  This commit
changes that.

Author: Aleksander Alekseev <aleksander@tigerdata.com>
Discussion: https://postgr.es/m/CAJ7c6TMwp%2Bmb8MMoi%3DSMVMso2hYecoVu2Pwf2EOkesq0MiSKxw%40mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/b597ae6cc128b17038d461c5aa426d42f9cc33f9

Modified Files
--------------
src/test/modules/Makefile                          |   1 +
src/test/modules/meson.build                       |   1 +
src/test/modules/test_binaryheap/.gitignore        |   4 +
src/test/modules/test_binaryheap/Makefile          |  24 ++
.../test_binaryheap/expected/test_binaryheap.out   |  12 +
src/test/modules/test_binaryheap/meson.build       |  33 +++
.../test_binaryheap/sql/test_binaryheap.sql        |   8 +
.../test_binaryheap/test_binaryheap--1.0.sql       |   7 +
src/test/modules/test_binaryheap/test_binaryheap.c | 275 +++++++++++++++++++++
.../test_binaryheap/test_binaryheap.control        |   5 +
10 files changed, 370 insertions(+)



Message-ID: <E1ucWEP-006opE-35@gemulon.postgresql.org>
Permalink:  ../E1ucWEP-006opE-35@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1ucWEP-006opE-35@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: Add a test harness for the binary heap code.
  In-Reply-To: <E1ucWEP-006opE-35@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