pgsql: Basic binary heap implementation. - Mailing list pgsql-committers

From Robert Haas
Subject pgsql: Basic binary heap implementation.
Date
Msg-id E1Te6ni-0004vf-Pf@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Basic binary heap implementation.

There are probably other places where this can be used, but for now,
this just makes MergeAppend use it, so that this code will have test
coverage.  There is other work in the queue that will use this, as
well.

Abhijit Menon-Sen, reviewed by Andres Freund, Robert Haas, Álvaro
Herrera, Tom Lane, and others.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/7a2fe9bd0371b819aacc97a007ec1d955237d207

Modified Files
--------------
src/backend/executor/nodeMergeAppend.c |  114 ++++---------
src/backend/lib/Makefile               |    2 +-
src/backend/lib/binaryheap.c           |  293 ++++++++++++++++++++++++++++++++
src/include/lib/binaryheap.h           |   53 ++++++
src/include/nodes/execnodes.h          |    8 +-
5 files changed, 380 insertions(+), 90 deletions(-)


pgsql-committers by date:

Previous
From: Michael Meskes
Date:
Subject: pgsql: When processing nested structure pointer variables ecpg always e
Next
From: Tom Lane
Date:
Subject: pgsql: Fix assorted bugs in CREATE INDEX CONCURRENTLY.