pgsql: Make _bt_insertonpg() more like _bt_split().

Поиск
Список
Период
Сортировка
От Peter Geoghegan
Тема pgsql: Make _bt_insertonpg() more like _bt_split().
Дата
Msg-id E1jOBIk-0003iU-Pw@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Make _bt_insertonpg() more like _bt_split().

It seems like a good idea for nbtree's retail insert code to be
absolutely consistent with nbtree's page split code for anything that
naturally requires equivalent handling.  Anything that concerns
inserting newitem (which is handled as part of the page split atomic
action when a page split is required) should work in exactly the same
way.  With that in mind, make _bt_insertonpg() handle 'cbuf' in a way
that matches _bt_split().

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/826ee1a019127d611bb0fd22ca878142bfb077ac

Modified Files
--------------
src/backend/access/nbtree/nbtinsert.c | 21 ++++++++++-----------
1 file changed, 10 insertions(+), 11 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Noah Misch
Дата:
Сообщение: pgsql: Add a wait_for_catchup() before immediate stop of a test master.
Следующее
От: Amit Kapila
Дата:
Сообщение: pgsql: Comments and doc fixes for commit 40d964ec99.