include dependencies.
Modify pgcompinclude to skip a common fcinfo error.
/* contrib/cube/cubedata.h */
+#include "fmgr.h"
+
#define CUBE_MAX_DIM (100)
typedef struct NDBOX
#include "postgres.h"
+#include "access/xlogdefs.h"
#include "nodes/makefuncs.h"
#include "nodes/replnodes.h"
#include "replication/walsender.h"
#include "access/gin.h"
#include "access/itup.h"
#include "fmgr.h"
+#include "storage/bufmgr.h"
#include "utils/rbtree.h"
#include "access/sdir.h"
#include "access/xlog.h"
#include "fmgr.h"
+#include "storage/bufmgr.h"
#include "storage/lock.h"
#include "utils/relcache.h"
#include "access/tupdesc.h"
#include "access/tupmacs.h"
+#include "storage/bufpage.h"
#include "storage/itemptr.h"
#include "storage/relfilenode.h"
#include "access/sdir.h"
#include "access/xlog.h"
#include "access/xlogutils.h"
-
+#include "catalog/pg_index.h"
/* There's room for a 16-bit vacuum cycle ID in BTPageOpaqueData */
typedef uint16 BTCycleId;
#include "access/rmgr.h"
#include "access/xlogdefs.h"
#include "lib/stringinfo.h"
+#include "replication/walsender.h"
#include "storage/buf.h"
#include "utils/pg_crc.h"
#include "utils/timestamp.h"
-
/*
* The overall layout of an XLOG record is:
* Fixed-size header (XLogRecord struct)
sed 's/->[a-zA-Z0-9_\.]*//g' "$FILE" >/tmp/$$a
echo "#include \"postgres.h\"" >/tmp/$$.c
echo "#include \"/tmp/$$a\"" >>/tmp/$$.c
+ # supress fcinfo errors
+ echo "#undef PG_GETARG_DATUM" >>/tmp/$$.c
+ echo "#define PG_GETARG_DATUM(n)" >>/tmp/$$.c
echo "void include_test(void);" >>/tmp/$$.c
echo "void include_test() {" >>/tmp/$$.c
pgdefine "$FILE" >>/tmp/$$.c