From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@postgresql.org
Subject: pgsql: Add a test harness for the red-black tree code.
Date: Sun, 10 Sep 2017 17:27:03 +0000
Message-ID: <E1dr60d-0003Ex-DH@gemulon.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>
Add a test harness for the red-black tree code.
This improves the regression tests' coverage of rbtree.c from pretty
awful (because some of the functions aren't used yet) to basically 100%.
Victor Drobny, reviewed by Aleksander Alekseev and myself
Discussion: https://postgr.es/m/c9d61310e16e75f8acaf6cb1c48b7b77@postgrespro.ru
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/610bbdd8acfcbeedad1176188f53ce5c7905e280
Modified Files
--------------
src/test/modules/Makefile | 1 +
src/test/modules/test_rbtree/.gitignore | 4 +
src/test/modules/test_rbtree/Makefile | 21 ++
src/test/modules/test_rbtree/README | 13 +
.../modules/test_rbtree/expected/test_rbtree.out | 12 +
src/test/modules/test_rbtree/sql/test_rbtree.sql | 8 +
src/test/modules/test_rbtree/test_rbtree--1.0.sql | 8 +
src/test/modules/test_rbtree/test_rbtree.c | 413 +++++++++++++++++++++
src/test/modules/test_rbtree/test_rbtree.control | 4 +
9 files changed, 484 insertions(+)
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: tgl@sss.pgh.pa.us
Subject: Re: pgsql: Add a test harness for the red-black tree code.
In-Reply-To: <E1dr60d-0003Ex-DH@gemulon.postgresql.org>
References: <E1dr60d-0003Ex-DH@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