Rename nbtree split REDO routine variables.
authorPeter Geoghegan <pg@bowt.ie>
Fri, 7 Aug 2020 16:53:27 +0000 (09:53 -0700)
committerPeter Geoghegan <pg@bowt.ie>
Fri, 7 Aug 2020 16:53:27 +0000 (09:53 -0700)
commit3df92bbd1dba98f72e3f005406463b0718193a0f
tree32a303887572d95631111f14f0e49cf81e067585
parent199cec9779504c08aaa8159c6308283156547409
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.
src/backend/access/nbtree/nbtxlog.c