summaryrefslogtreecommitdiff
path: root/src/backend/nodes/print.c
diff options
context:
space:
mode:
authorAlvaro Herrera <alvherre@alvh.no-ip.org>2012-08-28 19:02:00 -0400
committerAlvaro Herrera <alvherre@alvh.no-ip.org>2012-08-28 19:02:00 -0400
commit21c09e99dc252269360bd146afee9481fa80abbc (patch)
tree2f270759f02364279eeeda38c46283ca6b63a3d1 /src/backend/nodes/print.c
parentfda0594fc2f4c98ee50ea02fa196ca51db81ea70 (diff)
downloadpostgresql-21c09e99dc252269360bd146afee9481fa80abbc.tar.gz
Split heapam_xlog.h from heapam.h
The heapam XLog functions are used by other modules, not all of which are interested in the rest of the heapam API. With this, we let them get just the XLog stuff in which they are interested and not pollute them with unrelated includes. Also, since heapam.h no longer requires xlog.h, many files that do include heapam.h no longer get xlog.h automatically, including a few headers. This is useful because heapam.h is getting pulled in by execnodes.h, which is in turn included by a lot of files.
Diffstat (limited to 'src/backend/nodes/print.c')
-rw-r--r--src/backend/nodes/print.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/backend/nodes/print.c b/src/backend/nodes/print.c
index 8a5e59526d..379999cc3a 100644
--- a/src/backend/nodes/print.c
+++ b/src/backend/nodes/print.c
@@ -20,6 +20,7 @@
#include "postgres.h"
#include "access/printtup.h"
+#include "lib/stringinfo.h"
#include "nodes/print.h"
#include "optimizer/clauses.h"
#include "parser/parsetree.h"