@ -526,7 +526,7 @@ int ssl_renegotiation_limit;
* This really belongs in pg_shmem . c , but is defined here so that it doesn ' t
* This really belongs in pg_shmem . c , but is defined here so that it doesn ' t
* need to be duplicated in all the different implementations of pg_shmem . c .
* need to be duplicated in all the different implementations of pg_shmem . c .
*/
*/
int huge_pages ;
int huge_pages = HUGE_PAGES_TRY ;
int huge_page_size ;
int huge_page_size ;
/*
/*
@ -543,7 +543,14 @@ static char *locale_ctype;
static char * server_encoding_string ;
static char * server_encoding_string ;
static char * server_version_string ;
static char * server_version_string ;
static int server_version_num ;
static int server_version_num ;
static int syslog_facility ;
# ifdef HAVE_SYSLOG
# define DEFAULT_SYSLOG_FACILITY LOG_LOCAL0
# else
# define DEFAULT_SYSLOG_FACILITY 0
# endif
static int syslog_facility = DEFAULT_SYSLOG_FACILITY ;
static char * timezone_string ;
static char * timezone_string ;
static char * log_timezone_string ;
static char * log_timezone_string ;
static char * timezone_abbreviations_string ;
static char * timezone_abbreviations_string ;
@ -559,7 +566,14 @@ static int shared_memory_size_in_huge_pages;
static int wal_block_size ;
static int wal_block_size ;
static bool data_checksums ;
static bool data_checksums ;
static bool integer_datetimes ;
static bool integer_datetimes ;
static bool assert_enabled ;
# ifdef USE_ASSERT_CHECKING
# define DEFAULT_ASSERT_ENABLED true
# else
# define DEFAULT_ASSERT_ENABLED false
# endif
static bool assert_enabled = DEFAULT_ASSERT_ENABLED ;
static char * recovery_target_timeline_string ;
static char * recovery_target_timeline_string ;
static char * recovery_target_string ;
static char * recovery_target_string ;
static char * recovery_target_xid_string ;
static char * recovery_target_xid_string ;
@ -1181,11 +1195,7 @@ struct config_bool ConfigureNamesBool[] =
GUC_NOT_IN_SAMPLE | GUC_DISALLOW_IN_FILE
GUC_NOT_IN_SAMPLE | GUC_DISALLOW_IN_FILE
} ,
} ,
& assert_enabled ,
& assert_enabled ,
# ifdef USE_ASSERT_CHECKING
DEFAULT_ASSERT_ENABLED ,
true ,
# else
false ,
# endif
NULL , NULL , NULL
NULL , NULL , NULL
} ,
} ,
@ -1357,11 +1367,7 @@ struct config_bool ConfigureNamesBool[] =
gettext_noop ( " Enables updating of the process title every time a new SQL command is received by the server. " )
gettext_noop ( " Enables updating of the process title every time a new SQL command is received by the server. " )
} ,
} ,
& update_process_title ,
& update_process_title ,
# ifdef WIN32
DEFAULT_UPDATE_PROCESS_TITLE ,
false ,
# else
true ,
# endif
NULL , NULL , NULL
NULL , NULL , NULL
} ,
} ,
@ -2888,11 +2894,7 @@ struct config_int ConfigureNamesInt[] =
GUC_EXPLAIN
GUC_EXPLAIN
} ,
} ,
& effective_io_concurrency ,
& effective_io_concurrency ,
# ifdef USE_PREFETCH
DEFAULT_EFFECTIVE_IO_CONCURRENCY ,
1 ,
# else
0 ,
# endif
0 , MAX_IO_CONCURRENCY ,
0 , MAX_IO_CONCURRENCY ,
check_effective_io_concurrency , NULL , NULL
check_effective_io_concurrency , NULL , NULL
} ,
} ,
@ -2906,11 +2908,7 @@ struct config_int ConfigureNamesInt[] =
GUC_EXPLAIN
GUC_EXPLAIN
} ,
} ,
& maintenance_io_concurrency ,
& maintenance_io_concurrency ,
# ifdef USE_PREFETCH
DEFAULT_MAINTENANCE_IO_CONCURRENCY ,
10 ,
# else
0 ,
# endif
0 , MAX_IO_CONCURRENCY ,
0 , MAX_IO_CONCURRENCY ,
check_maintenance_io_concurrency , assign_maintenance_io_concurrency ,
check_maintenance_io_concurrency , assign_maintenance_io_concurrency ,
NULL
NULL
@ -4613,11 +4611,7 @@ struct config_enum ConfigureNamesEnum[] =
NULL
NULL
} ,
} ,
& syslog_facility ,
& syslog_facility ,
# ifdef HAVE_SYSLOG
DEFAULT_SYSLOG_FACILITY ,
LOG_LOCAL0 ,
# else
0 ,
# endif
syslog_facility_options ,
syslog_facility_options ,
NULL , assign_syslog_facility , NULL
NULL , assign_syslog_facility , NULL
} ,
} ,