File tree Expand file tree Collapse file tree 11 files changed +20
-16
lines changed Expand file tree Collapse file tree 11 files changed +20
-16
lines changed Original file line number Diff line number Diff line change 38
38
39
39
#include "postgres.h"
40
40
41
- #include "lib/ilist.h"
42
41
#include "miscadmin.h"
43
42
#include "port/atomics.h"
44
- #include "storage/aio.h"
45
43
#include "storage/aio_internal.h"
46
44
#include "storage/aio_subsys.h"
45
+ #include "storage/procnumber.h"
47
46
#include "utils/guc.h"
48
47
#include "utils/guc_hooks.h"
49
48
#include "utils/resowner.h"
50
- #include "utils/wait_event_types .h"
49
+ #include "utils/wait_event .h"
51
50
52
51
#ifdef USE_INJECTION_POINTS
53
52
#include "utils/injection_point.h"
Original file line number Diff line number Diff line change 16
16
#include "postgres.h"
17
17
18
18
#include "miscadmin.h"
19
- #include "storage/aio.h"
20
19
#include "storage/aio_internal.h"
21
20
#include "storage/bufmgr.h"
22
21
#include "storage/md.h"
Original file line number Diff line number Diff line change 15
15
#include "postgres.h"
16
16
17
17
#include "miscadmin.h"
18
- #include "storage/aio.h"
19
18
#include "storage/aio_internal.h"
20
19
#include "storage/aio_subsys.h"
21
20
#include "storage/bufmgr.h"
22
- #include "storage/io_worker.h"
23
21
#include "storage/ipc.h"
24
22
#include "storage/proc.h"
23
+ #include "storage/procnumber.h"
25
24
#include "storage/shmem.h"
26
25
#include "utils/guc.h"
27
26
Original file line number Diff line number Diff line change 19
19
#include "postgres.h"
20
20
21
21
#include "miscadmin.h"
22
- #include "storage/aio.h"
23
22
#include "storage/aio_internal.h"
24
- #include "storage/fd.h"
25
23
#include "utils/wait_event.h"
26
24
27
25
Original file line number Diff line number Diff line change 14
14
15
15
#include "postgres.h"
16
16
17
- #include "storage/aio.h"
18
17
#include "storage/aio_internal.h"
19
18
#include "storage/smgr.h"
20
19
Original file line number Diff line number Diff line change 25
25
#include "postgres.h"
26
26
27
27
/* included early, for IOMETHOD_IO_URING_ENABLED */
28
- #include "storage/aio.h"
28
+ #include "storage/aio.h" /* IWYU pragma: keep */
29
29
30
30
#ifdef IOMETHOD_IO_URING_ENABLED
31
31
32
32
#include <liburing.h>
33
+ /* IWYU pragma: no_include <liburing/io_uring.h> */
33
34
34
35
#include "miscadmin.h"
35
36
#include "storage/aio_internal.h"
Original file line number Diff line number Diff line change 34
34
#include "port/pg_bitutils.h"
35
35
#include "postmaster/auxprocess.h"
36
36
#include "postmaster/interrupt.h"
37
- #include "storage/aio.h"
38
37
#include "storage/aio_internal.h"
39
38
#include "storage/aio_subsys.h"
40
39
#include "storage/io_worker.h"
41
40
#include "storage/ipc.h"
42
41
#include "storage/latch.h"
42
+ #include "storage/lwlock.h"
43
+ #include "storage/lwlocknames.h"
43
44
#include "storage/proc.h"
45
+ #include "storage/procsignal.h"
46
+ #include "storage/shmem.h"
47
+ #include "storage/waiteventset.h"
44
48
#include "tcop/tcopprot.h"
45
49
#include "utils/ps_status.h"
46
50
#include "utils/wait_event.h"
Original file line number Diff line number Diff line change 13
13
#ifndef PQSIGNAL_H
14
14
#define PQSIGNAL_H
15
15
16
- #include <signal.h>
16
+ #include <signal.h> /* IWYU pragma: export */
17
17
18
18
#ifdef WIN32
19
19
/* Emulate POSIX sigset_t APIs on Windows */
Original file line number Diff line number Diff line change 18
18
#ifndef AIO_H
19
19
#define AIO_H
20
20
21
- #include "storage/aio_types.h"
21
+ #include "storage/aio_types.h" /* IWYU pragma: export */
22
22
#include "storage/procnumber.h"
23
23
24
24
@@ -293,7 +293,7 @@ extern ProcNumber pgaio_io_get_owner(PgAioHandle *ioh);
293
293
extern void pgaio_io_get_wref (PgAioHandle * ioh , PgAioWaitRef * iow );
294
294
295
295
/* functions in aio_io.c */
296
- struct iovec ;
296
+ struct iovec ; /* IWYU pragma: export */
297
297
extern int pgaio_io_get_iovec (PgAioHandle * ioh , struct iovec * * iov );
298
298
299
299
extern PgAioOp pgaio_io_get_op (PgAioHandle * ioh );
Original file line number Diff line number Diff line change 16
16
#define AIO_INTERNAL_H
17
17
18
18
19
+ /* IWYU pragma: begin_exports */
19
20
#include "lib/ilist.h"
20
21
#include "port/pg_iovec.h"
21
22
#include "storage/aio.h"
22
23
#include "storage/condition_variable.h"
24
+ /* IWYU pragma: end_exports */
23
25
24
26
25
27
/*
@@ -90,8 +92,11 @@ typedef enum PgAioHandleState
90
92
} PgAioHandleState ;
91
93
92
94
95
+ /* IWYU pragma: begin_exports */
93
96
struct ResourceOwnerData ;
94
97
98
+ /* IWYU pragma: end_exports */
99
+
95
100
/* typedef is in aio_types.h */
96
101
struct PgAioHandle
97
102
{
You can’t perform that action at this time.
0 commit comments