Re: [PATCH] Remove unused argument in btree_xlog_split

Heikki Linnakangas <hlinnaka@iki.fi>

From: Heikki Linnakangas <hlinnaka@iki.fi>
To: Aleksander Alekseev <a.alekseev@postgrespro.ru>, Robert Haas <robertmhaas@gmail.com>
Cc: PostgreSQL Hackers <pgsql-hackers@postgresql.org>, Anastasia Lubennikova <a.lubennikova@postgrespro.ru>
Date: 2017-08-16T09:28:20Z
Lists: pgsql-hackers
On 04/06/2017 03:21 PM, Aleksander Alekseev wrote:
> Hi Robert,
> 
>> Hmm.  I don't see anything wrong with that, particularly, but it seems
>> we also don't need the distinction between XLOG_BTREE_SPLIT_L and
>> XLOG_BTREE_SPLIT_L_ROOT or likewise between XLOG_BTREE_SPLIT_R and
>> XLOG_BTREE_SPLIT_R_ROOT -- in which case I think this patch should go
>> a little further and do all of that together.
> 
> Thank you for sharing your thoughts on this patch. Here is a new
> version.

Committed, thanks.

- Heikki


Commits

  1. Remove dedicated B-tree root-split record types.

  2. Make the handling of interrupted B-tree page splits more robust.