top_builddir = ../../..
include $(top_builddir)/src/Makefile.global
-OBJS = ilist.o binaryheap.o pairingheap.o stringinfo.o
+OBJS = ilist.o binaryheap.o pairingheap.o rbtree.o stringinfo.o
include $(top_srcdir)/src/backend/common.mk
pairingheap.c - a pairing heap
+rbtree.c - a red-black tree
+
ilist.c - single and double-linked lists.
stringinfo.c - an extensible string type
The linked-lists in ilist.c can be embedded directly into other structs, as
opposed to the List interface in nodes/pg_list.h.
-
-In addition to these, there is an implementation of a Red-Black tree in
-src/backend/utils/adt/rbtree.c.
* Copyright (c) 2009-2014, PostgreSQL Global Development Group
*
* IDENTIFICATION
- * src/backend/utils/misc/rbtree.c
+ * src/backend/lib/rbtree.c
*
*-------------------------------------------------------------------------
*/
#include "postgres.h"
-#include "utils/rbtree.h"
+#include "lib/rbtree.h"
/*
override CPPFLAGS := -I. -I$(srcdir) $(CPPFLAGS)
-OBJS = guc.o help_config.o pg_rusage.o ps_status.o rbtree.o \
+OBJS = guc.o help_config.o pg_rusage.o ps_status.o \
superuser.o timeout.o tzparser.o
# This location might depend on the installation directories. Therefore
#include "access/itup.h"
#include "fmgr.h"
#include "storage/bufmgr.h"
-#include "utils/rbtree.h"
+#include "lib/rbtree.h"
/*
* Copyright (c) 2009-2014, PostgreSQL Global Development Group
*
* IDENTIFICATION
- * src/include/utils/rbtree.h
+ * src/include/lib/rbtree.h
*
*-------------------------------------------------------------------------
*/