Commit 1d9c5d0c authored by Andres Freund's avatar Andres Freund

Do not rely on pgstat.h to indirectly include storage/ headers.

An upcoming patch might remove the (now indirect) proc.h
include (which in turn includes other headers), and it's cleaner for
the modified files to include their dependencies directly anyway...

Discussion: https://postgr.es/m/20210402194458.2vu324hkk2djq6ce@alap3.anarazel.de
parent a333476b
...@@ -76,6 +76,8 @@ ...@@ -76,6 +76,8 @@
#include "pgstat.h" #include "pgstat.h"
#include "storage/fd.h" #include "storage/fd.h"
#include "storage/ipc.h" #include "storage/ipc.h"
#include "storage/lwlock.h"
#include "storage/shmem.h"
#include "storage/spin.h" #include "storage/spin.h"
#include "tcop/utility.h" #include "tcop/utility.h"
#include "utils/acl.h" #include "utils/acl.h"
......
...@@ -44,7 +44,9 @@ ...@@ -44,7 +44,9 @@
#include "storage/ipc.h" #include "storage/ipc.h"
#include "storage/latch.h" #include "storage/latch.h"
#include "storage/pmsignal.h" #include "storage/pmsignal.h"
#include "storage/proc.h"
#include "storage/procsignal.h" #include "storage/procsignal.h"
#include "storage/shmem.h"
#include "utils/guc.h" #include "utils/guc.h"
#include "utils/ps_status.h" #include "utils/ps_status.h"
......
...@@ -61,6 +61,7 @@ ...@@ -61,6 +61,7 @@
#include "storage/latch.h" #include "storage/latch.h"
#include "storage/lmgr.h" #include "storage/lmgr.h"
#include "storage/pg_shmem.h" #include "storage/pg_shmem.h"
#include "storage/proc.h"
#include "storage/procsignal.h" #include "storage/procsignal.h"
#include "storage/sinvaladt.h" #include "storage/sinvaladt.h"
#include "utils/ascii.h" #include "utils/ascii.h"
......
...@@ -69,6 +69,7 @@ ...@@ -69,6 +69,7 @@
#include "replication/walsender.h" #include "replication/walsender.h"
#include "storage/ipc.h" #include "storage/ipc.h"
#include "storage/pmsignal.h" #include "storage/pmsignal.h"
#include "storage/proc.h"
#include "storage/procarray.h" #include "storage/procarray.h"
#include "storage/procsignal.h" #include "storage/procsignal.h"
#include "utils/acl.h" #include "utils/acl.h"
......
...@@ -23,6 +23,7 @@ ...@@ -23,6 +23,7 @@
#include "miscadmin.h" #include "miscadmin.h"
#include "pgstat.h" #include "pgstat.h"
#include "storage/lmgr.h" #include "storage/lmgr.h"
#include "storage/proc.h"
#include "storage/procarray.h" #include "storage/procarray.h"
#include "storage/sinvaladt.h" #include "storage/sinvaladt.h"
#include "utils/inval.h" #include "utils/inval.h"
......
...@@ -36,6 +36,7 @@ ...@@ -36,6 +36,7 @@
#include "postmaster/syslogger.h" #include "postmaster/syslogger.h"
#include "rewrite/rewriteHandler.h" #include "rewrite/rewriteHandler.h"
#include "storage/fd.h" #include "storage/fd.h"
#include "storage/latch.h"
#include "tcop/tcopprot.h" #include "tcop/tcopprot.h"
#include "utils/builtins.h" #include "utils/builtins.h"
#include "utils/fmgroids.h" #include "utils/fmgroids.h"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment