mirror of
https://github.com/postgres/postgres.git
synced 2025-11-19 13:42:17 +03:00
There are a couple of places in frontend code that could make use
of this simple binary heap implementation. This commit makes
binaryheap usable in frontend code, much like commit 26aaf97b68 did
for StringInfo. Like StringInfo, the header file is left in lib/
to reduce the likelihood of unnecessary breakage.
The frontend version of binaryheap exposes a void *-based API since
frontend code does not have access to the Datum definitions. This
seemed like a better approach than switching all existing uses to
void * or making the Datum definitions available to frontend code.
Reviewed-by: Tom Lane, Alvaro Herrera
Discussion: https://postgr.es/m/3612876.1689443232%40sss.pgh.pa.us
27 lines
546 B
Makefile
27 lines
546 B
Makefile
#-------------------------------------------------------------------------
|
|
#
|
|
# Makefile--
|
|
# Makefile for lib (miscellaneous stuff)
|
|
#
|
|
# IDENTIFICATION
|
|
# src/backend/lib/Makefile
|
|
#
|
|
#-------------------------------------------------------------------------
|
|
|
|
subdir = src/backend/lib
|
|
top_builddir = ../../..
|
|
include $(top_builddir)/src/Makefile.global
|
|
|
|
OBJS = \
|
|
bipartite_match.o \
|
|
bloomfilter.o \
|
|
dshash.o \
|
|
hyperloglog.o \
|
|
ilist.o \
|
|
integerset.o \
|
|
knapsack.o \
|
|
pairingheap.o \
|
|
rbtree.o \
|
|
|
|
include $(top_srcdir)/src/backend/common.mk
|