Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf1312b5

Browse files
committed
Add postgres.h to *.c files for pg_upgrade, ltree, and btree_gist, and
remove from local *.h files.Per suggestion from Alvaro.
1 parent8b0f082 commitf1312b5

40 files changed

+74
-4
lines changed

‎contrib/btree_gist/btree_bit.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
/*
22
* contrib/btree_gist/btree_bit.c
33
*/
4+
#include"postgres.h"
5+
46
#include"btree_gist.h"
57
#include"btree_utils_var.h"
68
#include"utils/bytea.h"

‎contrib/btree_gist/btree_bytea.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
/*
22
* contrib/btree_gist/btree_bytea.c
33
*/
4+
#include"postgres.h"
5+
46
#include"btree_gist.h"
57
#include"btree_utils_var.h"
68
#include"utils/bytea.h"

‎contrib/btree_gist/btree_cash.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
/*
22
* contrib/btree_gist/btree_cash.c
33
*/
4+
#include"postgres.h"
5+
46
#include"btree_gist.h"
57
#include"btree_utils_num.h"
68
#include"utils/cash.h"

‎contrib/btree_gist/btree_date.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
/*
22
* contrib/btree_gist/btree_date.c
33
*/
4+
#include"postgres.h"
5+
46
#include"btree_gist.h"
57
#include"btree_utils_num.h"
68
#include"utils/date.h"

‎contrib/btree_gist/btree_float4.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
/*
22
* contrib/btree_gist/btree_float4.c
33
*/
4+
#include"postgres.h"
5+
46
#include"btree_gist.h"
57
#include"btree_utils_num.h"
68

‎contrib/btree_gist/btree_float8.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
/*
22
* contrib/btree_gist/btree_float8.c
33
*/
4+
#include"postgres.h"
5+
46
#include"btree_gist.h"
57
#include"btree_utils_num.h"
68

‎contrib/btree_gist/btree_gist.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
/*
22
* contrib/btree_gist/btree_gist.c
33
*/
4+
#include"postgres.h"
5+
46
#include"btree_gist.h"
57

68
PG_MODULE_MAGIC;

‎contrib/btree_gist/btree_gist.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
#ifndef__BTREE_GIST_H__
55
#define__BTREE_GIST_H__
66

7-
#include"postgres.h"
87
#include"access/gist.h"
98
#include"access/itup.h"
109
#include"access/nbtree.h"

‎contrib/btree_gist/btree_inet.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
/*
22
* contrib/btree_gist/btree_inet.c
33
*/
4+
#include"postgres.h"
5+
46
#include"btree_gist.h"
57
#include"btree_utils_num.h"
68
#include"utils/builtins.h"

‎contrib/btree_gist/btree_int2.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
/*
22
* contrib/btree_gist/btree_int2.c
33
*/
4+
#include"postgres.h"
5+
46
#include"btree_gist.h"
57
#include"btree_utils_num.h"
68

‎contrib/btree_gist/btree_int4.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
/*
22
* contrib/btree_gist/btree_int4.c
33
*/
4+
#include"postgres.h"
5+
46
#include"btree_gist.h"
57
#include"btree_utils_num.h"
68

‎contrib/btree_gist/btree_int8.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
/*
22
* contrib/btree_gist/btree_int8.c
33
*/
4+
#include"postgres.h"
5+
46
#include"btree_gist.h"
57
#include"btree_utils_num.h"
68

‎contrib/btree_gist/btree_interval.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
/*
22
* contrib/btree_gist/btree_interval.c
33
*/
4+
#include"postgres.h"
5+
46
#include"btree_gist.h"
57
#include"btree_utils_num.h"
68
#include"utils/timestamp.h"

‎contrib/btree_gist/btree_macaddr.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
/*
22
* contrib/btree_gist/btree_macaddr.c
33
*/
4+
#include"postgres.h"
5+
46
#include"btree_gist.h"
57
#include"btree_utils_num.h"
68
#include"utils/builtins.h"

‎contrib/btree_gist/btree_numeric.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
/*
22
* contrib/btree_gist/btree_numeric.c
33
*/
4+
#include"postgres.h"
5+
46
#include"btree_gist.h"
57

68
#include<math.h>

‎contrib/btree_gist/btree_oid.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
/*
22
* contrib/btree_gist/btree_oid.c
33
*/
4+
#include"postgres.h"
5+
46
#include"btree_gist.h"
57
#include"btree_utils_num.h"
68

‎contrib/btree_gist/btree_text.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
/*
22
* contrib/btree_gist/btree_text.c
33
*/
4+
#include"postgres.h"
5+
46
#include"btree_gist.h"
57
#include"btree_utils_var.h"
68
#include"utils/builtins.h"

‎contrib/btree_gist/btree_time.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
/*
22
* contrib/btree_gist/btree_time.c
33
*/
4+
#include"postgres.h"
5+
46
#include"btree_gist.h"
57
#include"btree_utils_num.h"
68
#include"utils/date.h"

‎contrib/btree_gist/btree_ts.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
/*
22
* contrib/btree_gist/btree_ts.c
33
*/
4+
#include"postgres.h"
5+
46
#include"btree_gist.h"
57
#include"btree_utils_num.h"
68
#include"utils/builtins.h"

‎contrib/btree_gist/btree_utils_num.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
/*
22
* contrib/btree_gist/btree_utils_num.c
33
*/
4+
#include"postgres.h"
5+
46
#include"btree_gist.h"
57
#include"btree_utils_num.h"
68
#include"utils/cash.h"

‎contrib/btree_gist/btree_utils_var.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
/*
22
* contrib/btree_gist/btree_utils_var.c
33
*/
4+
#include"postgres.h"
5+
46
#include"btree_gist.h"
57

68
#include<math.h>

‎contrib/ltree/crc32.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
/* contrib/ltree/crc32.c */
44

5+
#include"postgres.h"
6+
57
#include<sys/types.h>
68
#include<stdio.h>
79
#include<sys/types.h>

‎contrib/ltree/ltree.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
#ifndef__LTREE_H__
44
#define__LTREE_H__
55

6-
#include"postgres.h"
76
#include"fmgr.h"
87
#include"tsearch/ts_locale.h"
98

‎contrib/pg_upgrade/check.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
*contrib/pg_upgrade/check.c
88
*/
99

10+
#include"postgres.h"
11+
1012
#include"pg_upgrade.h"
1113

1214

‎contrib/pg_upgrade/controldata.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
*contrib/pg_upgrade/controldata.c
88
*/
99

10+
#include"postgres.h"
11+
1012
#include"pg_upgrade.h"
1113

1214
#include<ctype.h>

‎contrib/pg_upgrade/dump.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
*contrib/pg_upgrade/dump.c
88
*/
99

10+
#include"postgres.h"
11+
1012
#include"pg_upgrade.h"
1113

1214

‎contrib/pg_upgrade/exec.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
*contrib/pg_upgrade/exec.c
88
*/
99

10+
#include"postgres.h"
11+
1012
#include"pg_upgrade.h"
1113

1214
#include<fcntl.h>

‎contrib/pg_upgrade/file.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
*contrib/pg_upgrade/file.c
88
*/
99

10+
#include"postgres.h"
11+
1012
#include"pg_upgrade.h"
1113

1214
#include<fcntl.h>

‎contrib/pg_upgrade/function.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
*contrib/pg_upgrade/function.c
88
*/
99

10+
#include"postgres.h"
11+
1012
#include"pg_upgrade.h"
1113

1214
#include"access/transam.h"

‎contrib/pg_upgrade/info.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
*contrib/pg_upgrade/info.c
88
*/
99

10+
#include"postgres.h"
11+
1012
#include"pg_upgrade.h"
1113

1214
#include"access/transam.h"

‎contrib/pg_upgrade/option.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
*contrib/pg_upgrade/option.c
88
*/
99

10+
#include"postgres.h"
11+
1012
#include"pg_upgrade.h"
1113

1214
#include"getopt_long.h"

‎contrib/pg_upgrade/page.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
*contrib/pg_upgrade/page.c
88
*/
99

10+
#include"postgres.h"
11+
1012
#include"pg_upgrade.h"
1113

1214
#include"storage/bufpage.h"

‎contrib/pg_upgrade/pg_upgrade.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@
3535

3636

3737

38+
#include"postgres.h"
39+
3840
#include"pg_upgrade.h"
3941

4042
#ifdefHAVE_LANGINFO_H

‎contrib/pg_upgrade/pg_upgrade.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@
55
*contrib/pg_upgrade/pg_upgrade.h
66
*/
77

8-
#include"postgres.h"
9-
108
#include<unistd.h>
119
#include<assert.h>
1210
#include<dirent.h>

‎contrib/pg_upgrade/relfilenode.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
*contrib/pg_upgrade/relfilenode.c
88
*/
99

10+
#include"postgres.h"
11+
1012
#include"pg_upgrade.h"
1113

1214
#include"catalog/pg_class.h"

‎contrib/pg_upgrade/server.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
*contrib/pg_upgrade/server.c
88
*/
99

10+
#include"postgres.h"
11+
1012
#include"pg_upgrade.h"
1113

1214

‎contrib/pg_upgrade/tablespace.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
*contrib/pg_upgrade/tablespace.c
88
*/
99

10+
#include"postgres.h"
11+
1012
#include"pg_upgrade.h"
1113

1214
staticvoidget_tablespace_paths(void);

‎contrib/pg_upgrade/util.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
*contrib/pg_upgrade/util.c
88
*/
99

10+
#include"postgres.h"
11+
1012
#include"pg_upgrade.h"
1113

1214
#include<signal.h>

‎contrib/pg_upgrade/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
*contrib/pg_upgrade/version.c
88
*/
99

10+
#include"postgres.h"
11+
1012
#include"pg_upgrade.h"
1113

1214
#include"access/transam.h"

‎contrib/pg_upgrade/version_old_8_3.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
*contrib/pg_upgrade/version_old_8_3.c
88
*/
99

10+
#include"postgres.h"
11+
1012
#include"pg_upgrade.h"
1113

1214
#include"access/transam.h"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp