Обсуждение: pgsql: Make binaryheap enlargeable.

Поиск
Список
Период
Сортировка

pgsql: Make binaryheap enlargeable.

От
Masahiko Sawada
Дата:
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(-)