From: | Peter Geoghegan <pg(at)bowt(dot)ie> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Rename nbtree split REDO routine variables. |
Date: | 2020-08-07 16:53:55 |
Message-ID: | E1k45cx-00030Q-Pd@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Rename nbtree split REDO routine variables.
Make the nbtree page split REDO routine variable names consistent with
_bt_split() (which handles the original execution of page splits).
These names make the code easier to follow by making the distinction
between the original page and the left half of the split clear. (The
left half of the split page is a temp page that REDO creates to replace
the origpage contents.)
Also reduce the elevel used when adding a new high key to the temp page
from PANIC to ERROR to be consistent. We already only raise an ERROR
when data item PageAddItem() temp page calls fail.
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/3df92bbd1dba98f72e3f005406463b0718193a0f
Modified Files
--------------
src/backend/access/nbtree/nbtxlog.c | 96 ++++++++++++++++++-------------------
1 file changed, 48 insertions(+), 48 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2020-08-07 18:31:17 | pgsql: Support testing of cases where table schemas change after planni |
Previous Message | Etsuro Fujita | 2020-08-07 05:49:07 | pgsql: Fix yet another issue with step generation in partition pruning. |