diff options
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/access/syncscan.h | 5 | ||||
| -rw-r--r-- | src/include/access/xlog.h | 2 | ||||
| -rw-r--r-- | src/include/access/xlogutils.h | 3 | ||||
| -rw-r--r-- | src/include/commands/tablespace.h | 2 | ||||
| -rw-r--r-- | src/include/storage/bufpage.h | 3 | ||||
| -rw-r--r-- | src/include/tcop/backend_startup.h | 3 | ||||
| -rw-r--r-- | src/include/tcop/tcopprot.h | 1 | ||||
| -rw-r--r-- | src/include/utils/guc.h | 25 |
8 files changed, 44 insertions, 0 deletions
diff --git a/src/include/access/syncscan.h b/src/include/access/syncscan.h index 00b6c0dfc63..e6ee91fc08a 100644 --- a/src/include/access/syncscan.h +++ b/src/include/access/syncscan.h @@ -17,6 +17,11 @@ #include "storage/block.h" #include "utils/relcache.h" +/* GUC variables */ +#ifdef TRACE_SYNCSCAN +extern PGDLLIMPORT bool trace_syncscan; +#endif + extern void ss_report_location(Relation rel, BlockNumber location); extern BlockNumber ss_get_location(Relation rel, BlockNumber relnblocks); extern void SyncScanShmemInit(void); diff --git a/src/include/access/xlog.h b/src/include/access/xlog.h index c40fd56b291..365a18a08bb 100644 --- a/src/include/access/xlog.h +++ b/src/include/access/xlog.h @@ -52,6 +52,8 @@ extern PGDLLIMPORT bool wal_recycle; extern PGDLLIMPORT bool *wal_consistency_checking; extern PGDLLIMPORT char *wal_consistency_checking_string; extern PGDLLIMPORT bool log_checkpoints; +extern PGDLLIMPORT int CommitDelay; +extern PGDLLIMPORT int CommitSiblings; extern PGDLLIMPORT bool track_wal_io_timing; extern PGDLLIMPORT int wal_decode_buffer_size; diff --git a/src/include/access/xlogutils.h b/src/include/access/xlogutils.h index e24613e8f81..20950ce0336 100644 --- a/src/include/access/xlogutils.h +++ b/src/include/access/xlogutils.h @@ -14,6 +14,9 @@ #include "access/xlogreader.h" #include "storage/bufmgr.h" +/* GUC variable */ +extern PGDLLIMPORT bool ignore_invalid_pages; + /* * Prior to 8.4, all activity during recovery was carried out by the startup * process. This local variable continues to be used in many parts of the diff --git a/src/include/commands/tablespace.h b/src/include/commands/tablespace.h index b6cec632db9..6ab2402896d 100644 --- a/src/include/commands/tablespace.h +++ b/src/include/commands/tablespace.h @@ -19,6 +19,8 @@ #include "lib/stringinfo.h" #include "nodes/parsenodes.h" +extern PGDLLIMPORT char *default_tablespace; +extern PGDLLIMPORT char *temp_tablespaces; extern PGDLLIMPORT bool allow_in_place_tablespaces; /* XLOG stuff */ diff --git a/src/include/storage/bufpage.h b/src/include/storage/bufpage.h index d0df02d39c5..df91e80ecee 100644 --- a/src/include/storage/bufpage.h +++ b/src/include/storage/bufpage.h @@ -19,6 +19,9 @@ #include "storage/item.h" #include "storage/off.h" +/* GUC variable */ +extern PGDLLIMPORT bool ignore_checksum_failure; + /* * A postgres disk page is an abstraction layered on top of a postgres * disk block (which is simply a unit of i/o, see block.h). diff --git a/src/include/tcop/backend_startup.h b/src/include/tcop/backend_startup.h index 16a68c77584..993b013afdd 100644 --- a/src/include/tcop/backend_startup.h +++ b/src/include/tcop/backend_startup.h @@ -14,6 +14,9 @@ #ifndef BACKEND_STARTUP_H #define BACKEND_STARTUP_H +/* GUCs */ +extern PGDLLIMPORT bool Trace_connection_negotiation; + /* * CAC_state is passed from postmaster to the backend process, to indicate * whether the connection should be accepted, or if the process should just diff --git a/src/include/tcop/tcopprot.h b/src/include/tcop/tcopprot.h index 643ce9cffab..147a294950e 100644 --- a/src/include/tcop/tcopprot.h +++ b/src/include/tcop/tcopprot.h @@ -40,6 +40,7 @@ typedef enum LOGSTMT_ALL, /* log all statements */ } LogStmtLevel; +extern PGDLLIMPORT bool Log_disconnections; extern PGDLLIMPORT int log_statement; extern List *pg_parse_query(const char *query_string); diff --git a/src/include/utils/guc.h b/src/include/utils/guc.h index ff506bf48d9..cd2cee3dfe0 100644 --- a/src/include/utils/guc.h +++ b/src/include/utils/guc.h @@ -250,6 +250,7 @@ extern PGDLLIMPORT bool log_planner_stats; extern PGDLLIMPORT bool log_executor_stats; extern PGDLLIMPORT bool log_statement_stats; extern PGDLLIMPORT bool log_btree_build_stats; +extern PGDLLIMPORT char *event_source; extern PGDLLIMPORT bool check_function_bodies; extern PGDLLIMPORT bool current_role_is_superuser; @@ -285,10 +286,34 @@ extern PGDLLIMPORT int tcp_keepalives_interval; extern PGDLLIMPORT int tcp_keepalives_count; extern PGDLLIMPORT int tcp_user_timeout; +extern PGDLLIMPORT char *role_string; +extern PGDLLIMPORT bool in_hot_standby_guc; + #ifdef TRACE_SORT extern PGDLLIMPORT bool trace_sort; #endif +#ifdef DEBUG_BOUNDED_SORT +extern PGDLLIMPORT bool optimize_bounded_sort; +#endif + +/* + * Declarations for options for enum values + * + * For most parameters, these are defined statically inside guc_tables.c. But + * for some parameters, the definitions require symbols that are not easily + * available inside guc_tables.c, so they are instead defined in their home + * modules. For those, we keep the extern declarations here. (An alternative + * would be to put the extern declarations in the modules' header files, but + * that would then require including the definition of struct + * config_enum_entry into those header files.) + */ +extern const struct config_enum_entry archive_mode_options[]; +extern const struct config_enum_entry dynamic_shared_memory_options[]; +extern const struct config_enum_entry recovery_target_action_options[]; +extern const struct config_enum_entry wal_level_options[]; +extern const struct config_enum_entry wal_sync_method_options[]; + /* * Functions exported by guc.c */ |
