|
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 | +#ifdefTRACE_SYNCSCAN |
| 97 | +#include"access/syncscan.h" |
| 98 | +#endif |
| 99 | + |
93 | 100 | /* This value is normally passed in from the Makefile */
|
94 | 101 | #ifndefPG_KRB_SRVTAB
|
95 | 102 | #definePG_KRB_SRVTAB ""
|
96 | 103 | #endif
|
97 | 104 |
|
98 |
| -/* XXX these should appear in other modules' header files */ |
99 |
| -externboolLog_disconnections; |
100 |
| -externboolTrace_connection_negotiation; |
101 |
| -externintCommitDelay; |
102 |
| -externintCommitSiblings; |
103 |
| -externchar*default_tablespace; |
104 |
| -externchar*temp_tablespaces; |
105 |
| -externboolignore_checksum_failure; |
106 |
| -externboolignore_invalid_pages; |
107 |
| - |
108 |
| -#ifdefTRACE_SYNCSCAN |
109 |
| -externbooltrace_syncscan; |
110 |
| -#endif |
111 |
| -#ifdefDEBUG_BOUNDED_SORT |
112 |
| -externbooloptimize_bounded_sort; |
113 |
| -#endif |
114 |
| - |
115 | 105 | /*
|
116 | 106 | * Options for enum values defined in this module.
|
117 | 107 | *
|
|