PostgreSQL Source Code git master
Loading...
Searching...
No Matches
guc_tables.c File Reference
#include "postgres.h"
#include <float.h>
#include <limits.h>
#include "access/commit_ts.h"
#include "access/gin.h"
#include "access/slru.h"
#include "access/toast_compression.h"
#include "access/twophase.h"
#include "access/xlog_internal.h"
#include "access/xlogprefetcher.h"
#include "access/xlogrecovery.h"
#include "access/xlogutils.h"
#include "archive/archive_module.h"
#include "catalog/namespace.h"
#include "catalog/storage.h"
#include "commands/async.h"
#include "commands/extension.h"
#include "commands/event_trigger.h"
#include "commands/tablespace.h"
#include "commands/trigger.h"
#include "commands/user.h"
#include "commands/vacuum.h"
#include "common/file_utils.h"
#include "common/scram-common.h"
#include "jit/jit.h"
#include "libpq/auth.h"
#include "libpq/libpq.h"
#include "libpq/oauth.h"
#include "libpq/scram.h"
#include "nodes/queryjumble.h"
#include "optimizer/cost.h"
#include "optimizer/geqo.h"
#include "optimizer/optimizer.h"
#include "optimizer/paths.h"
#include "optimizer/planmain.h"
#include "parser/parse_expr.h"
#include "parser/parser.h"
#include "pgstat.h"
#include "postmaster/autovacuum.h"
#include "postmaster/bgworker_internals.h"
#include "postmaster/bgwriter.h"
#include "postmaster/postmaster.h"
#include "postmaster/startup.h"
#include "postmaster/syslogger.h"
#include "postmaster/walsummarizer.h"
#include "postmaster/walwriter.h"
#include "replication/logicallauncher.h"
#include "replication/slot.h"
#include "replication/slotsync.h"
#include "replication/syncrep.h"
#include "storage/aio.h"
#include "storage/bufmgr.h"
#include "storage/bufpage.h"
#include "storage/copydir.h"
#include "storage/io_worker.h"
#include "storage/large_object.h"
#include "storage/pg_shmem.h"
#include "storage/predicate.h"
#include "storage/procnumber.h"
#include "storage/standby.h"
#include "tcop/backend_startup.h"
#include "tcop/tcopprot.h"
#include "tsearch/ts_cache.h"
#include "utils/builtins.h"
#include "utils/bytea.h"
#include "utils/guc_hooks.h"
#include "utils/guc_tables.h"
#include "utils/inval.h"
#include "utils/memutils.h"
#include "utils/pg_locale.h"
#include "utils/plancache.h"
#include "utils/ps_status.h"
#include "utils/rls.h"
#include "utils/xml.h"
#include "utils/guc_tables.inc.c"
Include dependency graph for guc_tables.c:

Go to the source code of this file.

Macros

#define PG_KRB_SRVTAB   ""
 
#define DEFAULT_SYSLOG_FACILITY   0
 
#define DEFAULT_ASSERT_ENABLED   false
 
#define EXEC_BACKEND_ENABLED   false
 

Functions

 StaticAssertDecl (lengthof(bytea_output_options)==(BYTEA_OUTPUT_HEX+2), "array length mismatch")
 
 StaticAssertDecl (lengthof(intervalstyle_options)==(INTSTYLE_ISO_8601+2), "array length mismatch")
 
 StaticAssertDecl (lengthof(log_error_verbosity_options)==(PGERROR_VERBOSE+2), "array length mismatch")
 
 StaticAssertDecl (lengthof(log_statement_options)==(LOGSTMT_ALL+2), "array length mismatch")
 
 StaticAssertDecl (lengthof(session_replication_role_options)==(SESSION_REPLICATION_ROLE_LOCAL+2), "array length mismatch")
 
 StaticAssertDecl (lengthof(track_function_options)==(TRACK_FUNC_ALL+2), "array length mismatch")
 
 StaticAssertDecl (lengthof(stats_fetch_consistency)==(PGSTAT_FETCH_CONSISTENCY_SNAPSHOT+2), "array length mismatch")
 
 StaticAssertDecl (lengthof(xmlbinary_options)==(XMLBINARY_HEX+2), "array length mismatch")
 
 StaticAssertDecl (lengthof(xmloption_options)==(XMLOPTION_CONTENT+2), "array length mismatch")
 
 StaticAssertDecl (lengthof(ssl_protocol_versions_info)==(PG_TLS1_3_VERSION+2), "array length mismatch")
 
 StaticAssertDecl (lengthof(GucContext_Names)==(PGC_USERSET+1), "array length mismatch")
 
 StaticAssertDecl (lengthof(GucSource_Names)==(PGC_S_SESSION+1), "array length mismatch")
 
 StaticAssertDecl (lengthof(config_group_names)==(DEVELOPER_OPTIONS+1), "array length mismatch")
 
 StaticAssertDecl (lengthof(config_type_names)==(PGC_ENUM+1), "array length mismatch")
 

Variables

static const struct config_enum_entry bytea_output_options []
 
static const struct config_enum_entry client_message_level_options []
 
static const struct config_enum_entry server_message_level_options []
 
static const struct config_enum_entry intervalstyle_options []
 
static const struct config_enum_entry icu_validation_level_options []
 
static const struct config_enum_entry log_error_verbosity_options []
 
static const struct config_enum_entry log_statement_options []
 
static const struct config_enum_entry isolation_level_options []
 
static const struct config_enum_entry session_replication_role_options []
 
static const struct config_enum_entry syslog_facility_options []
 
static const struct config_enum_entry track_function_options []
 
static const struct config_enum_entry stats_fetch_consistency []
 
static const struct config_enum_entry xmlbinary_options []
 
static const struct config_enum_entry xmloption_options []
 
static const struct config_enum_entry backslash_quote_options []
 
static const struct config_enum_entry compute_query_id_options []
 
static const struct config_enum_entry constraint_exclusion_options []
 
static const struct config_enum_entry synchronous_commit_options []
 
static const struct config_enum_entry huge_pages_options []
 
static const struct config_enum_entry huge_pages_status_options []
 
static const struct config_enum_entry recovery_prefetch_options []
 
static const struct config_enum_entry debug_parallel_query_options []
 
static const struct config_enum_entry plan_cache_mode_options []
 
static const struct config_enum_entry password_encryption_options []
 
static const struct config_enum_entry ssl_protocol_versions_info []
 
static const struct config_enum_entry debug_logical_replication_streaming_options []
 
static const struct config_enum_entry recovery_init_sync_method_options []
 
static const struct config_enum_entry shared_memory_options []
 
static const struct config_enum_entry default_toast_compression_options []
 
static const struct config_enum_entry wal_compression_options []
 
static const struct config_enum_entry file_copy_method_options []
 
const struct config_enum_entry wal_level_options []
 
const struct config_enum_entry archive_mode_options []
 
const struct config_enum_entry recovery_target_action_options []
 
const struct config_enum_entry wal_sync_method_options []
 
const struct config_enum_entry dynamic_shared_memory_options []
 
bool AllowAlterSystem = true
 
bool log_duration = false
 
bool Debug_print_plan = false
 
bool Debug_print_parse = false
 
bool Debug_print_raw_parse = false
 
bool Debug_print_rewritten = false
 
bool Debug_pretty_print = true
 
bool log_parser_stats = false
 
bool log_planner_stats = false
 
bool log_executor_stats = false
 
bool log_statement_stats = false
 
bool log_btree_build_stats = false
 
charevent_source
 
bool row_security
 
bool check_function_bodies = true
 
static bool default_with_oids = false
 
static bool standard_conforming_strings = true
 
bool current_role_is_superuser
 
int log_min_error_statement = ERROR
 
int log_min_messages = WARNING
 
int client_min_messages = NOTICE
 
int log_min_duration_sample = -1
 
int log_min_duration_statement = -1
 
int log_parameter_max_length = -1
 
int log_parameter_max_length_on_error = 0
 
int log_temp_files = -1
 
double log_statement_sample_rate = 1.0
 
double log_xact_sample_rate = 0
 
charbacktrace_functions
 
int temp_file_limit = -1
 
int num_temp_buffers = 1024
 
charcluster_name = ""
 
charConfigFileName
 
charHbaFileName
 
charIdentFileName
 
charexternal_pid_file
 
charapplication_name
 
int tcp_keepalives_idle
 
int tcp_keepalives_interval
 
int tcp_keepalives_count
 
int tcp_user_timeout
 
static int ssl_renegotiation_limit
 
int huge_pages = HUGE_PAGES_TRY
 
int huge_page_size
 
int huge_pages_status = HUGE_PAGES_UNKNOWN
 
static charsyslog_ident_str
 
static double phony_random_seed
 
static charclient_encoding_string
 
static chardatestyle_string
 
static charserver_encoding_string
 
static charserver_version_string
 
static int server_version_num
 
static chardebug_io_direct_string
 
static charrestrict_nonsystem_relation_kind_string
 
static int syslog_facility = DEFAULT_SYSLOG_FACILITY
 
static chartimezone_string
 
static charlog_timezone_string
 
static chartimezone_abbreviations_string
 
static chardata_directory
 
static charsession_authorization_string
 
static int max_function_args
 
static int max_index_keys
 
static int max_identifier_length
 
static int block_size
 
static int segment_size
 
static int shared_memory_size_mb
 
static int shared_memory_size_in_huge_pages
 
static int wal_block_size
 
static int num_os_semaphores
 
static int effective_wal_level = WAL_LEVEL_REPLICA
 
static bool data_checksums
 
static bool integer_datetimes
 
static bool assert_enabled = DEFAULT_ASSERT_ENABLED
 
static bool exec_backend_enabled = EXEC_BACKEND_ENABLED
 
static charrecovery_target_timeline_string
 
static charrecovery_target_string
 
static charrecovery_target_xid_string
 
static charrecovery_target_name_string
 
static charrecovery_target_lsn_string
 
charrole_string
 
bool in_hot_standby_guc
 
const char *const GucContext_Names []
 
const char *const GucSource_Names []
 
const char *const config_group_names []
 
const char *const config_type_names []
 

Macro Definition Documentation

◆ DEFAULT_ASSERT_ENABLED

#define DEFAULT_ASSERT_ENABLED   false

Definition at line 627 of file guc_tables.c.

◆ DEFAULT_SYSLOG_FACILITY

#define DEFAULT_SYSLOG_FACILITY   0

Definition at line 602 of file guc_tables.c.

◆ EXEC_BACKEND_ENABLED

#define EXEC_BACKEND_ENABLED   false

Definition at line 634 of file guc_tables.c.

◆ PG_KRB_SRVTAB

#define PG_KRB_SRVTAB   ""

Definition at line 111 of file guc_tables.c.

Function Documentation

◆ StaticAssertDecl() [1/14]

StaticAssertDecl ( lengthof(bytea_output_options = =(BYTEA_OUTPUT_HEX+2),
"array length mismatch"   
)

◆ StaticAssertDecl() [2/14]

StaticAssertDecl ( lengthof(config_group_names = =(DEVELOPER_OPTIONS+1),
"array length mismatch"   
)

◆ StaticAssertDecl() [3/14]

StaticAssertDecl ( lengthof(config_type_names = =(PGC_ENUM+1),
"array length mismatch"   
)

◆ StaticAssertDecl() [4/14]

StaticAssertDecl ( lengthof(GucContext_Names = =(PGC_USERSET+1),
"array length mismatch"   
)

◆ StaticAssertDecl() [5/14]

StaticAssertDecl ( lengthof(GucSource_Names = =(PGC_S_SESSION+1),
"array length mismatch"   
)

◆ StaticAssertDecl() [6/14]

StaticAssertDecl ( lengthof(intervalstyle_options = =(INTSTYLE_ISO_8601+2),
"array length mismatch"   
)

◆ StaticAssertDecl() [7/14]

StaticAssertDecl ( lengthof(log_error_verbosity_options = =(PGERROR_VERBOSE+2),
"array length mismatch"   
)

◆ StaticAssertDecl() [8/14]

StaticAssertDecl ( lengthof(log_statement_options = =(LOGSTMT_ALL+2),
"array length mismatch"   
)

◆ StaticAssertDecl() [9/14]

StaticAssertDecl ( lengthof(session_replication_role_options = =(SESSION_REPLICATION_ROLE_LOCAL+2),
"array length mismatch"   
)

◆ StaticAssertDecl() [10/14]

StaticAssertDecl ( lengthof(ssl_protocol_versions_info = =(PG_TLS1_3_VERSION+2),
"array length mismatch"   
)

◆ StaticAssertDecl() [11/14]

StaticAssertDecl ( lengthof(stats_fetch_consistency = =(PGSTAT_FETCH_CONSISTENCY_SNAPSHOT+2),
"array length mismatch"   
)

◆ StaticAssertDecl() [12/14]

StaticAssertDecl ( lengthof(track_function_options = =(TRACK_FUNC_ALL+2),
"array length mismatch"   
)

◆ StaticAssertDecl() [13/14]

StaticAssertDecl ( lengthof(xmlbinary_options = =(XMLBINARY_HEX+2),
"array length mismatch"   
)

◆ StaticAssertDecl() [14/14]

StaticAssertDecl ( lengthof(xmloption_options = =(XMLOPTION_CONTENT+2),
"array length mismatch"   
)

Variable Documentation

◆ AllowAlterSystem

bool AllowAlterSystem = true

Definition at line 506 of file guc_tables.c.

Referenced by AlterSystemSetConfigFile().

◆ application_name

◆ archive_mode_options

const struct config_enum_entry archive_mode_options[]
extern

Definition at line 194 of file xlog.c.

194 {
195 {"always", ARCHIVE_MODE_ALWAYS, false},
196 {"on", ARCHIVE_MODE_ON, false},
197 {"off", ARCHIVE_MODE_OFF, false},
198 {"true", ARCHIVE_MODE_ON, true},
199 {"false", ARCHIVE_MODE_OFF, true},
200 {"yes", ARCHIVE_MODE_ON, true},
201 {"no", ARCHIVE_MODE_OFF, true},
202 {"1", ARCHIVE_MODE_ON, true},
203 {"0", ARCHIVE_MODE_OFF, true},
204 {NULL, 0, false}
205};
static int fb(int x)
@ ARCHIVE_MODE_ALWAYS
Definition xlog.h:68
@ ARCHIVE_MODE_OFF
Definition xlog.h:66
@ ARCHIVE_MODE_ON
Definition xlog.h:67

◆ assert_enabled

bool assert_enabled = DEFAULT_ASSERT_ENABLED
static

Definition at line 629 of file guc_tables.c.

◆ backslash_quote_options

const struct config_enum_entry backslash_quote_options[]
static
Initial value:
= {
{"safe_encoding", BACKSLASH_QUOTE_SAFE_ENCODING, false},
{"on", BACKSLASH_QUOTE_ON, false},
{"off", BACKSLASH_QUOTE_OFF, false},
{"true", BACKSLASH_QUOTE_ON, true},
{"false", BACKSLASH_QUOTE_OFF, true},
{"yes", BACKSLASH_QUOTE_ON, true},
{"no", BACKSLASH_QUOTE_OFF, true},
{"1", BACKSLASH_QUOTE_ON, true},
{"0", BACKSLASH_QUOTE_OFF, true},
{NULL, 0, false}
}
@ BACKSLASH_QUOTE_ON
Definition parser.h:51
@ BACKSLASH_QUOTE_SAFE_ENCODING
Definition parser.h:52
@ BACKSLASH_QUOTE_OFF
Definition parser.h:50

Definition at line 290 of file guc_tables.c.

290 {
291 {"safe_encoding", BACKSLASH_QUOTE_SAFE_ENCODING, false},
292 {"on", BACKSLASH_QUOTE_ON, false},
293 {"off", BACKSLASH_QUOTE_OFF, false},
294 {"true", BACKSLASH_QUOTE_ON, true},
295 {"false", BACKSLASH_QUOTE_OFF, true},
296 {"yes", BACKSLASH_QUOTE_ON, true},
297 {"no", BACKSLASH_QUOTE_OFF, true},
298 {"1", BACKSLASH_QUOTE_ON, true},
299 {"0", BACKSLASH_QUOTE_OFF, true},
300 {NULL, 0, false}
301};

◆ backtrace_functions

char* backtrace_functions

Definition at line 549 of file guc_tables.c.

Referenced by errfinish().

◆ block_size

int block_size
static

Definition at line 614 of file guc_tables.c.

Referenced by pg_hmac_init().

◆ bytea_output_options

const struct config_enum_entry bytea_output_options[]
static
Initial value:
= {
{"escape", BYTEA_OUTPUT_ESCAPE, false},
{"hex", BYTEA_OUTPUT_HEX, false},
{NULL, 0, false}
}
@ BYTEA_OUTPUT_HEX
Definition bytea.h:22
@ BYTEA_OUTPUT_ESCAPE
Definition bytea.h:21

Definition at line 120 of file guc_tables.c.

120 {
121 {"escape", BYTEA_OUTPUT_ESCAPE, false},
122 {"hex", BYTEA_OUTPUT_HEX, false},
123 {NULL, 0, false}
124};

◆ check_function_bodies

◆ client_encoding_string

char* client_encoding_string
static

Definition at line 591 of file guc_tables.c.

◆ client_message_level_options

const struct config_enum_entry client_message_level_options[]
static
Initial value:
= {
{"debug5", DEBUG5, false},
{"debug4", DEBUG4, false},
{"debug3", DEBUG3, false},
{"debug2", DEBUG2, false},
{"debug1", DEBUG1, false},
{"debug", DEBUG2, true},
{"log", LOG, false},
{"info", INFO, true},
{"notice", NOTICE, false},
{"warning", WARNING, false},
{"error", ERROR, false},
{NULL, 0, false}
}
#define LOG
Definition elog.h:31
#define DEBUG3
Definition elog.h:28
#define WARNING
Definition elog.h:36
#define DEBUG2
Definition elog.h:29
#define DEBUG1
Definition elog.h:30
#define ERROR
Definition elog.h:39
#define NOTICE
Definition elog.h:35
#define INFO
Definition elog.h:34
#define DEBUG5
Definition elog.h:26
#define DEBUG4
Definition elog.h:27

Definition at line 134 of file guc_tables.c.

134 {
135 {"debug5", DEBUG5, false},
136 {"debug4", DEBUG4, false},
137 {"debug3", DEBUG3, false},
138 {"debug2", DEBUG2, false},
139 {"debug1", DEBUG1, false},
140 {"debug", DEBUG2, true},
141 {"log", LOG, false},
142 {"info", INFO, true},
143 {"notice", NOTICE, false},
144 {"warning", WARNING, false},
145 {"error", ERROR, false},
146 {NULL, 0, false}
147};

◆ client_min_messages

int client_min_messages = NOTICE

Definition at line 541 of file guc_tables.c.

Referenced by execute_extension_script(), and should_output_to_client().

◆ cluster_name

◆ compute_query_id_options

const struct config_enum_entry compute_query_id_options[]
static
Initial value:
= {
{"auto", COMPUTE_QUERY_ID_AUTO, false},
{"regress", COMPUTE_QUERY_ID_REGRESS, false},
{"on", COMPUTE_QUERY_ID_ON, false},
{"off", COMPUTE_QUERY_ID_OFF, false},
{"true", COMPUTE_QUERY_ID_ON, true},
{"false", COMPUTE_QUERY_ID_OFF, true},
{"yes", COMPUTE_QUERY_ID_ON, true},
{"no", COMPUTE_QUERY_ID_OFF, true},
{"1", COMPUTE_QUERY_ID_ON, true},
{"0", COMPUTE_QUERY_ID_OFF, true},
{NULL, 0, false}
}
@ COMPUTE_QUERY_ID_AUTO
Definition queryjumble.h:85
@ COMPUTE_QUERY_ID_REGRESS
Definition queryjumble.h:86
@ COMPUTE_QUERY_ID_ON
Definition queryjumble.h:84
@ COMPUTE_QUERY_ID_OFF
Definition queryjumble.h:83

Definition at line 307 of file guc_tables.c.

307 {
308 {"auto", COMPUTE_QUERY_ID_AUTO, false},
309 {"regress", COMPUTE_QUERY_ID_REGRESS, false},
310 {"on", COMPUTE_QUERY_ID_ON, false},
311 {"off", COMPUTE_QUERY_ID_OFF, false},
312 {"true", COMPUTE_QUERY_ID_ON, true},
313 {"false", COMPUTE_QUERY_ID_OFF, true},
314 {"yes", COMPUTE_QUERY_ID_ON, true},
315 {"no", COMPUTE_QUERY_ID_OFF, true},
316 {"1", COMPUTE_QUERY_ID_ON, true},
317 {"0", COMPUTE_QUERY_ID_OFF, true},
318 {NULL, 0, false}
319};

◆ config_group_names

const char* const config_group_names[]

Definition at line 699 of file guc_tables.c.

700{
701 [UNGROUPED] = gettext_noop("Ungrouped"),
702 [FILE_LOCATIONS] = gettext_noop("File Locations"),
703 [CONN_AUTH_SETTINGS] = gettext_noop("Connections and Authentication / Connection Settings"),
704 [CONN_AUTH_TCP] = gettext_noop("Connections and Authentication / TCP Settings"),
705 [CONN_AUTH_AUTH] = gettext_noop("Connections and Authentication / Authentication"),
706 [CONN_AUTH_SSL] = gettext_noop("Connections and Authentication / SSL"),
707 [RESOURCES_MEM] = gettext_noop("Resource Usage / Memory"),
708 [RESOURCES_DISK] = gettext_noop("Resource Usage / Disk"),
709 [RESOURCES_KERNEL] = gettext_noop("Resource Usage / Kernel Resources"),
710 [RESOURCES_BGWRITER] = gettext_noop("Resource Usage / Background Writer"),
711 [RESOURCES_IO] = gettext_noop("Resource Usage / I/O"),
712 [RESOURCES_WORKER_PROCESSES] = gettext_noop("Resource Usage / Worker Processes"),
713 [WAL_SETTINGS] = gettext_noop("Write-Ahead Log / Settings"),
714 [WAL_CHECKPOINTS] = gettext_noop("Write-Ahead Log / Checkpoints"),
715 [WAL_ARCHIVING] = gettext_noop("Write-Ahead Log / Archiving"),
716 [WAL_RECOVERY] = gettext_noop("Write-Ahead Log / Recovery"),
717 [WAL_ARCHIVE_RECOVERY] = gettext_noop("Write-Ahead Log / Archive Recovery"),
718 [WAL_RECOVERY_TARGET] = gettext_noop("Write-Ahead Log / Recovery Target"),
719 [WAL_SUMMARIZATION] = gettext_noop("Write-Ahead Log / Summarization"),
720 [REPLICATION_SENDING] = gettext_noop("Replication / Sending Servers"),
721 [REPLICATION_PRIMARY] = gettext_noop("Replication / Primary Server"),
722 [REPLICATION_STANDBY] = gettext_noop("Replication / Standby Servers"),
723 [REPLICATION_SUBSCRIBERS] = gettext_noop("Replication / Subscribers"),
724 [QUERY_TUNING_METHOD] = gettext_noop("Query Tuning / Planner Method Configuration"),
725 [QUERY_TUNING_COST] = gettext_noop("Query Tuning / Planner Cost Constants"),
726 [QUERY_TUNING_GEQO] = gettext_noop("Query Tuning / Genetic Query Optimizer"),
727 [QUERY_TUNING_OTHER] = gettext_noop("Query Tuning / Other Planner Options"),
728 [LOGGING_WHERE] = gettext_noop("Reporting and Logging / Where to Log"),
729 [LOGGING_WHEN] = gettext_noop("Reporting and Logging / When to Log"),
730 [LOGGING_WHAT] = gettext_noop("Reporting and Logging / What to Log"),
731 [PROCESS_TITLE] = gettext_noop("Reporting and Logging / Process Title"),
732 [STATS_MONITORING] = gettext_noop("Statistics / Monitoring"),
733 [STATS_CUMULATIVE] = gettext_noop("Statistics / Cumulative Query and Index Statistics"),
734 [VACUUM_AUTOVACUUM] = gettext_noop("Vacuuming / Automatic Vacuuming"),
735 [VACUUM_COST_DELAY] = gettext_noop("Vacuuming / Cost-Based Vacuum Delay"),
736 [VACUUM_DEFAULT] = gettext_noop("Vacuuming / Default Behavior"),
737 [VACUUM_FREEZING] = gettext_noop("Vacuuming / Freezing"),
738 [CLIENT_CONN_STATEMENT] = gettext_noop("Client Connection Defaults / Statement Behavior"),
739 [CLIENT_CONN_LOCALE] = gettext_noop("Client Connection Defaults / Locale and Formatting"),
740 [CLIENT_CONN_PRELOAD] = gettext_noop("Client Connection Defaults / Shared Library Preloading"),
741 [CLIENT_CONN_OTHER] = gettext_noop("Client Connection Defaults / Other Defaults"),
742 [LOCK_MANAGEMENT] = gettext_noop("Lock Management"),
743 [COMPAT_OPTIONS_PREVIOUS] = gettext_noop("Version and Platform Compatibility / Previous PostgreSQL Versions"),
744 [COMPAT_OPTIONS_OTHER] = gettext_noop("Version and Platform Compatibility / Other Platforms and Clients"),
745 [ERROR_HANDLING_OPTIONS] = gettext_noop("Error Handling"),
746 [PRESET_OPTIONS] = gettext_noop("Preset Options"),
747 [CUSTOM_OPTIONS] = gettext_noop("Customized Options"),
748 [DEVELOPER_OPTIONS] = gettext_noop("Developer Options"),
749};
#define gettext_noop(x)
Definition c.h:1191
@ RESOURCES_KERNEL
Definition guc_tables.h:65
@ CLIENT_CONN_LOCALE
Definition guc_tables.h:95
@ WAL_ARCHIVE_RECOVERY
Definition guc_tables.h:73
@ STATS_CUMULATIVE
Definition guc_tables.h:89
@ CLIENT_CONN_PRELOAD
Definition guc_tables.h:96
@ VACUUM_COST_DELAY
Definition guc_tables.h:91
@ QUERY_TUNING_OTHER
Definition guc_tables.h:83
@ LOGGING_WHERE
Definition guc_tables.h:84
@ CONN_AUTH_AUTH
Definition guc_tables.h:61
@ RESOURCES_WORKER_PROCESSES
Definition guc_tables.h:68
@ VACUUM_FREEZING
Definition guc_tables.h:93
@ ERROR_HANDLING_OPTIONS
Definition guc_tables.h:101
@ PROCESS_TITLE
Definition guc_tables.h:87
@ RESOURCES_DISK
Definition guc_tables.h:64
@ REPLICATION_SENDING
Definition guc_tables.h:76
@ RESOURCES_IO
Definition guc_tables.h:67
@ LOCK_MANAGEMENT
Definition guc_tables.h:98
@ CUSTOM_OPTIONS
Definition guc_tables.h:103
@ REPLICATION_PRIMARY
Definition guc_tables.h:77
@ STATS_MONITORING
Definition guc_tables.h:88
@ WAL_RECOVERY_TARGET
Definition guc_tables.h:74
@ WAL_RECOVERY
Definition guc_tables.h:72
@ CONN_AUTH_SSL
Definition guc_tables.h:62
@ RESOURCES_MEM
Definition guc_tables.h:63
@ RESOURCES_BGWRITER
Definition guc_tables.h:66
@ PRESET_OPTIONS
Definition guc_tables.h:102
@ DEVELOPER_OPTIONS
Definition guc_tables.h:104
@ QUERY_TUNING_METHOD
Definition guc_tables.h:80
@ LOGGING_WHAT
Definition guc_tables.h:86
@ VACUUM_DEFAULT
Definition guc_tables.h:92
@ QUERY_TUNING_GEQO
Definition guc_tables.h:82
@ WAL_SETTINGS
Definition guc_tables.h:69
@ COMPAT_OPTIONS_OTHER
Definition guc_tables.h:100
@ CLIENT_CONN_STATEMENT
Definition guc_tables.h:94
@ FILE_LOCATIONS
Definition guc_tables.h:58
@ REPLICATION_STANDBY
Definition guc_tables.h:78
@ QUERY_TUNING_COST
Definition guc_tables.h:81
@ WAL_ARCHIVING
Definition guc_tables.h:71
@ COMPAT_OPTIONS_PREVIOUS
Definition guc_tables.h:99
@ WAL_CHECKPOINTS
Definition guc_tables.h:70
@ CLIENT_CONN_OTHER
Definition guc_tables.h:97
@ LOGGING_WHEN
Definition guc_tables.h:85
@ CONN_AUTH_TCP
Definition guc_tables.h:60
@ REPLICATION_SUBSCRIBERS
Definition guc_tables.h:79
@ WAL_SUMMARIZATION
Definition guc_tables.h:75
@ CONN_AUTH_SETTINGS
Definition guc_tables.h:59
@ UNGROUPED
Definition guc_tables.h:57
@ VACUUM_AUTOVACUUM
Definition guc_tables.h:90

Referenced by GetConfigOptionValues(), and printMixedStruct().

◆ config_type_names

const char* const config_type_names[]
Initial value:
=
{
[PGC_BOOL] = "bool",
[PGC_INT] = "integer",
[PGC_REAL] = "real",
[PGC_STRING] = "string",
[PGC_ENUM] = "enum",
}
@ PGC_BOOL
Definition guc_tables.h:25
@ PGC_STRING
Definition guc_tables.h:28
@ PGC_ENUM
Definition guc_tables.h:29
@ PGC_REAL
Definition guc_tables.h:27
@ PGC_INT
Definition guc_tables.h:26

Definition at line 759 of file guc_tables.c.

760{
761 [PGC_BOOL] = "bool",
762 [PGC_INT] = "integer",
763 [PGC_REAL] = "real",
764 [PGC_STRING] = "string",
765 [PGC_ENUM] = "enum",
766};

Referenced by GetConfigOptionValues().

◆ ConfigFileName

char* ConfigFileName

Definition at line 556 of file guc_tables.c.

Referenced by ProcessConfigFileInternal(), and SelectConfigFiles().

◆ constraint_exclusion_options

const struct config_enum_entry constraint_exclusion_options[]
static
Initial value:
= {
{"partition", CONSTRAINT_EXCLUSION_PARTITION, false},
{"on", CONSTRAINT_EXCLUSION_ON, false},
{"off", CONSTRAINT_EXCLUSION_OFF, false},
{"true", CONSTRAINT_EXCLUSION_ON, true},
{"false", CONSTRAINT_EXCLUSION_OFF, true},
{"yes", CONSTRAINT_EXCLUSION_ON, true},
{"no", CONSTRAINT_EXCLUSION_OFF, true},
{NULL, 0, false}
}
@ CONSTRAINT_EXCLUSION_OFF
Definition cost.h:38
@ CONSTRAINT_EXCLUSION_PARTITION
Definition cost.h:40
@ CONSTRAINT_EXCLUSION_ON
Definition cost.h:39

Definition at line 325 of file guc_tables.c.

325 {
326 {"partition", CONSTRAINT_EXCLUSION_PARTITION, false},
327 {"on", CONSTRAINT_EXCLUSION_ON, false},
328 {"off", CONSTRAINT_EXCLUSION_OFF, false},
329 {"true", CONSTRAINT_EXCLUSION_ON, true},
330 {"false", CONSTRAINT_EXCLUSION_OFF, true},
331 {"yes", CONSTRAINT_EXCLUSION_ON, true},
332 {"no", CONSTRAINT_EXCLUSION_OFF, true},
333 {"1", CONSTRAINT_EXCLUSION_ON, true},
334 {"0", CONSTRAINT_EXCLUSION_OFF, true},
335 {NULL, 0, false}
336};

◆ current_role_is_superuser

bool current_role_is_superuser

Definition at line 537 of file guc_tables.c.

Referenced by check_role(), and InitializeParallelDSM().

◆ data_checksums

bool data_checksums
static

Definition at line 621 of file guc_tables.c.

◆ data_directory

char* data_directory
static

Definition at line 609 of file guc_tables.c.

◆ datestyle_string

char* datestyle_string
static

Definition at line 592 of file guc_tables.c.

◆ debug_io_direct_string

char* debug_io_direct_string
static

Definition at line 596 of file guc_tables.c.

◆ debug_logical_replication_streaming_options

const struct config_enum_entry debug_logical_replication_streaming_options[]
static
Initial value:
= {
{NULL, 0, false}
}
@ DEBUG_LOGICAL_REP_STREAMING_IMMEDIATE
@ DEBUG_LOGICAL_REP_STREAMING_BUFFERED

Definition at line 429 of file guc_tables.c.

429 {
430 {"buffered", DEBUG_LOGICAL_REP_STREAMING_BUFFERED, false},
431 {"immediate", DEBUG_LOGICAL_REP_STREAMING_IMMEDIATE, false},
432 {NULL, 0, false}
433};

◆ debug_parallel_query_options

const struct config_enum_entry debug_parallel_query_options[]
static
Initial value:
= {
{"off", DEBUG_PARALLEL_OFF, false},
{"on", DEBUG_PARALLEL_ON, false},
{"regress", DEBUG_PARALLEL_REGRESS, false},
{"true", DEBUG_PARALLEL_ON, true},
{"false", DEBUG_PARALLEL_OFF, true},
{"yes", DEBUG_PARALLEL_ON, true},
{"no", DEBUG_PARALLEL_OFF, true},
{"1", DEBUG_PARALLEL_ON, true},
{"0", DEBUG_PARALLEL_OFF, true},
{NULL, 0, false}
}
@ DEBUG_PARALLEL_REGRESS
Definition optimizer.h:98
@ DEBUG_PARALLEL_ON
Definition optimizer.h:97
@ DEBUG_PARALLEL_OFF
Definition optimizer.h:96

Definition at line 394 of file guc_tables.c.

394 {
395 {"off", DEBUG_PARALLEL_OFF, false},
396 {"on", DEBUG_PARALLEL_ON, false},
397 {"regress", DEBUG_PARALLEL_REGRESS, false},
398 {"true", DEBUG_PARALLEL_ON, true},
399 {"false", DEBUG_PARALLEL_OFF, true},
400 {"yes", DEBUG_PARALLEL_ON, true},
401 {"no", DEBUG_PARALLEL_OFF, true},
402 {"1", DEBUG_PARALLEL_ON, true},
403 {"0", DEBUG_PARALLEL_OFF, true},
404 {NULL, 0, false}
405};

◆ Debug_pretty_print

bool Debug_pretty_print = true

Definition at line 512 of file guc_tables.c.

Referenced by pg_parse_query(), pg_plan_query(), and pg_rewrite_query().

◆ Debug_print_parse

bool Debug_print_parse = false

Definition at line 509 of file guc_tables.c.

Referenced by pg_rewrite_query().

◆ Debug_print_plan

bool Debug_print_plan = false

Definition at line 508 of file guc_tables.c.

Referenced by pg_plan_query().

◆ Debug_print_raw_parse

bool Debug_print_raw_parse = false

Definition at line 510 of file guc_tables.c.

Referenced by pg_parse_query().

◆ Debug_print_rewritten

bool Debug_print_rewritten = false

Definition at line 511 of file guc_tables.c.

Referenced by pg_rewrite_query().

◆ default_toast_compression_options

const struct config_enum_entry default_toast_compression_options[]
static
Initial value:
= {
{"pglz", TOAST_PGLZ_COMPRESSION, false},
{NULL, 0, false}
}
#define TOAST_PGLZ_COMPRESSION

Definition at line 459 of file guc_tables.c.

459 {
460 {"pglz", TOAST_PGLZ_COMPRESSION, false},
461#ifdef USE_LZ4
462 {"lz4", TOAST_LZ4_COMPRESSION, false},
463#endif
464 {NULL, 0, false}
465};
#define TOAST_LZ4_COMPRESSION

◆ default_with_oids

bool default_with_oids = false
static

Definition at line 534 of file guc_tables.c.

◆ dynamic_shared_memory_options

const struct config_enum_entry dynamic_shared_memory_options[]
extern

Definition at line 95 of file dsm_impl.c.

95 {
96#ifdef USE_DSM_POSIX
97 {"posix", DSM_IMPL_POSIX, false},
98#endif
99#ifdef USE_DSM_SYSV
100 {"sysv", DSM_IMPL_SYSV, false},
101#endif
102#ifdef USE_DSM_WINDOWS
103 {"windows", DSM_IMPL_WINDOWS, false},
104#endif
105#ifdef USE_DSM_MMAP
106 {"mmap", DSM_IMPL_MMAP, false},
107#endif
108 {NULL, 0, false}
109};
#define DSM_IMPL_WINDOWS
Definition dsm_impl.h:19
#define DSM_IMPL_POSIX
Definition dsm_impl.h:17
#define DSM_IMPL_SYSV
Definition dsm_impl.h:18
#define DSM_IMPL_MMAP
Definition dsm_impl.h:20

◆ effective_wal_level

int effective_wal_level = WAL_LEVEL_REPLICA
static

Definition at line 620 of file guc_tables.c.

◆ event_source

char* event_source

Definition at line 526 of file guc_tables.c.

◆ exec_backend_enabled

bool exec_backend_enabled = EXEC_BACKEND_ENABLED
static

Definition at line 636 of file guc_tables.c.

◆ external_pid_file

char* external_pid_file

Definition at line 559 of file guc_tables.c.

Referenced by PostmasterMain(), and unlink_external_pid_file().

◆ file_copy_method_options

const struct config_enum_entry file_copy_method_options[]
static
Initial value:
= {
{"copy", FILE_COPY_METHOD_COPY, false},
{NULL, 0, false}
}
@ FILE_COPY_METHOD_COPY
Definition copydir.h:18

Definition at line 486 of file guc_tables.c.

486 {
487 {"copy", FILE_COPY_METHOD_COPY, false},
488#if defined(HAVE_COPYFILE) && defined(COPYFILE_CLONE_FORCE) || defined(HAVE_COPY_FILE_RANGE)
489 {"clone", FILE_COPY_METHOD_CLONE, false},
490#endif
491 {NULL, 0, false}
492};
@ FILE_COPY_METHOD_CLONE
Definition copydir.h:19

◆ GucContext_Names

const char* const GucContext_Names[]
Initial value:
=
{
[PGC_INTERNAL] = "internal",
[PGC_POSTMASTER] = "postmaster",
[PGC_SIGHUP] = "sighup",
[PGC_SU_BACKEND] = "superuser-backend",
[PGC_BACKEND] = "backend",
[PGC_SUSET] = "superuser",
[PGC_USERSET] = "user",
}
@ PGC_SUSET
Definition guc.h:78
@ PGC_INTERNAL
Definition guc.h:73
@ PGC_USERSET
Definition guc.h:79
@ PGC_SU_BACKEND
Definition guc.h:76
@ PGC_POSTMASTER
Definition guc.h:74
@ PGC_SIGHUP
Definition guc.h:75
@ PGC_BACKEND
Definition guc.h:77

Definition at line 656 of file guc_tables.c.

657{
658 [PGC_INTERNAL] = "internal",
659 [PGC_POSTMASTER] = "postmaster",
660 [PGC_SIGHUP] = "sighup",
661 [PGC_SU_BACKEND] = "superuser-backend",
662 [PGC_BACKEND] = "backend",
663 [PGC_SUSET] = "superuser",
664 [PGC_USERSET] = "user",
665};

Referenced by GetConfigOptionValues(), and printMixedStruct().

◆ GucSource_Names

const char* const GucSource_Names[]
Initial value:
=
{
[PGC_S_DEFAULT] = "default",
[PGC_S_DYNAMIC_DEFAULT] = "default",
[PGC_S_ENV_VAR] = "environment variable",
[PGC_S_FILE] = "configuration file",
[PGC_S_ARGV] = "command line",
[PGC_S_GLOBAL] = "global",
[PGC_S_DATABASE] = "database",
[PGC_S_USER] = "user",
[PGC_S_DATABASE_USER] = "database user",
[PGC_S_CLIENT] = "client",
[PGC_S_OVERRIDE] = "override",
[PGC_S_INTERACTIVE] = "interactive",
[PGC_S_TEST] = "test",
[PGC_S_SESSION] = "session",
}
@ PGC_S_DEFAULT
Definition guc.h:113
@ PGC_S_DYNAMIC_DEFAULT
Definition guc.h:114
@ PGC_S_FILE
Definition guc.h:116
@ PGC_S_GLOBAL
Definition guc.h:118
@ PGC_S_DATABASE
Definition guc.h:119
@ PGC_S_OVERRIDE
Definition guc.h:123
@ PGC_S_ARGV
Definition guc.h:117
@ PGC_S_SESSION
Definition guc.h:126
@ PGC_S_CLIENT
Definition guc.h:122
@ PGC_S_DATABASE_USER
Definition guc.h:121
@ PGC_S_ENV_VAR
Definition guc.h:115
@ PGC_S_USER
Definition guc.h:120
@ PGC_S_TEST
Definition guc.h:125
@ PGC_S_INTERACTIVE
Definition guc.h:124

Definition at line 675 of file guc_tables.c.

676{
677 [PGC_S_DEFAULT] = "default",
678 [PGC_S_DYNAMIC_DEFAULT] = "default",
679 [PGC_S_ENV_VAR] = "environment variable",
680 [PGC_S_FILE] = "configuration file",
681 [PGC_S_ARGV] = "command line",
682 [PGC_S_GLOBAL] = "global",
683 [PGC_S_DATABASE] = "database",
684 [PGC_S_USER] = "user",
685 [PGC_S_DATABASE_USER] = "database user",
686 [PGC_S_CLIENT] = "client",
687 [PGC_S_OVERRIDE] = "override",
688 [PGC_S_INTERACTIVE] = "interactive",
689 [PGC_S_TEST] = "test",
690 [PGC_S_SESSION] = "session",
691};

Referenced by GetConfigOptionValues().

◆ HbaFileName

◆ huge_page_size

int huge_page_size

Definition at line 581 of file guc_tables.c.

Referenced by GetHugePageSize().

◆ huge_pages

int huge_pages = HUGE_PAGES_TRY

Definition at line 580 of file guc_tables.c.

Referenced by CreateAnonymousSegment(), and PGSharedMemoryCreate().

◆ huge_pages_options

const struct config_enum_entry huge_pages_options[]
static
Initial value:
= {
{"off", HUGE_PAGES_OFF, false},
{"on", HUGE_PAGES_ON, false},
{"try", HUGE_PAGES_TRY, false},
{"true", HUGE_PAGES_ON, true},
{"false", HUGE_PAGES_OFF, true},
{"yes", HUGE_PAGES_ON, true},
{"no", HUGE_PAGES_OFF, true},
{"1", HUGE_PAGES_ON, true},
{"0", HUGE_PAGES_OFF, true},
{NULL, 0, false}
}
@ HUGE_PAGES_ON
Definition pg_shmem.h:54
@ HUGE_PAGES_OFF
Definition pg_shmem.h:53
@ HUGE_PAGES_TRY
Definition pg_shmem.h:55

Definition at line 361 of file guc_tables.c.

361 {
362 {"off", HUGE_PAGES_OFF, false},
363 {"on", HUGE_PAGES_ON, false},
364 {"try", HUGE_PAGES_TRY, false},
365 {"true", HUGE_PAGES_ON, true},
366 {"false", HUGE_PAGES_OFF, true},
367 {"yes", HUGE_PAGES_ON, true},
368 {"no", HUGE_PAGES_OFF, true},
369 {"1", HUGE_PAGES_ON, true},
370 {"0", HUGE_PAGES_OFF, true},
371 {NULL, 0, false}
372};

◆ huge_pages_status

int huge_pages_status = HUGE_PAGES_UNKNOWN

Definition at line 582 of file guc_tables.c.

Referenced by pg_get_shmem_pagesize().

◆ huge_pages_status_options

const struct config_enum_entry huge_pages_status_options[]
static
Initial value:
= {
{"off", HUGE_PAGES_OFF, false},
{"on", HUGE_PAGES_ON, false},
{"unknown", HUGE_PAGES_UNKNOWN, false},
{NULL, 0, false}
}
@ HUGE_PAGES_UNKNOWN
Definition pg_shmem.h:56

Definition at line 374 of file guc_tables.c.

374 {
375 {"off", HUGE_PAGES_OFF, false},
376 {"on", HUGE_PAGES_ON, false},
377 {"unknown", HUGE_PAGES_UNKNOWN, false},
378 {NULL, 0, false}
379};

◆ icu_validation_level_options

const struct config_enum_entry icu_validation_level_options[]
static
Initial value:
= {
{"disabled", -1, false},
{"debug5", DEBUG5, false},
{"debug4", DEBUG4, false},
{"debug3", DEBUG3, false},
{"debug2", DEBUG2, false},
{"debug1", DEBUG1, false},
{"debug", DEBUG2, true},
{"log", LOG, false},
{"info", INFO, true},
{"notice", NOTICE, false},
{"warning", WARNING, false},
{"error", ERROR, false},
{NULL, 0, false}
}

Definition at line 174 of file guc_tables.c.

174 {
175 {"disabled", -1, false},
176 {"debug5", DEBUG5, false},
177 {"debug4", DEBUG4, false},
178 {"debug3", DEBUG3, false},
179 {"debug2", DEBUG2, false},
180 {"debug1", DEBUG1, false},
181 {"debug", DEBUG2, true},
182 {"log", LOG, false},
183 {"info", INFO, true},
184 {"notice", NOTICE, false},
185 {"warning", WARNING, false},
186 {"error", ERROR, false},
187 {NULL, 0, false}
188};

◆ IdentFileName

char* IdentFileName

◆ in_hot_standby_guc

bool in_hot_standby_guc

Definition at line 648 of file guc_tables.c.

Referenced by ReportChangedGUCOptions().

◆ integer_datetimes

bool integer_datetimes
static

Definition at line 622 of file guc_tables.c.

◆ intervalstyle_options

const struct config_enum_entry intervalstyle_options[]
static
Initial value:
= {
{"postgres", INTSTYLE_POSTGRES, false},
{"postgres_verbose", INTSTYLE_POSTGRES_VERBOSE, false},
{"sql_standard", INTSTYLE_SQL_STANDARD, false},
{"iso_8601", INTSTYLE_ISO_8601, false},
{NULL, 0, false}
}
#define INTSTYLE_SQL_STANDARD
Definition miscadmin.h:259
#define INTSTYLE_POSTGRES_VERBOSE
Definition miscadmin.h:258
#define INTSTYLE_ISO_8601
Definition miscadmin.h:260
#define INTSTYLE_POSTGRES
Definition miscadmin.h:257

Definition at line 166 of file guc_tables.c.

166 {
167 {"postgres", INTSTYLE_POSTGRES, false},
168 {"postgres_verbose", INTSTYLE_POSTGRES_VERBOSE, false},
169 {"sql_standard", INTSTYLE_SQL_STANDARD, false},
170 {"iso_8601", INTSTYLE_ISO_8601, false},
171 {NULL, 0, false}
172};

◆ isolation_level_options

const struct config_enum_entry isolation_level_options[]
static
Initial value:
= {
{"serializable", XACT_SERIALIZABLE, false},
{"repeatable read", XACT_REPEATABLE_READ, false},
{"read committed", XACT_READ_COMMITTED, false},
{"read uncommitted", XACT_READ_UNCOMMITTED, false},
{NULL, 0}
}
#define XACT_SERIALIZABLE
Definition xact.h:39
#define XACT_READ_UNCOMMITTED
Definition xact.h:36
#define XACT_REPEATABLE_READ
Definition xact.h:38
#define XACT_READ_COMMITTED
Definition xact.h:37

Definition at line 214 of file guc_tables.c.

214 {
215 {"serializable", XACT_SERIALIZABLE, false},
216 {"repeatable read", XACT_REPEATABLE_READ, false},
217 {"read committed", XACT_READ_COMMITTED, false},
218 {"read uncommitted", XACT_READ_UNCOMMITTED, false},
219 {NULL, 0}
220};

◆ log_btree_build_stats

bool log_btree_build_stats = false

◆ log_duration

bool log_duration = false

Definition at line 507 of file guc_tables.c.

Referenced by check_log_duration().

◆ log_error_verbosity_options

const struct config_enum_entry log_error_verbosity_options[]
static
Initial value:
= {
{"terse", PGERROR_TERSE, false},
{"default", PGERROR_DEFAULT, false},
{"verbose", PGERROR_VERBOSE, false},
{NULL, 0, false}
}
@ PGERROR_VERBOSE
Definition elog.h:474
@ PGERROR_DEFAULT
Definition elog.h:473
@ PGERROR_TERSE
Definition elog.h:472

Definition at line 193 of file guc_tables.c.

193 {
194 {"terse", PGERROR_TERSE, false},
195 {"default", PGERROR_DEFAULT, false},
196 {"verbose", PGERROR_VERBOSE, false},
197 {NULL, 0, false}
198};

◆ log_executor_stats

bool log_executor_stats = false

Definition at line 522 of file guc_tables.c.

Referenced by check_log_stats(), PortalRun(), and PortalRunMulti().

◆ log_min_duration_sample

int log_min_duration_sample = -1

Definition at line 542 of file guc_tables.c.

Referenced by check_log_duration().

◆ log_min_duration_statement

int log_min_duration_statement = -1

Definition at line 543 of file guc_tables.c.

Referenced by check_log_duration().

◆ log_min_error_statement

int log_min_error_statement = ERROR

Definition at line 539 of file guc_tables.c.

Referenced by check_log_of_query().

◆ log_min_messages

int log_min_messages = WARNING

Definition at line 540 of file guc_tables.c.

Referenced by execute_extension_script(), and should_output_to_server().

◆ log_parameter_max_length

int log_parameter_max_length = -1

Definition at line 544 of file guc_tables.c.

Referenced by errdetail_params().

◆ log_parameter_max_length_on_error

int log_parameter_max_length_on_error = 0

Definition at line 545 of file guc_tables.c.

Referenced by bind_param_error_callback(), and exec_bind_message().

◆ log_parser_stats

◆ log_planner_stats

bool log_planner_stats = false

Definition at line 521 of file guc_tables.c.

Referenced by check_log_stats(), and pg_plan_query().

◆ log_statement_options

const struct config_enum_entry log_statement_options[]
static
Initial value:
= {
{"none", LOGSTMT_NONE, false},
{"ddl", LOGSTMT_DDL, false},
{"mod", LOGSTMT_MOD, false},
{"all", LOGSTMT_ALL, false},
{NULL, 0, false}
}
@ LOGSTMT_NONE
Definition tcopprot.h:34
@ LOGSTMT_MOD
Definition tcopprot.h:36
@ LOGSTMT_DDL
Definition tcopprot.h:35
@ LOGSTMT_ALL
Definition tcopprot.h:37

Definition at line 203 of file guc_tables.c.

203 {
204 {"none", LOGSTMT_NONE, false},
205 {"ddl", LOGSTMT_DDL, false},
206 {"mod", LOGSTMT_MOD, false},
207 {"all", LOGSTMT_ALL, false},
208 {NULL, 0, false}
209};

◆ log_statement_sample_rate

double log_statement_sample_rate = 1.0

Definition at line 547 of file guc_tables.c.

Referenced by check_log_duration().

◆ log_statement_stats

◆ log_temp_files

int log_temp_files = -1

Definition at line 546 of file guc_tables.c.

Referenced by ReportTemporaryFileUsage().

◆ log_timezone_string

char* log_timezone_string
static

Definition at line 607 of file guc_tables.c.

◆ log_xact_sample_rate

double log_xact_sample_rate = 0

Definition at line 548 of file guc_tables.c.

Referenced by StartTransaction().

◆ max_function_args

int max_function_args
static

Definition at line 611 of file guc_tables.c.

◆ max_identifier_length

int max_identifier_length
static

Definition at line 613 of file guc_tables.c.

◆ max_index_keys

int max_index_keys
static

Definition at line 612 of file guc_tables.c.

◆ num_os_semaphores

int num_os_semaphores
static

Definition at line 619 of file guc_tables.c.

◆ num_temp_buffers

int num_temp_buffers = 1024

◆ password_encryption_options

const struct config_enum_entry password_encryption_options[]
static
Initial value:
= {
{"md5", PASSWORD_TYPE_MD5, false},
{"scram-sha-256", PASSWORD_TYPE_SCRAM_SHA_256, false},
{NULL, 0, false}
}
@ PASSWORD_TYPE_SCRAM_SHA_256
Definition crypt.h:44
@ PASSWORD_TYPE_MD5
Definition crypt.h:43

Definition at line 414 of file guc_tables.c.

414 {
415 {"md5", PASSWORD_TYPE_MD5, false},
416 {"scram-sha-256", PASSWORD_TYPE_SCRAM_SHA_256, false},
417 {NULL, 0, false}
418};

◆ phony_random_seed

double phony_random_seed
static

Definition at line 590 of file guc_tables.c.

◆ plan_cache_mode_options

const struct config_enum_entry plan_cache_mode_options[]
static
Initial value:
= {
{"auto", PLAN_CACHE_MODE_AUTO, false},
{"force_generic_plan", PLAN_CACHE_MODE_FORCE_GENERIC_PLAN, false},
{"force_custom_plan", PLAN_CACHE_MODE_FORCE_CUSTOM_PLAN, false},
{NULL, 0, false}
}
@ PLAN_CACHE_MODE_FORCE_CUSTOM_PLAN
Definition plancache.h:35
@ PLAN_CACHE_MODE_FORCE_GENERIC_PLAN
Definition plancache.h:34
@ PLAN_CACHE_MODE_AUTO
Definition plancache.h:33

Definition at line 407 of file guc_tables.c.

407 {
408 {"auto", PLAN_CACHE_MODE_AUTO, false},
409 {"force_generic_plan", PLAN_CACHE_MODE_FORCE_GENERIC_PLAN, false},
410 {"force_custom_plan", PLAN_CACHE_MODE_FORCE_CUSTOM_PLAN, false},
411 {NULL, 0, false}
412};

◆ recovery_init_sync_method_options

const struct config_enum_entry recovery_init_sync_method_options[]
static
Initial value:
= {
{"fsync", DATA_DIR_SYNC_METHOD_FSYNC, false},
{NULL, 0, false}
}
@ DATA_DIR_SYNC_METHOD_FSYNC
Definition file_utils.h:29

Definition at line 438 of file guc_tables.c.

438 {
439 {"fsync", DATA_DIR_SYNC_METHOD_FSYNC, false},
440#ifdef HAVE_SYNCFS
441 {"syncfs", DATA_DIR_SYNC_METHOD_SYNCFS, false},
442#endif
443 {NULL, 0, false}
444};
@ DATA_DIR_SYNC_METHOD_SYNCFS
Definition file_utils.h:30

◆ recovery_prefetch_options

const struct config_enum_entry recovery_prefetch_options[]
static
Initial value:
= {
{"off", RECOVERY_PREFETCH_OFF, false},
{"on", RECOVERY_PREFETCH_ON, false},
{"try", RECOVERY_PREFETCH_TRY, false},
{"true", RECOVERY_PREFETCH_ON, true},
{"false", RECOVERY_PREFETCH_OFF, true},
{"yes", RECOVERY_PREFETCH_ON, true},
{"no", RECOVERY_PREFETCH_OFF, true},
{"1", RECOVERY_PREFETCH_ON, true},
{"0", RECOVERY_PREFETCH_OFF, true},
{NULL, 0, false}
}
@ RECOVERY_PREFETCH_OFF
@ RECOVERY_PREFETCH_ON
@ RECOVERY_PREFETCH_TRY

Definition at line 381 of file guc_tables.c.

381 {
382 {"off", RECOVERY_PREFETCH_OFF, false},
383 {"on", RECOVERY_PREFETCH_ON, false},
384 {"try", RECOVERY_PREFETCH_TRY, false},
385 {"true", RECOVERY_PREFETCH_ON, true},
386 {"false", RECOVERY_PREFETCH_OFF, true},
387 {"yes", RECOVERY_PREFETCH_ON, true},
388 {"no", RECOVERY_PREFETCH_OFF, true},
389 {"1", RECOVERY_PREFETCH_ON, true},
390 {"0", RECOVERY_PREFETCH_OFF, true},
391 {NULL, 0, false}
392};

◆ recovery_target_action_options

const struct config_enum_entry recovery_target_action_options[]
extern

Definition at line 76 of file xlogrecovery.c.

76 {
77 {"pause", RECOVERY_TARGET_ACTION_PAUSE, false},
78 {"promote", RECOVERY_TARGET_ACTION_PROMOTE, false},
79 {"shutdown", RECOVERY_TARGET_ACTION_SHUTDOWN, false},
80 {NULL, 0, false}
81};
@ RECOVERY_TARGET_ACTION_PAUSE
@ RECOVERY_TARGET_ACTION_PROMOTE
@ RECOVERY_TARGET_ACTION_SHUTDOWN

◆ recovery_target_lsn_string

char* recovery_target_lsn_string
static

Definition at line 642 of file guc_tables.c.

◆ recovery_target_name_string

char* recovery_target_name_string
static

Definition at line 641 of file guc_tables.c.

◆ recovery_target_string

char* recovery_target_string
static

Definition at line 639 of file guc_tables.c.

◆ recovery_target_timeline_string

char* recovery_target_timeline_string
static

Definition at line 638 of file guc_tables.c.

◆ recovery_target_xid_string

char* recovery_target_xid_string
static

Definition at line 640 of file guc_tables.c.

◆ restrict_nonsystem_relation_kind_string

char* restrict_nonsystem_relation_kind_string
static

Definition at line 597 of file guc_tables.c.

◆ role_string

char* role_string

Definition at line 645 of file guc_tables.c.

Referenced by show_role().

◆ row_security

bool row_security

Definition at line 528 of file guc_tables.c.

Referenced by check_enable_rls(), CompleteCachedPlan(), and RevalidateCachedQuery().

◆ segment_size

int segment_size
static

Definition at line 615 of file guc_tables.c.

◆ server_encoding_string

char* server_encoding_string
static

Definition at line 593 of file guc_tables.c.

◆ server_message_level_options

const struct config_enum_entry server_message_level_options[]
static
Initial value:
= {
{"debug5", DEBUG5, false},
{"debug4", DEBUG4, false},
{"debug3", DEBUG3, false},
{"debug2", DEBUG2, false},
{"debug1", DEBUG1, false},
{"debug", DEBUG2, true},
{"info", INFO, false},
{"notice", NOTICE, false},
{"warning", WARNING, false},
{"error", ERROR, false},
{"log", LOG, false},
{"fatal", FATAL, false},
{"panic", PANIC, false},
{NULL, 0, false}
}
#define FATAL
Definition elog.h:41
#define PANIC
Definition elog.h:42

Definition at line 149 of file guc_tables.c.

149 {
150 {"debug5", DEBUG5, false},
151 {"debug4", DEBUG4, false},
152 {"debug3", DEBUG3, false},
153 {"debug2", DEBUG2, false},
154 {"debug1", DEBUG1, false},
155 {"debug", DEBUG2, true},
156 {"info", INFO, false},
157 {"notice", NOTICE, false},
158 {"warning", WARNING, false},
159 {"error", ERROR, false},
160 {"log", LOG, false},
161 {"fatal", FATAL, false},
162 {"panic", PANIC, false},
163 {NULL, 0, false}
164};

◆ server_version_num

int server_version_num
static

Definition at line 595 of file guc_tables.c.

Referenced by postgresAcquireSampleRowsFunc().

◆ server_version_string

char* server_version_string
static

Definition at line 594 of file guc_tables.c.

◆ session_authorization_string

char* session_authorization_string
static

Definition at line 610 of file guc_tables.c.

◆ session_replication_role_options

const struct config_enum_entry session_replication_role_options[]
static
Initial value:
= {
{"origin", SESSION_REPLICATION_ROLE_ORIGIN, false},
{"replica", SESSION_REPLICATION_ROLE_REPLICA, false},
{"local", SESSION_REPLICATION_ROLE_LOCAL, false},
{NULL, 0, false}
}
#define SESSION_REPLICATION_ROLE_REPLICA
Definition trigger.h:143
#define SESSION_REPLICATION_ROLE_LOCAL
Definition trigger.h:144
#define SESSION_REPLICATION_ROLE_ORIGIN
Definition trigger.h:142

Definition at line 222 of file guc_tables.c.

222 {
223 {"origin", SESSION_REPLICATION_ROLE_ORIGIN, false},
224 {"replica", SESSION_REPLICATION_ROLE_REPLICA, false},
225 {"local", SESSION_REPLICATION_ROLE_LOCAL, false},
226 {NULL, 0, false}
227};

◆ shared_memory_options

const struct config_enum_entry shared_memory_options[]
static
Initial value:
= {
{"sysv", SHMEM_TYPE_SYSV, false},
{"mmap", SHMEM_TYPE_MMAP, false},
{NULL, 0, false}
}
@ SHMEM_TYPE_MMAP
Definition pg_shmem.h:64
@ SHMEM_TYPE_SYSV
Definition pg_shmem.h:63

Definition at line 446 of file guc_tables.c.

446 {
447#ifndef WIN32
448 {"sysv", SHMEM_TYPE_SYSV, false},
449#endif
450#ifndef EXEC_BACKEND
451 {"mmap", SHMEM_TYPE_MMAP, false},
452#endif
453#ifdef WIN32
454 {"windows", SHMEM_TYPE_WINDOWS, false},
455#endif
456 {NULL, 0, false}
457};
@ SHMEM_TYPE_WINDOWS
Definition pg_shmem.h:62

◆ shared_memory_size_in_huge_pages

int shared_memory_size_in_huge_pages
static

Definition at line 617 of file guc_tables.c.

◆ shared_memory_size_mb

int shared_memory_size_mb
static

Definition at line 616 of file guc_tables.c.

◆ ssl_protocol_versions_info

const struct config_enum_entry ssl_protocol_versions_info[]
static
Initial value:
= {
{"", PG_TLS_ANY, false},
{"TLSv1", PG_TLS1_VERSION, false},
{"TLSv1.1", PG_TLS1_1_VERSION, false},
{"TLSv1.2", PG_TLS1_2_VERSION, false},
{"TLSv1.3", PG_TLS1_3_VERSION, false},
{NULL, 0, false}
}
@ PG_TLS1_VERSION
Definition libpq.h:149
@ PG_TLS1_3_VERSION
Definition libpq.h:152
@ PG_TLS1_1_VERSION
Definition libpq.h:150
@ PG_TLS1_2_VERSION
Definition libpq.h:151
@ PG_TLS_ANY
Definition libpq.h:148

Definition at line 420 of file guc_tables.c.

420 {
421 {"", PG_TLS_ANY, false},
422 {"TLSv1", PG_TLS1_VERSION, false},
423 {"TLSv1.1", PG_TLS1_1_VERSION, false},
424 {"TLSv1.2", PG_TLS1_2_VERSION, false},
425 {"TLSv1.3", PG_TLS1_3_VERSION, false},
426 {NULL, 0, false}
427};

◆ ssl_renegotiation_limit

int ssl_renegotiation_limit
static

Definition at line 574 of file guc_tables.c.

◆ standard_conforming_strings

bool standard_conforming_strings = true
static

Definition at line 535 of file guc_tables.c.

◆ stats_fetch_consistency

const struct config_enum_entry stats_fetch_consistency[]
static
Initial value:
= {
{"cache", PGSTAT_FETCH_CONSISTENCY_CACHE, false},
{"snapshot", PGSTAT_FETCH_CONSISTENCY_SNAPSHOT, false},
{NULL, 0, false}
}
@ PGSTAT_FETCH_CONSISTENCY_NONE
Definition pgstat.h:48
@ PGSTAT_FETCH_CONSISTENCY_CACHE
Definition pgstat.h:49
@ PGSTAT_FETCH_CONSISTENCY_SNAPSHOT
Definition pgstat.h:50

Definition at line 258 of file guc_tables.c.

258 {
259 {"none", PGSTAT_FETCH_CONSISTENCY_NONE, false},
260 {"cache", PGSTAT_FETCH_CONSISTENCY_CACHE, false},
261 {"snapshot", PGSTAT_FETCH_CONSISTENCY_SNAPSHOT, false},
262 {NULL, 0, false}
263};

◆ synchronous_commit_options

const struct config_enum_entry synchronous_commit_options[]
static
Initial value:
= {
{"local", SYNCHRONOUS_COMMIT_LOCAL_FLUSH, false},
{"remote_write", SYNCHRONOUS_COMMIT_REMOTE_WRITE, false},
{"remote_apply", SYNCHRONOUS_COMMIT_REMOTE_APPLY, false},
{"on", SYNCHRONOUS_COMMIT_ON, false},
{"off", SYNCHRONOUS_COMMIT_OFF, false},
{"true", SYNCHRONOUS_COMMIT_ON, true},
{"false", SYNCHRONOUS_COMMIT_OFF, true},
{"yes", SYNCHRONOUS_COMMIT_ON, true},
{"no", SYNCHRONOUS_COMMIT_OFF, true},
{"1", SYNCHRONOUS_COMMIT_ON, true},
{"0", SYNCHRONOUS_COMMIT_OFF, true},
{NULL, 0, false}
}
@ SYNCHRONOUS_COMMIT_LOCAL_FLUSH
Definition xact.h:72
@ SYNCHRONOUS_COMMIT_REMOTE_WRITE
Definition xact.h:73
@ SYNCHRONOUS_COMMIT_REMOTE_APPLY
Definition xact.h:76
@ SYNCHRONOUS_COMMIT_OFF
Definition xact.h:71
#define SYNCHRONOUS_COMMIT_ON
Definition xact.h:81

Definition at line 342 of file guc_tables.c.

342 {
343 {"local", SYNCHRONOUS_COMMIT_LOCAL_FLUSH, false},
344 {"remote_write", SYNCHRONOUS_COMMIT_REMOTE_WRITE, false},
345 {"remote_apply", SYNCHRONOUS_COMMIT_REMOTE_APPLY, false},
346 {"on", SYNCHRONOUS_COMMIT_ON, false},
347 {"off", SYNCHRONOUS_COMMIT_OFF, false},
348 {"true", SYNCHRONOUS_COMMIT_ON, true},
349 {"false", SYNCHRONOUS_COMMIT_OFF, true},
350 {"yes", SYNCHRONOUS_COMMIT_ON, true},
351 {"no", SYNCHRONOUS_COMMIT_OFF, true},
352 {"1", SYNCHRONOUS_COMMIT_ON, true},
353 {"0", SYNCHRONOUS_COMMIT_OFF, true},
354 {NULL, 0, false}
355};

◆ syslog_facility

int syslog_facility = DEFAULT_SYSLOG_FACILITY
static

Definition at line 604 of file guc_tables.c.

Referenced by assign_syslog_facility().

◆ syslog_facility_options

const struct config_enum_entry syslog_facility_options[]
static
Initial value:
= {
{"none", 0, false},
{NULL, 0}
}

Definition at line 232 of file guc_tables.c.

232 {
233#ifdef HAVE_SYSLOG
234 {"local0", LOG_LOCAL0, false},
235 {"local1", LOG_LOCAL1, false},
236 {"local2", LOG_LOCAL2, false},
237 {"local3", LOG_LOCAL3, false},
238 {"local4", LOG_LOCAL4, false},
239 {"local5", LOG_LOCAL5, false},
240 {"local6", LOG_LOCAL6, false},
241 {"local7", LOG_LOCAL7, false},
242#else
243 {"none", 0, false},
244#endif
245 {NULL, 0}
246};

◆ syslog_ident_str

char* syslog_ident_str
static

Definition at line 589 of file guc_tables.c.

◆ tcp_keepalives_count

int tcp_keepalives_count

Definition at line 565 of file guc_tables.c.

Referenced by pq_init().

◆ tcp_keepalives_idle

int tcp_keepalives_idle

Definition at line 563 of file guc_tables.c.

Referenced by pq_init().

◆ tcp_keepalives_interval

int tcp_keepalives_interval

Definition at line 564 of file guc_tables.c.

Referenced by pq_init().

◆ tcp_user_timeout

int tcp_user_timeout

Definition at line 566 of file guc_tables.c.

Referenced by pq_init().

◆ temp_file_limit

int temp_file_limit = -1

Definition at line 551 of file guc_tables.c.

Referenced by FileWriteV().

◆ timezone_abbreviations_string

char* timezone_abbreviations_string
static

Definition at line 608 of file guc_tables.c.

◆ timezone_string

char* timezone_string
static

Definition at line 606 of file guc_tables.c.

◆ track_function_options

const struct config_enum_entry track_function_options[]
static
Initial value:
= {
{"none", TRACK_FUNC_OFF, false},
{"pl", TRACK_FUNC_PL, false},
{"all", TRACK_FUNC_ALL, false},
{NULL, 0, false}
}
@ TRACK_FUNC_PL
Definition pgstat.h:42
@ TRACK_FUNC_ALL
Definition pgstat.h:43
@ TRACK_FUNC_OFF
Definition pgstat.h:41

Definition at line 248 of file guc_tables.c.

248 {
249 {"none", TRACK_FUNC_OFF, false},
250 {"pl", TRACK_FUNC_PL, false},
251 {"all", TRACK_FUNC_ALL, false},
252 {NULL, 0, false}
253};

◆ wal_block_size

int wal_block_size
static

Definition at line 618 of file guc_tables.c.

◆ wal_compression_options

const struct config_enum_entry wal_compression_options[]
static
Initial value:
= {
{"pglz", WAL_COMPRESSION_PGLZ, false},
{"on", WAL_COMPRESSION_PGLZ, false},
{"off", WAL_COMPRESSION_NONE, false},
{"true", WAL_COMPRESSION_PGLZ, true},
{"false", WAL_COMPRESSION_NONE, true},
{"yes", WAL_COMPRESSION_PGLZ, true},
{"no", WAL_COMPRESSION_NONE, true},
{"1", WAL_COMPRESSION_PGLZ, true},
{"0", WAL_COMPRESSION_NONE, true},
{NULL, 0, false}
}
@ WAL_COMPRESSION_NONE
Definition xlog.h:83
@ WAL_COMPRESSION_PGLZ
Definition xlog.h:84

Definition at line 467 of file guc_tables.c.

467 {
468 {"pglz", WAL_COMPRESSION_PGLZ, false},
469#ifdef USE_LZ4
470 {"lz4", WAL_COMPRESSION_LZ4, false},
471#endif
472#ifdef USE_ZSTD
473 {"zstd", WAL_COMPRESSION_ZSTD, false},
474#endif
475 {"on", WAL_COMPRESSION_PGLZ, false},
476 {"off", WAL_COMPRESSION_NONE, false},
477 {"true", WAL_COMPRESSION_PGLZ, true},
478 {"false", WAL_COMPRESSION_NONE, true},
479 {"yes", WAL_COMPRESSION_PGLZ, true},
480 {"no", WAL_COMPRESSION_NONE, true},
481 {"1", WAL_COMPRESSION_PGLZ, true},
482 {"0", WAL_COMPRESSION_NONE, true},
483 {NULL, 0, false}
484};
@ WAL_COMPRESSION_LZ4
Definition xlog.h:85
@ WAL_COMPRESSION_ZSTD
Definition xlog.h:86

◆ wal_level_options

const struct config_enum_entry wal_level_options[]
extern

Definition at line 27 of file xlogdesc.c.

27 {
28 {"minimal", WAL_LEVEL_MINIMAL, false},
29 {"replica", WAL_LEVEL_REPLICA, false},
30 {"archive", WAL_LEVEL_REPLICA, true}, /* deprecated */
31 {"hot_standby", WAL_LEVEL_REPLICA, true}, /* deprecated */
32 {"logical", WAL_LEVEL_LOGICAL, false},
33 {NULL, 0, false}
34};
@ WAL_LEVEL_REPLICA
Definition xlog.h:76
@ WAL_LEVEL_LOGICAL
Definition xlog.h:77
@ WAL_LEVEL_MINIMAL
Definition xlog.h:75

◆ wal_sync_method_options

const struct config_enum_entry wal_sync_method_options[]
extern

Definition at line 174 of file xlog.c.

174 {
175 {"fsync", WAL_SYNC_METHOD_FSYNC, false},
176#ifdef HAVE_FSYNC_WRITETHROUGH
177 {"fsync_writethrough", WAL_SYNC_METHOD_FSYNC_WRITETHROUGH, false},
178#endif
179 {"fdatasync", WAL_SYNC_METHOD_FDATASYNC, false},
180#ifdef O_SYNC
181 {"open_sync", WAL_SYNC_METHOD_OPEN, false},
182#endif
183#ifdef O_DSYNC
184 {"open_datasync", WAL_SYNC_METHOD_OPEN_DSYNC, false},
185#endif
186 {NULL, 0, false}
187};
@ WAL_SYNC_METHOD_OPEN
Definition xlog.h:27
@ WAL_SYNC_METHOD_FDATASYNC
Definition xlog.h:26
@ WAL_SYNC_METHOD_FSYNC_WRITETHROUGH
Definition xlog.h:28
@ WAL_SYNC_METHOD_OPEN_DSYNC
Definition xlog.h:29
@ WAL_SYNC_METHOD_FSYNC
Definition xlog.h:25

◆ xmlbinary_options

const struct config_enum_entry xmlbinary_options[]
static
Initial value:
= {
{"base64", XMLBINARY_BASE64, false},
{"hex", XMLBINARY_HEX, false},
{NULL, 0, false}
}
@ XMLBINARY_BASE64
Definition xml.h:35
@ XMLBINARY_HEX
Definition xml.h:36

Definition at line 268 of file guc_tables.c.

268 {
269 {"base64", XMLBINARY_BASE64, false},
270 {"hex", XMLBINARY_HEX, false},
271 {NULL, 0, false}
272};

◆ xmloption_options

const struct config_enum_entry xmloption_options[]
static
Initial value:
= {
{"content", XMLOPTION_CONTENT, false},
{"document", XMLOPTION_DOCUMENT, false},
{NULL, 0, false}
}
@ XMLOPTION_CONTENT
Definition primnodes.h:1618
@ XMLOPTION_DOCUMENT
Definition primnodes.h:1617

Definition at line 277 of file guc_tables.c.

277 {
278 {"content", XMLOPTION_CONTENT, false},
279 {"document", XMLOPTION_DOCUMENT, false},
280 {NULL, 0, false}
281};