File tree Expand file tree Collapse file tree 6 files changed +8
-9
lines changed Expand file tree Collapse file tree 6 files changed +8
-9
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,6 @@ subdir = src/backend/lib
1212top_builddir = ../../..
1313include $(top_builddir ) /src/Makefile.global
1414
15- OBJS = ilist.o binaryheap.o pairingheap.o stringinfo.o
15+ OBJS = ilist.o binaryheap.o pairingheap.o rbtree.o stringinfo.o
1616
1717include $(top_srcdir ) /src/backend/common.mk
Original file line number Diff line number Diff line change @@ -5,6 +5,8 @@ binaryheap.c - a binary heap
55
66pairingheap.c - a pairing heap
77
8+ rbtree.c - a red-black tree
9+
810ilist.c - single and double-linked lists.
911
1012stringinfo.c - an extensible string type
@@ -19,6 +21,3 @@ while the binary heap works with plain Datums or pointers.
1921
2022The linked-lists in ilist.c can be embedded directly into other structs, as
2123opposed to the List interface in nodes/pg_list.h.
22-
23- In addition to these, there is an implementation of a Red-Black tree in
24- src/backend/utils/adt/rbtree.c.
Original file line number Diff line number Diff line change 2020 * Copyright (c) 2009-2014, PostgreSQL Global Development Group
2121 *
2222 * IDENTIFICATION
23- * src/backend/utils/misc /rbtree.c
23+ * src/backend/lib /rbtree.c
2424 *
2525 *-------------------------------------------------------------------------
2626 */
2727#include "postgres.h"
2828
29- #include "utils /rbtree.h"
29+ #include "lib /rbtree.h"
3030
3131
3232/*
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ include $(top_builddir)/src/Makefile.global
1414
1515override CPPFLAGS := -I. -I$(srcdir ) $(CPPFLAGS )
1616
17- OBJS = guc.o help_config.o pg_rusage.o ps_status.o rbtree.o \
17+ OBJS = guc.o help_config.o pg_rusage.o ps_status.o \
1818 superuser.o timeout.o tzparser.o
1919
2020# This location might depend on the installation directories. Therefore
Original file line number Diff line number Diff line change 1515#include "access/itup.h"
1616#include "fmgr.h"
1717#include "storage/bufmgr.h"
18- #include "utils /rbtree.h"
18+ #include "lib /rbtree.h"
1919
2020
2121/*
Original file line number Diff line number Diff line change 66 * Copyright (c) 2009-2014, PostgreSQL Global Development Group
77 *
88 * IDENTIFICATION
9- * src/include/utils /rbtree.h
9+ * src/include/lib /rbtree.h
1010 *
1111 *-------------------------------------------------------------------------
1212 */
You can’t perform that action at this time.
0 commit comments