pgsql: Remove redundant incomplete split assertion.

From: Peter Geoghegan <pg(at)bowt(dot)ie>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Remove redundant incomplete split assertion.
Date: 2020-01-06 01:43:26
Message-ID: E1ioHQU-0004tX-CF@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Remove redundant incomplete split assertion.

The fastpath insert optimization's incomplete split flag Assert() is
redundant. We'll reach the more general Assert() within
_bt_findinsertloc() in all cases. (Besides, Assert()'ing that the
rightmost page doesn't have the flag set never made much sense.)

Branch
------
master

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

Modified Files
--------------
src/backend/access/nbtree/nbtinsert.c | 5 -----
1 file changed, 5 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Geoghegan 2020-01-06 01:46:48 Re: pgsql: Add reusable routine for making arrays unique.
Previous Message Alvaro Herrera 2020-01-06 01:31:41 Re: pgsql: Add reusable routine for making arrays unique.