]> granicus.if.org Git - postgresql/commitdiff
Remove unnecessary include
authorPeter Eisentraut <peter_e@gmx.net>
Tue, 29 Nov 2016 17:00:00 +0000 (12:00 -0500)
committerPeter Eisentraut <peter_e@gmx.net>
Tue, 17 Jan 2017 17:35:19 +0000 (12:35 -0500)
Between 6eeb95f0f56bb5e8a0a9328aeec04c9e6de87272 and
7b1c2a0f2066672b24f6257ec9b8d78a1754f494, builtins.h contained
additional prototypes that have now been moved elsewhere, so we don't
need to include nodes/parsenodes.h anymore.

Fix some files that were relying on builtins.h implicitly pulling in
some unrelated stuff they needed.

Reviewed-by: Pavel Stehule <pavel.stehule@gmail.com>
src/backend/catalog/pg_enum.c
src/backend/utils/adt/oid.c
src/include/utils/builtins.h

index 77cf608bb13329b0beceb86632030cbd1f824207..089a9a0a6582e569112271f4d3228636f1d387e1 100644 (file)
@@ -24,6 +24,7 @@
 #include "catalog/pg_type.h"
 #include "storage/lmgr.h"
 #include "miscadmin.h"
+#include "nodes/value.h"
 #include "utils/builtins.h"
 #include "utils/catcache.h"
 #include "utils/fmgroids.h"
index fd123827ddcb5f5ad97d7028bc0c144422aeca29..b0478f78bd462e82896fdab19aa3e7b3674e9ab2 100644 (file)
@@ -19,6 +19,7 @@
 
 #include "catalog/pg_type.h"
 #include "libpq/pqformat.h"
+#include "nodes/value.h"
 #include "utils/array.h"
 #include "utils/builtins.h"
 
index e1bb344e4f9f2a202911d0d045d83ebc94f51bd5..d57c94c677023824836a92e0be0d46a2b6fc175d 100644 (file)
@@ -15,7 +15,6 @@
 #define BUILTINS_H
 
 #include "fmgr.h"
-#include "nodes/parsenodes.h"
 #include "utils/sortsupport.h"
 
 /*