pgsql: Make binaryheap enlargeable.

Поиск
Список
Период
Сортировка
От Masahiko Sawada
Тема pgsql: Make binaryheap enlargeable.
Дата
Msg-id E1rrpRd-000DLh-9P@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Make binaryheap enlargeable.

The node array space of the binaryheap is doubled when there is no
available space.

Reviewed-by: Vignesh C, Peter Smith, Hayato Kuroda, Ajin Cherian,
Tomas Vondra, Shubham Khanna
Discussion: https://postgr.es/m/CAD21AoDffo37RC-eUuyHJKVEr017V2YYDLyn1xF_00ofptWbkg%40mail.gmail.com

Branch
------
master

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

Modified Files
--------------
src/common/binaryheap.c      | 49 +++++++++++++++++++++++---------------------
src/include/lib/binaryheap.h |  4 ++--
2 files changed, 28 insertions(+), 25 deletions(-)


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

Предыдущее
От: Alexander Korotkov
Дата:
Сообщение: pgsql: Move WaitLSNShmemInit() to CreateOrAttachShmemStructs()
Следующее
От: Masahiko Sawada
Дата:
Сообщение: pgsql: Add functions to binaryheap for efficient key removal and update