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/fd.h"
#include "storage/io_worker.h"
#include "storage/large_object.h"
#include "storage/pg_shmem.h"
#include "storage/predicate.h"
#include "storage/proc.h"
#include "storage/procnumber.h"
#include "storage/standby.h"
#include "tcop/backend_startup.h"
#include "tcop/tcopprot.h"
#include "portability/instr_time.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 "postmaster/proctypelist.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
 
#define PG_PROCTYPE(bktype, bkcategory, description, main_func, shmem_attach)    [bktype] = WARNING,
 

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 []
 
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 timing_clock_source_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 []
 
static const struct config_enum_entry file_extend_method_options []
 
static const struct config_enum_entry data_checksums_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 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
 
charHostsFileName
 
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 charlog_min_messages_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 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
 
int log_min_messages []
 
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 655 of file guc_tables.c.

◆ DEFAULT_SYSLOG_FACILITY

#define DEFAULT_SYSLOG_FACILITY   0

Definition at line 631 of file guc_tables.c.

◆ EXEC_BACKEND_ENABLED

#define EXEC_BACKEND_ENABLED   false

Definition at line 662 of file guc_tables.c.

◆ PG_KRB_SRVTAB

#define PG_KRB_SRVTAB   ""

Definition at line 114 of file guc_tables.c.

◆ PG_PROCTYPE

#define PG_PROCTYPE (   bktype,
  bkcategory,
  description,
  main_func,
  shmem_attach 
)     [bktype] = WARNING,

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 534 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 198 of file xlog.c.

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

◆ assert_enabled

bool assert_enabled = DEFAULT_ASSERT_ENABLED
static

Definition at line 657 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 293 of file guc_tables.c.

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

◆ backtrace_functions

char* backtrace_functions

Definition at line 576 of file guc_tables.c.

Referenced by errfinish().

◆ block_size

int block_size
static

Definition at line 643 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 123 of file guc_tables.c.

123 {
124 {"escape", BYTEA_OUTPUT_ESCAPE, false},
125 {"hex", BYTEA_OUTPUT_HEX, false},
126 {NULL, 0, false}
127};

◆ check_function_bodies

◆ client_encoding_string

char* client_encoding_string
static

Definition at line 619 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:32
#define DEBUG3
Definition elog.h:29
#define WARNING
Definition elog.h:37
#define DEBUG2
Definition elog.h:30
#define DEBUG1
Definition elog.h:31
#define ERROR
Definition elog.h:40
#define NOTICE
Definition elog.h:36
#define INFO
Definition elog.h:35
#define DEBUG5
Definition elog.h:27
#define DEBUG4
Definition elog.h:28

Definition at line 137 of file guc_tables.c.

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

◆ client_min_messages

int client_min_messages = NOTICE

Definition at line 568 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 310 of file guc_tables.c.

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

◆ config_group_names

const char* const config_group_names[]

Definition at line 736 of file guc_tables.c.

737{
738 [UNGROUPED] = gettext_noop("Ungrouped"),
739 [FILE_LOCATIONS] = gettext_noop("File Locations"),
740 [CONN_AUTH_SETTINGS] = gettext_noop("Connections and Authentication / Connection Settings"),
741 [CONN_AUTH_TCP] = gettext_noop("Connections and Authentication / TCP Settings"),
742 [CONN_AUTH_AUTH] = gettext_noop("Connections and Authentication / Authentication"),
743 [CONN_AUTH_SSL] = gettext_noop("Connections and Authentication / SSL"),
744 [RESOURCES_TIME] = gettext_noop("Resource Usage / Time"),
745 [RESOURCES_MEM] = gettext_noop("Resource Usage / Memory"),
746 [RESOURCES_DISK] = gettext_noop("Resource Usage / Disk"),
747 [RESOURCES_KERNEL] = gettext_noop("Resource Usage / Kernel Resources"),
748 [RESOURCES_BGWRITER] = gettext_noop("Resource Usage / Background Writer"),
749 [RESOURCES_IO] = gettext_noop("Resource Usage / I/O"),
750 [RESOURCES_WORKER_PROCESSES] = gettext_noop("Resource Usage / Worker Processes"),
751 [WAL_SETTINGS] = gettext_noop("Write-Ahead Log / Settings"),
752 [WAL_CHECKPOINTS] = gettext_noop("Write-Ahead Log / Checkpoints"),
753 [WAL_ARCHIVING] = gettext_noop("Write-Ahead Log / Archiving"),
754 [WAL_RECOVERY] = gettext_noop("Write-Ahead Log / Recovery"),
755 [WAL_ARCHIVE_RECOVERY] = gettext_noop("Write-Ahead Log / Archive Recovery"),
756 [WAL_RECOVERY_TARGET] = gettext_noop("Write-Ahead Log / Recovery Target"),
757 [WAL_SUMMARIZATION] = gettext_noop("Write-Ahead Log / Summarization"),
758 [REPLICATION_SENDING] = gettext_noop("Replication / Sending Servers"),
759 [REPLICATION_PRIMARY] = gettext_noop("Replication / Primary Server"),
760 [REPLICATION_STANDBY] = gettext_noop("Replication / Standby Servers"),
761 [REPLICATION_SUBSCRIBERS] = gettext_noop("Replication / Subscribers"),
762 [QUERY_TUNING_METHOD] = gettext_noop("Query Tuning / Planner Method Configuration"),
763 [QUERY_TUNING_COST] = gettext_noop("Query Tuning / Planner Cost Constants"),
764 [QUERY_TUNING_GEQO] = gettext_noop("Query Tuning / Genetic Query Optimizer"),
765 [QUERY_TUNING_OTHER] = gettext_noop("Query Tuning / Other Planner Options"),
766 [LOGGING_WHERE] = gettext_noop("Reporting and Logging / Where to Log"),
767 [LOGGING_WHEN] = gettext_noop("Reporting and Logging / When to Log"),
768 [LOGGING_WHAT] = gettext_noop("Reporting and Logging / What to Log"),
769 [PROCESS_TITLE] = gettext_noop("Reporting and Logging / Process Title"),
770 [STATS_MONITORING] = gettext_noop("Statistics / Monitoring"),
771 [STATS_CUMULATIVE] = gettext_noop("Statistics / Cumulative Query and Index Statistics"),
772 [VACUUM_AUTOVACUUM] = gettext_noop("Vacuuming / Automatic Vacuuming"),
773 [VACUUM_COST_DELAY] = gettext_noop("Vacuuming / Cost-Based Vacuum Delay"),
774 [VACUUM_DEFAULT] = gettext_noop("Vacuuming / Default Behavior"),
775 [VACUUM_FREEZING] = gettext_noop("Vacuuming / Freezing"),
776 [CLIENT_CONN_STATEMENT] = gettext_noop("Client Connection Defaults / Statement Behavior"),
777 [CLIENT_CONN_LOCALE] = gettext_noop("Client Connection Defaults / Locale and Formatting"),
778 [CLIENT_CONN_PRELOAD] = gettext_noop("Client Connection Defaults / Shared Library Preloading"),
779 [CLIENT_CONN_OTHER] = gettext_noop("Client Connection Defaults / Other Defaults"),
780 [LOCK_MANAGEMENT] = gettext_noop("Lock Management"),
781 [COMPAT_OPTIONS_PREVIOUS] = gettext_noop("Version and Platform Compatibility / Previous PostgreSQL Versions"),
782 [COMPAT_OPTIONS_OTHER] = gettext_noop("Version and Platform Compatibility / Other Platforms and Clients"),
783 [ERROR_HANDLING_OPTIONS] = gettext_noop("Error Handling"),
784 [PRESET_OPTIONS] = gettext_noop("Preset Options"),
785 [CUSTOM_OPTIONS] = gettext_noop("Customized Options"),
786 [DEVELOPER_OPTIONS] = gettext_noop("Developer Options"),
787};
#define gettext_noop(x)
Definition c.h:1285
@ RESOURCES_KERNEL
Definition guc_tables.h:66
@ CLIENT_CONN_LOCALE
Definition guc_tables.h:96
@ WAL_ARCHIVE_RECOVERY
Definition guc_tables.h:74
@ STATS_CUMULATIVE
Definition guc_tables.h:90
@ CLIENT_CONN_PRELOAD
Definition guc_tables.h:97
@ VACUUM_COST_DELAY
Definition guc_tables.h:92
@ QUERY_TUNING_OTHER
Definition guc_tables.h:84
@ LOGGING_WHERE
Definition guc_tables.h:85
@ CONN_AUTH_AUTH
Definition guc_tables.h:61
@ RESOURCES_WORKER_PROCESSES
Definition guc_tables.h:69
@ VACUUM_FREEZING
Definition guc_tables.h:94
@ ERROR_HANDLING_OPTIONS
Definition guc_tables.h:102
@ PROCESS_TITLE
Definition guc_tables.h:88
@ RESOURCES_DISK
Definition guc_tables.h:65
@ REPLICATION_SENDING
Definition guc_tables.h:77
@ RESOURCES_IO
Definition guc_tables.h:68
@ LOCK_MANAGEMENT
Definition guc_tables.h:99
@ CUSTOM_OPTIONS
Definition guc_tables.h:104
@ REPLICATION_PRIMARY
Definition guc_tables.h:78
@ STATS_MONITORING
Definition guc_tables.h:89
@ WAL_RECOVERY_TARGET
Definition guc_tables.h:75
@ WAL_RECOVERY
Definition guc_tables.h:73
@ CONN_AUTH_SSL
Definition guc_tables.h:62
@ RESOURCES_MEM
Definition guc_tables.h:64
@ RESOURCES_BGWRITER
Definition guc_tables.h:67
@ PRESET_OPTIONS
Definition guc_tables.h:103
@ DEVELOPER_OPTIONS
Definition guc_tables.h:105
@ QUERY_TUNING_METHOD
Definition guc_tables.h:81
@ LOGGING_WHAT
Definition guc_tables.h:87
@ VACUUM_DEFAULT
Definition guc_tables.h:93
@ QUERY_TUNING_GEQO
Definition guc_tables.h:83
@ WAL_SETTINGS
Definition guc_tables.h:70
@ COMPAT_OPTIONS_OTHER
Definition guc_tables.h:101
@ CLIENT_CONN_STATEMENT
Definition guc_tables.h:95
@ FILE_LOCATIONS
Definition guc_tables.h:58
@ REPLICATION_STANDBY
Definition guc_tables.h:79
@ QUERY_TUNING_COST
Definition guc_tables.h:82
@ WAL_ARCHIVING
Definition guc_tables.h:72
@ COMPAT_OPTIONS_PREVIOUS
Definition guc_tables.h:100
@ WAL_CHECKPOINTS
Definition guc_tables.h:71
@ CLIENT_CONN_OTHER
Definition guc_tables.h:98
@ LOGGING_WHEN
Definition guc_tables.h:86
@ RESOURCES_TIME
Definition guc_tables.h:63
@ CONN_AUTH_TCP
Definition guc_tables.h:60
@ REPLICATION_SUBSCRIBERS
Definition guc_tables.h:80
@ WAL_SUMMARIZATION
Definition guc_tables.h:76
@ CONN_AUTH_SETTINGS
Definition guc_tables.h:59
@ UNGROUPED
Definition guc_tables.h:57
@ VACUUM_AUTOVACUUM
Definition guc_tables.h:91

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 797 of file guc_tables.c.

798{
799 [PGC_BOOL] = "bool",
800 [PGC_INT] = "integer",
801 [PGC_REAL] = "real",
802 [PGC_STRING] = "string",
803 [PGC_ENUM] = "enum",
804};

Referenced by GetConfigOptionValues().

◆ ConfigFileName

char* ConfigFileName

Definition at line 583 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 328 of file guc_tables.c.

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

◆ current_role_is_superuser

bool current_role_is_superuser

Definition at line 565 of file guc_tables.c.

Referenced by check_role(), and InitializeParallelDSM().

◆ data_checksums_options

const struct config_enum_entry data_checksums_options[]
static
Initial value:
= {
{"on", PG_DATA_CHECKSUM_VERSION, true},
{"off", PG_DATA_CHECKSUM_OFF, true},
{"inprogress-on", PG_DATA_CHECKSUM_INPROGRESS_ON, true},
{"inprogress-off", PG_DATA_CHECKSUM_INPROGRESS_OFF, true},
{NULL, 0, false}
}
@ PG_DATA_CHECKSUM_VERSION
Definition checksum.h:29
@ PG_DATA_CHECKSUM_INPROGRESS_OFF
Definition checksum.h:30
@ PG_DATA_CHECKSUM_INPROGRESS_ON
Definition checksum.h:31
@ PG_DATA_CHECKSUM_OFF
Definition checksum.h:28

Definition at line 514 of file guc_tables.c.

514 {
515 {"on", PG_DATA_CHECKSUM_VERSION, true},
516 {"off", PG_DATA_CHECKSUM_OFF, true},
517 {"inprogress-on", PG_DATA_CHECKSUM_INPROGRESS_ON, true},
518 {"inprogress-off", PG_DATA_CHECKSUM_INPROGRESS_OFF, true},
519 {NULL, 0, false}
520};

◆ data_directory

char* data_directory
static

Definition at line 638 of file guc_tables.c.

◆ datestyle_string

char* datestyle_string
static

Definition at line 620 of file guc_tables.c.

◆ debug_io_direct_string

char* debug_io_direct_string
static

Definition at line 624 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 441 of file guc_tables.c.

441 {
442 {"buffered", DEBUG_LOGICAL_REP_STREAMING_BUFFERED, false},
443 {"immediate", DEBUG_LOGICAL_REP_STREAMING_IMMEDIATE, false},
444 {NULL, 0, false}
445};

◆ 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 406 of file guc_tables.c.

406 {
407 {"off", DEBUG_PARALLEL_OFF, false},
408 {"on", DEBUG_PARALLEL_ON, false},
409 {"regress", DEBUG_PARALLEL_REGRESS, false},
410 {"true", DEBUG_PARALLEL_ON, true},
411 {"false", DEBUG_PARALLEL_OFF, true},
412 {"yes", DEBUG_PARALLEL_ON, true},
413 {"no", DEBUG_PARALLEL_OFF, true},
414 {"1", DEBUG_PARALLEL_ON, true},
415 {"0", DEBUG_PARALLEL_OFF, true},
416 {NULL, 0, false}
417};

◆ Debug_pretty_print

bool Debug_pretty_print = true

Definition at line 540 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 537 of file guc_tables.c.

Referenced by pg_rewrite_query().

◆ Debug_print_plan

bool Debug_print_plan = false

Definition at line 536 of file guc_tables.c.

Referenced by pg_plan_query().

◆ Debug_print_raw_parse

bool Debug_print_raw_parse = false

Definition at line 538 of file guc_tables.c.

Referenced by pg_parse_query().

◆ Debug_print_rewritten

bool Debug_print_rewritten = false

Definition at line 539 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 471 of file guc_tables.c.

471 {
472 {"pglz", TOAST_PGLZ_COMPRESSION, false},
473#ifdef USE_LZ4
474 {"lz4", TOAST_LZ4_COMPRESSION, false},
475#endif
476 {NULL, 0, false}
477};
#define TOAST_LZ4_COMPRESSION

◆ default_with_oids

bool default_with_oids = false
static

Definition at line 562 of file guc_tables.c.

◆ dynamic_shared_memory_options

const struct config_enum_entry dynamic_shared_memory_options[]
extern

Definition at line 96 of file dsm_impl.c.

96 {
97#ifdef USE_DSM_POSIX
98 {"posix", DSM_IMPL_POSIX, false},
99#endif
100#ifdef USE_DSM_SYSV
101 {"sysv", DSM_IMPL_SYSV, false},
102#endif
103#ifdef USE_DSM_WINDOWS
104 {"windows", DSM_IMPL_WINDOWS, false},
105#endif
106#ifdef USE_DSM_MMAP
107 {"mmap", DSM_IMPL_MMAP, false},
108#endif
109 {NULL, 0, false}
110};
#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 649 of file guc_tables.c.

◆ event_source

char* event_source

Definition at line 554 of file guc_tables.c.

◆ exec_backend_enabled

bool exec_backend_enabled = EXEC_BACKEND_ENABLED
static

Definition at line 664 of file guc_tables.c.

◆ external_pid_file

char* external_pid_file

Definition at line 587 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 498 of file guc_tables.c.

498 {
499 {"copy", FILE_COPY_METHOD_COPY, false},
500#if defined(HAVE_COPYFILE) && defined(COPYFILE_CLONE_FORCE) || defined(HAVE_COPY_FILE_RANGE)
501 {"clone", FILE_COPY_METHOD_CLONE, false},
502#endif
503 {NULL, 0, false}
504};
@ FILE_COPY_METHOD_CLONE
Definition copydir.h:19

◆ file_extend_method_options

const struct config_enum_entry file_extend_method_options[]
static
Initial value:
= {
{"write_zeros", FILE_EXTEND_METHOD_WRITE_ZEROS, false},
{NULL, 0, false}
}
@ FILE_EXTEND_METHOD_WRITE_ZEROS
Definition fd.h:63

Definition at line 506 of file guc_tables.c.

506 {
507#ifdef HAVE_POSIX_FALLOCATE
508 {"posix_fallocate", FILE_EXTEND_METHOD_POSIX_FALLOCATE, false},
509#endif
510 {"write_zeros", FILE_EXTEND_METHOD_WRITE_ZEROS, false},
511 {NULL, 0, false}
512};

◆ 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 693 of file guc_tables.c.

694{
695 [PGC_INTERNAL] = "internal",
696 [PGC_POSTMASTER] = "postmaster",
697 [PGC_SIGHUP] = "sighup",
698 [PGC_SU_BACKEND] = "superuser-backend",
699 [PGC_BACKEND] = "backend",
700 [PGC_SUSET] = "superuser",
701 [PGC_USERSET] = "user",
702};

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 712 of file guc_tables.c.

713{
714 [PGC_S_DEFAULT] = "default",
715 [PGC_S_DYNAMIC_DEFAULT] = "default",
716 [PGC_S_ENV_VAR] = "environment variable",
717 [PGC_S_FILE] = "configuration file",
718 [PGC_S_ARGV] = "command line",
719 [PGC_S_GLOBAL] = "global",
720 [PGC_S_DATABASE] = "database",
721 [PGC_S_USER] = "user",
722 [PGC_S_DATABASE_USER] = "database user",
723 [PGC_S_CLIENT] = "client",
724 [PGC_S_OVERRIDE] = "override",
725 [PGC_S_INTERACTIVE] = "interactive",
726 [PGC_S_TEST] = "test",
727 [PGC_S_SESSION] = "session",
728};

Referenced by GetConfigOptionValues().

◆ HbaFileName

◆ HostsFileName

char* HostsFileName

Definition at line 586 of file guc_tables.c.

Referenced by load_hosts(), and SelectConfigFiles().

◆ huge_page_size

int huge_page_size

Definition at line 609 of file guc_tables.c.

Referenced by GetHugePageSize().

◆ huge_pages

int huge_pages = HUGE_PAGES_TRY

Definition at line 608 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 364 of file guc_tables.c.

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

◆ huge_pages_status

int huge_pages_status = HUGE_PAGES_UNKNOWN

Definition at line 610 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 386 of file guc_tables.c.

386 {
387 {"off", HUGE_PAGES_OFF, false},
388 {"on", HUGE_PAGES_ON, false},
389 {"unknown", HUGE_PAGES_UNKNOWN, false},
390 {NULL, 0, false}
391};

◆ 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 177 of file guc_tables.c.

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

◆ IdentFileName

char* IdentFileName

◆ in_hot_standby_guc

bool in_hot_standby_guc

Definition at line 676 of file guc_tables.c.

Referenced by ReportChangedGUCOptions().

◆ integer_datetimes

bool integer_datetimes
static

Definition at line 650 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:262
#define INTSTYLE_POSTGRES_VERBOSE
Definition miscadmin.h:261
#define INTSTYLE_ISO_8601
Definition miscadmin.h:263
#define INTSTYLE_POSTGRES
Definition miscadmin.h:260

Definition at line 169 of file guc_tables.c.

169 {
170 {"postgres", INTSTYLE_POSTGRES, false},
171 {"postgres_verbose", INTSTYLE_POSTGRES_VERBOSE, false},
172 {"sql_standard", INTSTYLE_SQL_STANDARD, false},
173 {"iso_8601", INTSTYLE_ISO_8601, false},
174 {NULL, 0, false}
175};

◆ 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 217 of file guc_tables.c.

217 {
218 {"serializable", XACT_SERIALIZABLE, false},
219 {"repeatable read", XACT_REPEATABLE_READ, false},
220 {"read committed", XACT_READ_COMMITTED, false},
221 {"read uncommitted", XACT_READ_UNCOMMITTED, false},
222 {NULL, 0}
223};

◆ log_btree_build_stats

bool log_btree_build_stats = false

◆ log_duration

bool log_duration = false

Definition at line 535 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:476
@ PGERROR_DEFAULT
Definition elog.h:475
@ PGERROR_TERSE
Definition elog.h:474

Definition at line 196 of file guc_tables.c.

196 {
197 {"terse", PGERROR_TERSE, false},
198 {"default", PGERROR_DEFAULT, false},
199 {"verbose", PGERROR_VERBOSE, false},
200 {NULL, 0, false}
201};

◆ log_executor_stats

bool log_executor_stats = false

Definition at line 550 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 569 of file guc_tables.c.

Referenced by check_log_duration().

◆ log_min_duration_statement

int log_min_duration_statement = -1

Definition at line 570 of file guc_tables.c.

Referenced by check_log_duration().

◆ log_min_error_statement

int log_min_error_statement = ERROR

Definition at line 567 of file guc_tables.c.

Referenced by check_log_of_query().

◆ log_min_messages

int log_min_messages[]
Initial value:
= {
#define PG_PROCTYPE(bktype, bkcategory, description, main_func, shmem_attach)
}

Definition at line 681 of file guc_tables.c.

681 {
682#define PG_PROCTYPE(bktype, bkcategory, description, main_func, shmem_attach) \
683 [bktype] = WARNING,
685#undef PG_PROCTYPE
686};

Referenced by assign_log_min_messages(), execute_extension_script(), and should_output_to_server().

◆ log_min_messages_string

char* log_min_messages_string
static

Definition at line 626 of file guc_tables.c.

◆ log_parameter_max_length

int log_parameter_max_length = -1

Definition at line 571 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 572 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 549 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 206 of file guc_tables.c.

206 {
207 {"none", LOGSTMT_NONE, false},
208 {"ddl", LOGSTMT_DDL, false},
209 {"mod", LOGSTMT_MOD, false},
210 {"all", LOGSTMT_ALL, false},
211 {NULL, 0, false}
212};

◆ log_statement_sample_rate

double log_statement_sample_rate = 1.0

Definition at line 574 of file guc_tables.c.

Referenced by check_log_duration().

◆ log_statement_stats

◆ log_temp_files

int log_temp_files = -1

Definition at line 573 of file guc_tables.c.

Referenced by ReportTemporaryFileUsage().

◆ log_timezone_string

char* log_timezone_string
static

Definition at line 636 of file guc_tables.c.

◆ log_xact_sample_rate

double log_xact_sample_rate = 0

Definition at line 575 of file guc_tables.c.

Referenced by StartTransaction().

◆ max_function_args

int max_function_args
static

Definition at line 640 of file guc_tables.c.

◆ max_identifier_length

int max_identifier_length
static

Definition at line 642 of file guc_tables.c.

◆ max_index_keys

int max_index_keys
static

Definition at line 641 of file guc_tables.c.

◆ num_os_semaphores

int num_os_semaphores
static

Definition at line 648 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:47
@ PASSWORD_TYPE_MD5
Definition crypt.h:46

Definition at line 426 of file guc_tables.c.

426 {
427 {"md5", PASSWORD_TYPE_MD5, false},
428 {"scram-sha-256", PASSWORD_TYPE_SCRAM_SHA_256, false},
429 {NULL, 0, false}
430};

◆ phony_random_seed

double phony_random_seed
static

Definition at line 618 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 419 of file guc_tables.c.

419 {
420 {"auto", PLAN_CACHE_MODE_AUTO, false},
421 {"force_generic_plan", PLAN_CACHE_MODE_FORCE_GENERIC_PLAN, false},
422 {"force_custom_plan", PLAN_CACHE_MODE_FORCE_CUSTOM_PLAN, false},
423 {NULL, 0, false}
424};

◆ 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 450 of file guc_tables.c.

450 {
451 {"fsync", DATA_DIR_SYNC_METHOD_FSYNC, false},
452#ifdef HAVE_SYNCFS
453 {"syncfs", DATA_DIR_SYNC_METHOD_SYNCFS, false},
454#endif
455 {NULL, 0, false}
456};
@ 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 393 of file guc_tables.c.

393 {
394 {"off", RECOVERY_PREFETCH_OFF, false},
395 {"on", RECOVERY_PREFETCH_ON, false},
396 {"try", RECOVERY_PREFETCH_TRY, false},
397 {"true", RECOVERY_PREFETCH_ON, true},
398 {"false", RECOVERY_PREFETCH_OFF, true},
399 {"yes", RECOVERY_PREFETCH_ON, true},
400 {"no", RECOVERY_PREFETCH_OFF, true},
401 {"1", RECOVERY_PREFETCH_ON, true},
402 {"0", RECOVERY_PREFETCH_OFF, true},
403 {NULL, 0, false}
404};

◆ recovery_target_action_options

const struct config_enum_entry recovery_target_action_options[]
extern

Definition at line 78 of file xlogrecovery.c.

78 {
79 {"pause", RECOVERY_TARGET_ACTION_PAUSE, false},
80 {"promote", RECOVERY_TARGET_ACTION_PROMOTE, false},
81 {"shutdown", RECOVERY_TARGET_ACTION_SHUTDOWN, false},
82 {NULL, 0, false}
83};
@ 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 670 of file guc_tables.c.

◆ recovery_target_name_string

char* recovery_target_name_string
static

Definition at line 669 of file guc_tables.c.

◆ recovery_target_string

char* recovery_target_string
static

Definition at line 667 of file guc_tables.c.

◆ recovery_target_timeline_string

char* recovery_target_timeline_string
static

Definition at line 666 of file guc_tables.c.

◆ recovery_target_xid_string

char* recovery_target_xid_string
static

Definition at line 668 of file guc_tables.c.

◆ restrict_nonsystem_relation_kind_string

char* restrict_nonsystem_relation_kind_string
static

Definition at line 625 of file guc_tables.c.

◆ role_string

char* role_string

Definition at line 673 of file guc_tables.c.

Referenced by show_role().

◆ row_security

bool row_security

Definition at line 556 of file guc_tables.c.

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

◆ segment_size

int segment_size
static

Definition at line 644 of file guc_tables.c.

◆ server_encoding_string

char* server_encoding_string
static

Definition at line 621 of file guc_tables.c.

◆ server_message_level_options

const struct config_enum_entry server_message_level_options[]
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:42
#define PANIC
Definition elog.h:44

Definition at line 152 of file guc_tables.c.

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

Referenced by check_log_min_messages().

◆ server_version_num

int server_version_num
static

◆ server_version_string

char* server_version_string
static

Definition at line 622 of file guc_tables.c.

◆ session_authorization_string

char* session_authorization_string
static

Definition at line 639 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 225 of file guc_tables.c.

225 {
226 {"origin", SESSION_REPLICATION_ROLE_ORIGIN, false},
227 {"replica", SESSION_REPLICATION_ROLE_REPLICA, false},
228 {"local", SESSION_REPLICATION_ROLE_LOCAL, false},
229 {NULL, 0, false}
230};

◆ 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 458 of file guc_tables.c.

458 {
459#ifndef WIN32
460 {"sysv", SHMEM_TYPE_SYSV, false},
461#endif
462#ifndef EXEC_BACKEND
463 {"mmap", SHMEM_TYPE_MMAP, false},
464#endif
465#ifdef WIN32
466 {"windows", SHMEM_TYPE_WINDOWS, false},
467#endif
468 {NULL, 0, false}
469};
@ 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 646 of file guc_tables.c.

◆ shared_memory_size_mb

int shared_memory_size_mb
static

Definition at line 645 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:153
@ PG_TLS1_3_VERSION
Definition libpq.h:156
@ PG_TLS1_1_VERSION
Definition libpq.h:154
@ PG_TLS1_2_VERSION
Definition libpq.h:155
@ PG_TLS_ANY
Definition libpq.h:152

Definition at line 432 of file guc_tables.c.

432 {
433 {"", PG_TLS_ANY, false},
434 {"TLSv1", PG_TLS1_VERSION, false},
435 {"TLSv1.1", PG_TLS1_1_VERSION, false},
436 {"TLSv1.2", PG_TLS1_2_VERSION, false},
437 {"TLSv1.3", PG_TLS1_3_VERSION, false},
438 {NULL, 0, false}
439};

◆ ssl_renegotiation_limit

int ssl_renegotiation_limit
static

Definition at line 602 of file guc_tables.c.

◆ standard_conforming_strings

bool standard_conforming_strings = true
static

Definition at line 563 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:52
@ PGSTAT_FETCH_CONSISTENCY_CACHE
Definition pgstat.h:53
@ PGSTAT_FETCH_CONSISTENCY_SNAPSHOT
Definition pgstat.h:54

Definition at line 261 of file guc_tables.c.

261 {
262 {"none", PGSTAT_FETCH_CONSISTENCY_NONE, false},
263 {"cache", PGSTAT_FETCH_CONSISTENCY_CACHE, false},
264 {"snapshot", PGSTAT_FETCH_CONSISTENCY_SNAPSHOT, false},
265 {NULL, 0, false}
266};

◆ 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 345 of file guc_tables.c.

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

◆ syslog_facility

int syslog_facility = DEFAULT_SYSLOG_FACILITY
static

Definition at line 633 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 235 of file guc_tables.c.

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

◆ syslog_ident_str

char* syslog_ident_str
static

Definition at line 617 of file guc_tables.c.

◆ tcp_keepalives_count

int tcp_keepalives_count

Definition at line 593 of file guc_tables.c.

Referenced by pq_init().

◆ tcp_keepalives_idle

int tcp_keepalives_idle

Definition at line 591 of file guc_tables.c.

Referenced by pq_init().

◆ tcp_keepalives_interval

int tcp_keepalives_interval

Definition at line 592 of file guc_tables.c.

Referenced by pq_init().

◆ tcp_user_timeout

int tcp_user_timeout

Definition at line 594 of file guc_tables.c.

Referenced by pq_init().

◆ temp_file_limit

int temp_file_limit = -1

Definition at line 578 of file guc_tables.c.

Referenced by FileWriteV().

◆ timezone_abbreviations_string

char* timezone_abbreviations_string
static

Definition at line 637 of file guc_tables.c.

◆ timezone_string

char* timezone_string
static

Definition at line 635 of file guc_tables.c.

◆ timing_clock_source_options

const struct config_enum_entry timing_clock_source_options[]
static
Initial value:
= {
{"auto", TIMING_CLOCK_SOURCE_AUTO, false},
{"system", TIMING_CLOCK_SOURCE_SYSTEM, false},
{NULL, 0, false}
}
@ TIMING_CLOCK_SOURCE_SYSTEM
Definition instr_time.h:126
@ TIMING_CLOCK_SOURCE_AUTO
Definition instr_time.h:125

Definition at line 377 of file guc_tables.c.

377 {
378 {"auto", TIMING_CLOCK_SOURCE_AUTO, false},
379 {"system", TIMING_CLOCK_SOURCE_SYSTEM, false},
380#if PG_INSTR_TSC_CLOCK
381 {"tsc", TIMING_CLOCK_SOURCE_TSC, false},
382#endif
383 {NULL, 0, false}
384};

◆ 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:46
@ TRACK_FUNC_ALL
Definition pgstat.h:47
@ TRACK_FUNC_OFF
Definition pgstat.h:45

Definition at line 251 of file guc_tables.c.

251 {
252 {"none", TRACK_FUNC_OFF, false},
253 {"pl", TRACK_FUNC_PL, false},
254 {"all", TRACK_FUNC_ALL, false},
255 {NULL, 0, false}
256};

◆ wal_block_size

int wal_block_size
static

Definition at line 647 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:84
@ WAL_COMPRESSION_PGLZ
Definition xlog.h:85

Definition at line 479 of file guc_tables.c.

479 {
480 {"pglz", WAL_COMPRESSION_PGLZ, false},
481#ifdef USE_LZ4
482 {"lz4", WAL_COMPRESSION_LZ4, false},
483#endif
484#ifdef USE_ZSTD
485 {"zstd", WAL_COMPRESSION_ZSTD, false},
486#endif
487 {"on", WAL_COMPRESSION_PGLZ, false},
488 {"off", WAL_COMPRESSION_NONE, false},
489 {"true", WAL_COMPRESSION_PGLZ, true},
490 {"false", WAL_COMPRESSION_NONE, true},
491 {"yes", WAL_COMPRESSION_PGLZ, true},
492 {"no", WAL_COMPRESSION_NONE, true},
493 {"1", WAL_COMPRESSION_PGLZ, true},
494 {"0", WAL_COMPRESSION_NONE, true},
495 {NULL, 0, false}
496};
@ WAL_COMPRESSION_LZ4
Definition xlog.h:86
@ WAL_COMPRESSION_ZSTD
Definition xlog.h:87

◆ wal_level_options

const struct config_enum_entry wal_level_options[]
extern

Definition at line 28 of file xlogdesc.c.

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

◆ wal_sync_method_options

const struct config_enum_entry wal_sync_method_options[]
extern

Definition at line 178 of file xlog.c.

178 {
179 {"fsync", WAL_SYNC_METHOD_FSYNC, false},
180#ifdef HAVE_FSYNC_WRITETHROUGH
181 {"fsync_writethrough", WAL_SYNC_METHOD_FSYNC_WRITETHROUGH, false},
182#endif
183 {"fdatasync", WAL_SYNC_METHOD_FDATASYNC, false},
184#ifdef O_SYNC
185 {"open_sync", WAL_SYNC_METHOD_OPEN, false},
186#endif
187#ifdef O_DSYNC
188 {"open_datasync", WAL_SYNC_METHOD_OPEN_DSYNC, false},
189#endif
190 {NULL, 0, false}
191};
@ 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 271 of file guc_tables.c.

271 {
272 {"base64", XMLBINARY_BASE64, false},
273 {"hex", XMLBINARY_HEX, false},
274 {NULL, 0, false}
275};

◆ 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:1620
@ XMLOPTION_DOCUMENT
Definition primnodes.h:1619

Definition at line 280 of file guc_tables.c.

280 {
281 {"content", XMLOPTION_CONTENT, false},
282 {"document", XMLOPTION_DOCUMENT, false},
283 {NULL, 0, false}
284};