|
34 | 34 | #include "access/xlog_internal.h" |
35 | 35 | #include "access/xlogprefetcher.h" |
36 | 36 | #include "access/xlogrecovery.h" |
| 37 | +#include "access/xlogutils.h" |
37 | 38 | #include "archive/archive_module.h" |
38 | 39 | #include "catalog/namespace.h" |
39 | 40 | #include "catalog/storage.h" |
|
71 | 72 | #include "replication/slotsync.h" |
72 | 73 | #include "replication/syncrep.h" |
73 | 74 | #include "storage/bufmgr.h" |
| 75 | +#include "storage/bufpage.h" |
74 | 76 | #include "storage/large_object.h" |
75 | 77 | #include "storage/pg_shmem.h" |
76 | 78 | #include "storage/predicate.h" |
77 | 79 | #include "storage/standby.h" |
| 80 | +#include "tcop/backend_startup.h" |
78 | 81 | #include "tcop/tcopprot.h" |
79 | 82 | #include "tsearch/ts_cache.h" |
80 | 83 | #include "utils/builtins.h" |
|
90 | 93 | #include "utils/rls.h" |
91 | 94 | #include "utils/xml.h" |
92 | 95 |
|
| 96 | +#ifdef TRACE_SYNCSCAN |
| 97 | +#include "access/syncscan.h" |
| 98 | +#endif |
| 99 | + |
93 | 100 | /* This value is normally passed in from the Makefile */ |
94 | 101 | #ifndef PG_KRB_SRVTAB |
95 | 102 | #define PG_KRB_SRVTAB "" |
96 | 103 | #endif |
97 | 104 |
|
98 | | -/* XXX these should appear in other modules' header files */ |
99 | | -extern bool Log_disconnections; |
100 | | -extern bool Trace_connection_negotiation; |
101 | | -extern int CommitDelay; |
102 | | -extern int CommitSiblings; |
103 | | -extern char *default_tablespace; |
104 | | -extern char *temp_tablespaces; |
105 | | -extern bool ignore_checksum_failure; |
106 | | -extern bool ignore_invalid_pages; |
107 | | - |
108 | | -#ifdef TRACE_SYNCSCAN |
109 | | -extern bool trace_syncscan; |
110 | | -#endif |
111 | | -#ifdef DEBUG_BOUNDED_SORT |
112 | | -extern bool optimize_bounded_sort; |
113 | | -#endif |
114 | | - |
115 | 105 | /* |
116 | 106 | * Options for enum values defined in this module. |
117 | 107 | * |
|
0 commit comments