File tree Expand file tree Collapse file tree 12 files changed +30
-10
lines changed Expand file tree Collapse file tree 12 files changed +30
-10
lines changed Original file line number Diff line number Diff line change 16
16
*
17
17
*-------------------------------------------------------------------------
18
18
*/
19
+ /* IWYU pragma: always_keep */
19
20
/*
20
21
*----------------------------------------------------------------
21
22
* TABLE OF CONTENTS
46
47
#ifndef C_H
47
48
#define C_H
48
49
50
+ /* IWYU pragma: begin_exports */
51
+
49
52
/*
50
53
* These headers must be included before any system headers, because on some
51
54
* platforms they affect the behavior of the system headers (for example, by
@@ -1327,4 +1330,6 @@ typedef intptr_t sigjmp_buf[5];
1327
1330
/* /port compatibility functions */
1328
1331
#include "port.h"
1329
1332
1333
+ /* IWYU pragma: end_exports */
1334
+
1330
1335
#endif /* C_H */
Original file line number Diff line number Diff line change 6
6
*
7
7
* src/include/getopt_long.h
8
8
*/
9
+ /* IWYU pragma: always_keep */
9
10
#ifndef GETOPT_LONG_H
10
11
#define GETOPT_LONG_H
11
12
12
- #include "pg_getopt.h"
13
+ #include "pg_getopt.h" /* IWYU pragma: export */
13
14
14
15
#ifndef HAVE_STRUCT_OPTION
15
16
Original file line number Diff line number Diff line change 15
15
*
16
16
* src/include/pg_getopt.h
17
17
*/
18
+ /* IWYU pragma: always_keep */
18
19
#ifndef PG_GETOPT_H
19
20
#define PG_GETOPT_H
20
21
21
22
/* POSIX says getopt() is provided by unistd.h */
22
- #include <unistd.h>
23
+ #include <unistd.h> /* IWYU pragma: export */
23
24
24
25
/* rely on the system's getopt.h if present */
25
26
#ifdef HAVE_GETOPT_H
26
- #include <getopt.h>
27
+ #include <getopt.h> /* IWYU pragma: export */
27
28
#endif
28
29
29
30
/*
Original file line number Diff line number Diff line change 12
12
#ifndef PG_TRACE_H
13
13
#define PG_TRACE_H
14
14
15
- #include "utils/probes.h"
15
+ #include "utils/probes.h" /* IWYU pragma: export */
16
16
17
17
#endif /* PG_TRACE_H */
Original file line number Diff line number Diff line change 16
16
#include "portability/instr_time.h"
17
17
#include "postmaster/pgarch.h" /* for MAX_XFN_CHARS */
18
18
#include "replication/conflict.h"
19
- #include "utils/backend_progress.h" /* for backward compatibility */
20
- #include "utils/backend_status.h" /* for backward compatibility */
19
+ #include "utils/backend_progress.h" /* for backward compatibility */ /* IWYU pragma: export */
20
+ #include "utils/backend_status.h" /* for backward compatibility */ /* IWYU pragma: export */
21
21
#include "utils/pgstat_kind.h"
22
22
#include "utils/relcache.h"
23
- #include "utils/wait_event.h" /* for backward compatibility */
23
+ #include "utils/wait_event.h" /* for backward compatibility */ /* IWYU pragma: export */
24
24
25
25
26
26
/* ----------
Original file line number Diff line number Diff line change 16
16
#ifndef WIN32
17
17
18
18
#include <limits.h>
19
- #include <sys/uio.h>
19
+ #include <sys/uio.h> /* IWYU pragma: export */
20
20
#include <unistd.h>
21
21
22
22
#else
Original file line number Diff line number Diff line change 13
13
#ifndef PG_PTHREAD_H
14
14
#define PG_PTHREAD_H
15
15
16
- #include <pthread.h>
16
+ #include <pthread.h> /* IWYU pragma: export */
17
17
18
18
#ifndef HAVE_PTHREAD_BARRIER_WAIT
19
19
Original file line number Diff line number Diff line change 14
14
*
15
15
*-------------------------------------------------------------------------
16
16
*/
17
+ /* IWYU pragma: always_keep */
17
18
/*
18
19
*----------------------------------------------------------------
19
20
* TABLE OF CONTENTS
42
43
#ifndef POSTGRES_H
43
44
#define POSTGRES_H
44
45
46
+ /* IWYU pragma: begin_exports */
47
+
45
48
#include "c.h"
46
49
#include "utils/elog.h"
47
50
#include "utils/palloc.h"
48
51
52
+ /* IWYU pragma: end_exports */
53
+
49
54
/* ----------------------------------------------------------------
50
55
* Section 1: Datum type + support functions
51
56
* ----------------------------------------------------------------
Original file line number Diff line number Diff line change 19
19
*
20
20
*-------------------------------------------------------------------------
21
21
*/
22
+ /* IWYU pragma: always_keep */
22
23
23
24
#ifndef POSTGRES_EXT_H
24
25
#define POSTGRES_EXT_H
Original file line number Diff line number Diff line change 15
15
*
16
16
*-------------------------------------------------------------------------
17
17
*/
18
+ /* IWYU pragma: always_keep */
18
19
#ifndef POSTGRES_FE_H
19
20
#define POSTGRES_FE_H
20
21
21
22
#ifndef FRONTEND
22
23
#define FRONTEND 1
23
24
#endif
24
25
26
+ /* IWYU pragma: begin_exports */
27
+
25
28
#include "c.h"
26
29
27
30
#include "common/fe_memutils.h"
28
31
32
+ /* IWYU pragma: end_exports */
33
+
29
34
#endif /* POSTGRES_FE_H */
Original file line number Diff line number Diff line change 20
20
#include "access/htup.h"
21
21
/* we intentionally do not include utils/catcache.h here */
22
22
23
- #include "catalog/syscache_ids.h"
23
+ #include "catalog/syscache_ids.h" /* IWYU pragma: export */
24
24
25
25
extern void InitCatalogCache (void );
26
26
extern void InitCatalogCachePhase2 (void );
Original file line number Diff line number Diff line change 44
44
#include "fe-auth-sasl.h"
45
45
#include "pqexpbuffer.h"
46
46
47
+ /* IWYU pragma: begin_exports */
47
48
#ifdef ENABLE_GSS
48
49
#if defined(HAVE_GSSAPI_H )
49
50
#include <gssapi.h>
50
51
#else
51
52
#include <gssapi/gssapi.h>
52
53
#endif
53
54
#endif
55
+ /* IWYU pragma: end_exports */
54
56
55
57
#ifdef ENABLE_SSPI
56
58
#define SECURITY_WIN32
You can’t perform that action at this time.
0 commit comments