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:
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -1,6 +1,8 @@
|
||||
/*
|
||||
* contrib/btree_gist/btree_float4.c
|
||||
*/
|
||||
#include "postgres.h"
|
||||
|
||||
#include "btree_gist.h"
|
||||
#include "btree_utils_num.h"
|
||||
|
||||
|
@ -1,6 +1,8 @@
|
||||
/*
|
||||
* contrib/btree_gist/btree_float8.c
|
||||
*/
|
||||
#include "postgres.h"
|
||||
|
||||
#include "btree_gist.h"
|
||||
#include "btree_utils_num.h"
|
||||
|
||||
|
@ -1,6 +1,8 @@
|
||||
/*
|
||||
* contrib/btree_gist/btree_gist.c
|
||||
*/
|
||||
#include "postgres.h"
|
||||
|
||||
#include "btree_gist.h"
|
||||
|
||||
PG_MODULE_MAGIC;
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -1,6 +1,8 @@
|
||||
/*
|
||||
* contrib/btree_gist/btree_int2.c
|
||||
*/
|
||||
#include "postgres.h"
|
||||
|
||||
#include "btree_gist.h"
|
||||
#include "btree_utils_num.h"
|
||||
|
||||
|
@ -1,6 +1,8 @@
|
||||
/*
|
||||
* contrib/btree_gist/btree_int4.c
|
||||
*/
|
||||
#include "postgres.h"
|
||||
|
||||
#include "btree_gist.h"
|
||||
#include "btree_utils_num.h"
|
||||
|
||||
|
@ -1,6 +1,8 @@
|
||||
/*
|
||||
* contrib/btree_gist/btree_int8.c
|
||||
*/
|
||||
#include "postgres.h"
|
||||
|
||||
#include "btree_gist.h"
|
||||
#include "btree_utils_num.h"
|
||||
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -1,6 +1,8 @@
|
||||
/*
|
||||
* contrib/btree_gist/btree_numeric.c
|
||||
*/
|
||||
#include "postgres.h"
|
||||
|
||||
#include "btree_gist.h"
|
||||
|
||||
#include <math.h>
|
||||
|
@ -1,6 +1,8 @@
|
||||
/*
|
||||
* contrib/btree_gist/btree_oid.c
|
||||
*/
|
||||
#include "postgres.h"
|
||||
|
||||
#include "btree_gist.h"
|
||||
#include "btree_utils_num.h"
|
||||
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -1,6 +1,8 @@
|
||||
/*
|
||||
* contrib/btree_gist/btree_utils_var.c
|
||||
*/
|
||||
#include "postgres.h"
|
||||
|
||||
#include "btree_gist.h"
|
||||
|
||||
#include <math.h>
|
||||
|
Reference in New Issue
Block a user