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

Commit77ed0c6

Browse files
committed
Tighten up includes in sinvaladt.h, twophase.h, proc.h
Remove proc.h from sinvaladt.h and twophase.h; also replace xlog.h inproc.h with xlogdefs.h.
1 parenteeece9e commit77ed0c6

File tree

11 files changed

+13
-3
lines changed

11 files changed

+13
-3
lines changed

‎src/backend/access/transam/twophase.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@
5858
#include"replication/syncrep.h"
5959
#include"storage/fd.h"
6060
#include"storage/predicate.h"
61+
#include"storage/proc.h"
6162
#include"storage/procarray.h"
6263
#include"storage/sinvaladt.h"
6364
#include"storage/smgr.h"

‎src/backend/access/transam/xact.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
#include"replication/syncrep.h"
4141
#include"storage/lmgr.h"
4242
#include"storage/predicate.h"
43+
#include"storage/proc.h"
4344
#include"storage/procarray.h"
4445
#include"storage/sinvaladt.h"
4546
#include"storage/smgr.h"

‎src/backend/storage/ipc/ipci.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
#include"storage/pg_shmem.h"
3434
#include"storage/pmsignal.h"
3535
#include"storage/predicate.h"
36+
#include"storage/proc.h"
3637
#include"storage/procarray.h"
3738
#include"storage/procsignal.h"
3839
#include"storage/sinvaladt.h"

‎src/backend/storage/ipc/procarray.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@
5151
#include"access/xact.h"
5252
#include"access/twophase.h"
5353
#include"miscadmin.h"
54+
#include"storage/proc.h"
5455
#include"storage/procarray.h"
5556
#include"storage/spin.h"
5657
#include"utils/builtins.h"

‎src/backend/storage/lmgr/lock.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
#include"miscadmin.h"
3939
#include"pg_trace.h"
4040
#include"pgstat.h"
41+
#include"storage/proc.h"
4142
#include"storage/sinvaladt.h"
4243
#include"storage/spin.h"
4344
#include"storage/standby.h"

‎src/backend/storage/lmgr/predicate.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,7 @@
193193
#include"storage/bufmgr.h"
194194
#include"storage/predicate.h"
195195
#include"storage/predicate_internals.h"
196+
#include"storage/proc.h"
196197
#include"storage/procarray.h"
197198
#include"utils/rel.h"
198199
#include"utils/snapmgr.h"

‎src/backend/utils/init/postinit.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
#include"storage/proc.h"
4545
#include"storage/procarray.h"
4646
#include"storage/procsignal.h"
47+
#include"storage/proc.h"
4748
#include"storage/sinvaladt.h"
4849
#include"storage/smgr.h"
4950
#include"tcop/tcopprot.h"

‎src/backend/utils/misc/guc.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@
6262
#include"storage/bufmgr.h"
6363
#include"storage/standby.h"
6464
#include"storage/fd.h"
65+
#include"storage/proc.h"
6566
#include"storage/predicate.h"
6667
#include"tcop/tcopprot.h"
6768
#include"tsearch/ts_cache.h"

‎src/include/access/twophase.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@
1414
#ifndefTWOPHASE_H
1515
#defineTWOPHASE_H
1616

17-
#include"storage/proc.h"
17+
#include"access/xlogdefs.h"
18+
#include"datatype/timestamp.h"
19+
#include"storage/lock.h"
1820

1921
/*
2022
* GlobalTransactionData is defined in twophase.c; other places have no

‎src/include/storage/proc.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
#ifndef_PROC_H_
1515
#define_PROC_H_
1616

17-
#include"access/xlog.h"
17+
#include"access/xlogdefs.h"
1818
#include"datatype/timestamp.h"
1919
#include"storage/latch.h"
2020
#include"storage/lock.h"

‎src/include/storage/sinvaladt.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
#ifndefSINVALADT_H
2323
#defineSINVALADT_H
2424

25-
#include"storage/proc.h"
25+
#include"storage/lock.h"
2626
#include"storage/sinval.h"
2727

2828
/*

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp