include postgres.h into some of our .h files to silence warnings

pull/2957/head
Jelte Fennema 2019-09-06 12:38:56 +02:00
parent ea2e010d42
commit de5174f763
3 changed files with 6 additions and 0 deletions

View File

@ -14,6 +14,8 @@
#ifndef MASTER_METADATA_UTILITY_H
#define MASTER_METADATA_UTILITY_H
#include "postgres.h"
#include "access/heapam.h"
#include "access/htup.h"
#include "access/tupdesc.h"

View File

@ -11,6 +11,8 @@
#ifndef METADATA_CACHE_H
#define METADATA_CACHE_H
#include "postgres.h"
#include "fmgr.h"
#include "distributed/master_metadata_utility.h"
#include "distributed/pg_dist_partition.h"

View File

@ -14,6 +14,8 @@
#ifndef WORKER_PROTOCOL_H
#define WORKER_PROTOCOL_H
#include "postgres.h"
#include "fmgr.h"
#include "distributed/shardinterval_utils.h"
#include "lib/stringinfo.h"