From e11cb8ba2c9134c9f16253213f2f0cf089c5838e Mon Sep 17 00:00:00 2001 From: Tom Lane <tgl@sss.pgh.pa.us> Date: Wed, 6 Mar 2013 18:20:51 -0500 Subject: [PATCH] Fix missing #include in commands/matview.h. It needs parsenodes.h to be compilable regardless of previous headers. --- src/include/commands/matview.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/include/commands/matview.h b/src/include/commands/matview.h index 6de3c1aa93a..b5d52503c0d 100644 --- a/src/include/commands/matview.h +++ b/src/include/commands/matview.h @@ -4,7 +4,7 @@ * prototypes for matview.c. * * - * Portions Copyright (c) 1996-2012, PostgreSQL Global Development Group + * Portions Copyright (c) 1996-2013, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * * src/include/commands/matview.h @@ -15,9 +15,11 @@ #define MATVIEW_H #include "nodes/params.h" +#include "nodes/parsenodes.h" #include "tcop/dest.h" #include "utils/relcache.h" + extern void SetRelationIsScannable(Relation relation); extern void ExecRefreshMatView(RefreshMatViewStmt *stmt, const char *queryString, -- GitLab