1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-13 07:41:39 +03:00

Add postgres.h to *.c files for pg_upgrade, ltree, and btree_gist, and

remove from local *.h files.

Per suggestion from Alvaro.
This commit is contained in:
Bruce Momjian
2011-08-26 21:16:24 -04:00
parent 8b0f0822fd
commit f1312b5ed3
40 changed files with 74 additions and 4 deletions

View File

@ -1,6 +1,8 @@
/*
* contrib/btree_gist/btree_bit.c
*/
#include "postgres.h"
#include "btree_gist.h"
#include "btree_utils_var.h"
#include "utils/bytea.h"

View File

@ -1,6 +1,8 @@
/*
* contrib/btree_gist/btree_bytea.c
*/
#include "postgres.h"
#include "btree_gist.h"
#include "btree_utils_var.h"
#include "utils/bytea.h"

View File

@ -1,6 +1,8 @@
/*
* contrib/btree_gist/btree_cash.c
*/
#include "postgres.h"
#include "btree_gist.h"
#include "btree_utils_num.h"
#include "utils/cash.h"

View File

@ -1,6 +1,8 @@
/*
* contrib/btree_gist/btree_date.c
*/
#include "postgres.h"
#include "btree_gist.h"
#include "btree_utils_num.h"
#include "utils/date.h"

View File

@ -1,6 +1,8 @@
/*
* contrib/btree_gist/btree_float4.c
*/
#include "postgres.h"
#include "btree_gist.h"
#include "btree_utils_num.h"

View File

@ -1,6 +1,8 @@
/*
* contrib/btree_gist/btree_float8.c
*/
#include "postgres.h"
#include "btree_gist.h"
#include "btree_utils_num.h"

View File

@ -1,6 +1,8 @@
/*
* contrib/btree_gist/btree_gist.c
*/
#include "postgres.h"
#include "btree_gist.h"
PG_MODULE_MAGIC;

View File

@ -4,7 +4,6 @@
#ifndef __BTREE_GIST_H__
#define __BTREE_GIST_H__
#include "postgres.h"
#include "access/gist.h"
#include "access/itup.h"
#include "access/nbtree.h"

View File

@ -1,6 +1,8 @@
/*
* contrib/btree_gist/btree_inet.c
*/
#include "postgres.h"
#include "btree_gist.h"
#include "btree_utils_num.h"
#include "utils/builtins.h"

View File

@ -1,6 +1,8 @@
/*
* contrib/btree_gist/btree_int2.c
*/
#include "postgres.h"
#include "btree_gist.h"
#include "btree_utils_num.h"

View File

@ -1,6 +1,8 @@
/*
* contrib/btree_gist/btree_int4.c
*/
#include "postgres.h"
#include "btree_gist.h"
#include "btree_utils_num.h"

View File

@ -1,6 +1,8 @@
/*
* contrib/btree_gist/btree_int8.c
*/
#include "postgres.h"
#include "btree_gist.h"
#include "btree_utils_num.h"

View File

@ -1,6 +1,8 @@
/*
* contrib/btree_gist/btree_interval.c
*/
#include "postgres.h"
#include "btree_gist.h"
#include "btree_utils_num.h"
#include "utils/timestamp.h"

View File

@ -1,6 +1,8 @@
/*
* contrib/btree_gist/btree_macaddr.c
*/
#include "postgres.h"
#include "btree_gist.h"
#include "btree_utils_num.h"
#include "utils/builtins.h"

View File

@ -1,6 +1,8 @@
/*
* contrib/btree_gist/btree_numeric.c
*/
#include "postgres.h"
#include "btree_gist.h"
#include <math.h>

View File

@ -1,6 +1,8 @@
/*
* contrib/btree_gist/btree_oid.c
*/
#include "postgres.h"
#include "btree_gist.h"
#include "btree_utils_num.h"

View File

@ -1,6 +1,8 @@
/*
* contrib/btree_gist/btree_text.c
*/
#include "postgres.h"
#include "btree_gist.h"
#include "btree_utils_var.h"
#include "utils/builtins.h"

View File

@ -1,6 +1,8 @@
/*
* contrib/btree_gist/btree_time.c
*/
#include "postgres.h"
#include "btree_gist.h"
#include "btree_utils_num.h"
#include "utils/date.h"

View File

@ -1,6 +1,8 @@
/*
* contrib/btree_gist/btree_ts.c
*/
#include "postgres.h"
#include "btree_gist.h"
#include "btree_utils_num.h"
#include "utils/builtins.h"

View File

@ -1,6 +1,8 @@
/*
* contrib/btree_gist/btree_utils_num.c
*/
#include "postgres.h"
#include "btree_gist.h"
#include "btree_utils_num.h"
#include "utils/cash.h"

View File

@ -1,6 +1,8 @@
/*
* contrib/btree_gist/btree_utils_var.c
*/
#include "postgres.h"
#include "btree_gist.h"
#include <math.h>