diff options
Diffstat (limited to 'src/backend/storage/ipc')
-rw-r--r-- | src/backend/storage/ipc/dsm_impl.c | 6 | ||||
-rw-r--r-- | src/backend/storage/ipc/ipci.c | 2 | ||||
-rw-r--r-- | src/backend/storage/ipc/procsignal.c | 3 | ||||
-rw-r--r-- | src/backend/storage/ipc/sinvaladt.c | 3 |
4 files changed, 6 insertions, 8 deletions
diff --git a/src/backend/storage/ipc/dsm_impl.c b/src/backend/storage/ipc/dsm_impl.c index 2879b84bf61..d550093916c 100644 --- a/src/backend/storage/ipc/dsm_impl.c +++ b/src/backend/storage/ipc/dsm_impl.c @@ -47,7 +47,6 @@ */ #include "postgres.h" -#include "miscadmin.h" #include <fcntl.h> #include <unistd.h> @@ -61,15 +60,16 @@ #ifdef HAVE_SYS_SHM_H #include <sys/shm.h> #endif + #include "common/file_perm.h" +#include "miscadmin.h" #include "pgstat.h" - #include "portability/mem.h" +#include "postmaster/postmaster.h" #include "storage/dsm_impl.h" #include "storage/fd.h" #include "utils/guc.h" #include "utils/memutils.h" -#include "postmaster/postmaster.h" #ifdef USE_DSM_POSIX static bool dsm_impl_posix(dsm_op op, dsm_handle handle, Size request_size, diff --git a/src/backend/storage/ipc/ipci.c b/src/backend/storage/ipc/ipci.c index 885370698fc..4829953ee64 100644 --- a/src/backend/storage/ipc/ipci.c +++ b/src/backend/storage/ipc/ipci.c @@ -29,10 +29,10 @@ #include "postmaster/bgwriter.h" #include "postmaster/postmaster.h" #include "replication/logicallauncher.h" +#include "replication/origin.h" #include "replication/slot.h" #include "replication/walreceiver.h" #include "replication/walsender.h" -#include "replication/origin.h" #include "storage/bufmgr.h" #include "storage/dsm.h" #include "storage/ipc.h" diff --git a/src/backend/storage/ipc/procsignal.c b/src/backend/storage/ipc/procsignal.c index 7605b2c3674..fde97a1036b 100644 --- a/src/backend/storage/ipc/procsignal.c +++ b/src/backend/storage/ipc/procsignal.c @@ -21,14 +21,13 @@ #include "commands/async.h" #include "miscadmin.h" #include "replication/walsender.h" -#include "storage/latch.h" #include "storage/ipc.h" +#include "storage/latch.h" #include "storage/proc.h" #include "storage/shmem.h" #include "storage/sinval.h" #include "tcop/tcopprot.h" - /* * The SIGUSR1 signal is multiplexed to support signalling multiple event * types. The specific reason is communicated via flags in shared memory. diff --git a/src/backend/storage/ipc/sinvaladt.c b/src/backend/storage/ipc/sinvaladt.c index db080c84e1c..0c58b39c1c6 100644 --- a/src/backend/storage/ipc/sinvaladt.c +++ b/src/backend/storage/ipc/sinvaladt.c @@ -17,6 +17,7 @@ #include <signal.h> #include <unistd.h> +#include "access/transam.h" #include "miscadmin.h" #include "storage/backendid.h" #include "storage/ipc.h" @@ -25,8 +26,6 @@ #include "storage/shmem.h" #include "storage/sinvaladt.h" #include "storage/spin.h" -#include "access/transam.h" - /* * Conceptually, the shared cache invalidation messages are stored in an |