Re: Red-Black tree traversal tests

Victor Drobny <v.drobny@postgrespro.ru>

From: Victor Drobny <v.drobny@postgrespro.ru>
To: Thomas Munro <thomas.munro@enterprisedb.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, Aleksander Alekseev <a.alekseev@postgrespro.ru>, Pgsql Hackers <pgsql-hackers@postgresql.org>
Date: 2017-09-08T15:44:00Z
Lists: pgsql-hackers

Attachments

On 2017-09-08 15:23, Thomas Munro wrote:
> On Fri, Sep 8, 2017 at 9:03 PM, Victor Drobny <v.drobny@postgrespro.ru> 
> wrote:
>> Thank you very much for your review. In the attachment you can find v2 
>> of
>> the patch.
> 
> FYI this version crashes for me:
> 
> test test_rbtree              ... FAILED (test process exited with exit 
> code 2)
> 
> It's trying to call rb->combiner which is null.
> 
Thank you for pointing on it. Here is a fixed version.

-- 
Victor Drobny
Postgres Professional: http://www.postgrespro.com
The Russian Postgres Company

Commits

  1. Add a test harness for the red-black tree code.