PostgreSQL Source Code
git master
|
#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/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/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/bufmgr.h"
#include "storage/bufpage.h"
#include "storage/large_object.h"
#include "storage/pg_shmem.h"
#include "storage/predicate.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"
Go to the source code of this file.
Macros | |
#define | PG_KRB_SRVTAB "" |
#define | DEFAULT_SYSLOG_FACILITY 0 |
#define | DEFAULT_ASSERT_ENABLED false |
#define DEFAULT_ASSERT_ENABLED false |
Definition at line 608 of file guc_tables.c.
#define DEFAULT_SYSLOG_FACILITY 0 |
Definition at line 584 of file guc_tables.c.
#define PG_KRB_SRVTAB "" |
Definition at line 102 of file guc_tables.c.
StaticAssertDecl | ( | lengthof(bytea_output_options) | = =(BYTEA_OUTPUT_HEX+2) , |
"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" | |||
) |
StaticAssertDecl | ( | lengthof(GucContext_Names) | = =(PGC_USERSET+1) , |
"array length mismatch" | |||
) |
StaticAssertDecl | ( | lengthof(GucSource_Names) | = =(PGC_S_SESSION+1) , |
"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(ssl_protocol_versions_info) | = =(PG_TLS1_3_VERSION+2) , |
"array length mismatch" | |||
) |
StaticAssertDecl | ( | lengthof(stats_fetch_consistency) | = =(PGSTAT_FETCH_CONSISTENCY_SNAPSHOT+2) , |
"array length mismatch" | |||
) |
StaticAssertDecl | ( | lengthof(track_function_options) | = =(TRACK_FUNC_ALL+2) , |
"array length mismatch" | |||
) |
StaticAssertDecl | ( | lengthof(xmlbinary_options) | = =(XMLBINARY_HEX+2) , |
"array length mismatch" | |||
) |
StaticAssertDecl | ( | lengthof(xmloption_options) | = =(XMLOPTION_CONTENT+2) , |
"array length mismatch" | |||
) |
Definition at line 489 of file guc_tables.c.
Referenced by AlterSystemSetConfigFile().
char* application_name |
Definition at line 543 of file guc_tables.c.
Referenced by log_status_format(), pgstat_bestart(), process_pgfdw_appname(), SyncRepGetStandbyPriority(), SyncRepInitConfig(), SyncRepReleaseWaiters(), WalSndLoop(), write_csvlog(), and write_jsonlog().
|
extern |
|
static |
Definition at line 610 of file guc_tables.c.
|
static |
Definition at line 274 of file guc_tables.c.
char* backtrace_functions |
Definition at line 531 of file guc_tables.c.
Referenced by errfinish().
|
static |
Definition at line 596 of file guc_tables.c.
Referenced by pg_hmac_init().
|
static |
Definition at line 1 of file guc_tables.c.
Definition at line 511 of file guc_tables.c.
Referenced by execute_extension_script(), fmgr_sql_validator(), plperl_validator(), plpgsql_compile_inline(), plpgsql_validator(), plpython3_validator(), and ProcedureCreate().
|
static |
Definition at line 573 of file guc_tables.c.
|
static |
Definition at line 117 of file guc_tables.c.
int client_min_messages = NOTICE |
Definition at line 523 of file guc_tables.c.
Referenced by execute_extension_script(), and should_output_to_client().
char* cluster_name = "" |
Definition at line 537 of file guc_tables.c.
Referenced by init_ps_display(), pg_sync_replication_slots(), process_pgfdw_appname(), ReplSlotSyncWorkerMain(), and WalReceiverMain().
|
static |
Definition at line 274 of file guc_tables.c.
const char* const config_group_names[] |
Definition at line 673 of file guc_tables.c.
Referenced by GetConfigOptionValues().
const char* const config_type_names[] |
Definition at line 730 of file guc_tables.c.
Referenced by GetConfigOptionValues().
char* ConfigFileName |
Definition at line 538 of file guc_tables.c.
Referenced by ProcessConfigFileInternal(), and SelectConfigFiles().
struct config_bool ConfigureNamesBool[] |
Definition at line 739 of file guc_tables.c.
Referenced by build_guc_variables().
struct config_enum ConfigureNamesEnum[] |
Definition at line 739 of file guc_tables.c.
Referenced by build_guc_variables().
struct config_int ConfigureNamesInt[] |
Definition at line 739 of file guc_tables.c.
Referenced by build_guc_variables().
struct config_real ConfigureNamesReal[] |
Definition at line 739 of file guc_tables.c.
Referenced by build_guc_variables().
struct config_string ConfigureNamesString[] |
Definition at line 739 of file guc_tables.c.
Referenced by build_guc_variables().
|
static |
Definition at line 274 of file guc_tables.c.
bool current_role_is_superuser |
Definition at line 519 of file guc_tables.c.
Referenced by check_role(), and InitializeParallelDSM().
|
static |
Definition at line 602 of file guc_tables.c.
|
static |
Definition at line 591 of file guc_tables.c.
|
static |
Definition at line 574 of file guc_tables.c.
|
static |
Definition at line 578 of file guc_tables.c.
|
static |
Definition at line 274 of file guc_tables.c.
|
static |
Definition at line 274 of file guc_tables.c.
Definition at line 494 of file guc_tables.c.
Referenced by pg_plan_query(), and pg_rewrite_query().
Definition at line 492 of file guc_tables.c.
Referenced by pg_rewrite_query().
Definition at line 491 of file guc_tables.c.
Referenced by pg_plan_query().
Definition at line 493 of file guc_tables.c.
Referenced by pg_rewrite_query().
|
static |
Definition at line 426 of file guc_tables.c.
Definition at line 517 of file guc_tables.c.
|
extern |
Definition at line 93 of file dsm_impl.c.
char* event_source |
Definition at line 508 of file guc_tables.c.
char* external_pid_file |
Definition at line 541 of file guc_tables.c.
Referenced by PostmasterMain(), and unlink_external_pid_file().
const char* const GucContext_Names[] |
Definition at line 630 of file guc_tables.c.
Referenced by GetConfigOptionValues().
const char* const GucSource_Names[] |
Definition at line 649 of file guc_tables.c.
Referenced by GetConfigOptionValues().
char* HbaFileName |
Definition at line 539 of file guc_tables.c.
Referenced by fill_hba_view(), load_hba(), PerformAuthentication(), PostmasterMain(), process_pm_reload_request(), and SelectConfigFiles().
int huge_page_size |
Definition at line 563 of file guc_tables.c.
Referenced by GetHugePageSize().
int huge_pages = HUGE_PAGES_TRY |
Definition at line 562 of file guc_tables.c.
Referenced by CreateAnonymousSegment(), and PGSharedMemoryCreate().
|
static |
Definition at line 274 of file guc_tables.c.
|
static |
Definition at line 564 of file guc_tables.c.
|
static |
Definition at line 274 of file guc_tables.c.
|
static |
Definition at line 117 of file guc_tables.c.
char* IdentFileName |
Definition at line 540 of file guc_tables.c.
Referenced by fill_ident_view(), load_ident(), process_pm_reload_request(), and SelectConfigFiles().
bool in_hot_standby_guc |
Definition at line 622 of file guc_tables.c.
Referenced by ReportChangedGUCOptions().
|
static |
Definition at line 603 of file guc_tables.c.
|
static |
Definition at line 117 of file guc_tables.c.
|
static |
Definition at line 202 of file guc_tables.c.
Definition at line 507 of file guc_tables.c.
Referenced by _bt_leader_participate_as_worker(), _bt_leafbuild(), _bt_parallel_build_main(), and btbuild().
Definition at line 490 of file guc_tables.c.
Referenced by check_log_duration().
|
static |
Definition at line 181 of file guc_tables.c.
Definition at line 504 of file guc_tables.c.
Referenced by check_log_stats(), PortalRun(), and PortalRunMulti().
int log_min_duration_sample = -1 |
Definition at line 524 of file guc_tables.c.
Referenced by check_log_duration().
int log_min_duration_statement = -1 |
Definition at line 525 of file guc_tables.c.
Referenced by check_log_duration().
int log_min_error_statement = ERROR |
Definition at line 521 of file guc_tables.c.
Referenced by check_log_of_query().
int log_min_messages = WARNING |
Definition at line 522 of file guc_tables.c.
Referenced by execute_extension_script(), and should_output_to_server().
int log_parameter_max_length = -1 |
Definition at line 526 of file guc_tables.c.
Referenced by errdetail_params().
int log_parameter_max_length_on_error = 0 |
Definition at line 527 of file guc_tables.c.
Referenced by bind_param_error_callback(), and exec_bind_message().
Definition at line 502 of file guc_tables.c.
Referenced by check_log_stats(), pg_analyze_and_rewrite_fixedparams(), pg_analyze_and_rewrite_varparams(), pg_analyze_and_rewrite_withcb(), pg_parse_query(), and pg_rewrite_query().
Definition at line 503 of file guc_tables.c.
Referenced by check_log_stats(), and pg_plan_query().
|
static |
Definition at line 191 of file guc_tables.c.
double log_statement_sample_rate = 1.0 |
Definition at line 529 of file guc_tables.c.
Referenced by check_log_duration().
Definition at line 505 of file guc_tables.c.
Referenced by check_stage_log_stats(), exec_bind_message(), exec_execute_message(), exec_parse_message(), and exec_simple_query().
int log_temp_files = -1 |
Definition at line 528 of file guc_tables.c.
Referenced by ReportTemporaryFileUsage().
|
static |
Definition at line 589 of file guc_tables.c.
double log_xact_sample_rate = 0 |
Definition at line 530 of file guc_tables.c.
Referenced by StartTransaction().
|
static |
Definition at line 593 of file guc_tables.c.
|
static |
Definition at line 595 of file guc_tables.c.
|
static |
Definition at line 594 of file guc_tables.c.
|
static |
Definition at line 601 of file guc_tables.c.
int num_temp_buffers = 1024 |
Definition at line 535 of file guc_tables.c.
Referenced by InitLocalBuffers(), and LimitAdditionalLocalPins().
|
static |
Definition at line 274 of file guc_tables.c.
|
static |
Definition at line 572 of file guc_tables.c.
|
static |
Definition at line 274 of file guc_tables.c.
|
static |
Definition at line 426 of file guc_tables.c.
|
static |
Definition at line 274 of file guc_tables.c.
|
extern |
Definition at line 1 of file xlogrecovery.c.
|
static |
Definition at line 616 of file guc_tables.c.
|
static |
Definition at line 615 of file guc_tables.c.
|
static |
Definition at line 613 of file guc_tables.c.
|
static |
Definition at line 612 of file guc_tables.c.
|
static |
Definition at line 614 of file guc_tables.c.
|
static |
Definition at line 579 of file guc_tables.c.
char* role_string |
Definition at line 619 of file guc_tables.c.
Referenced by show_role().
bool row_security |
Definition at line 510 of file guc_tables.c.
Referenced by check_enable_rls(), CompleteCachedPlan(), and RevalidateCachedQuery().
|
static |
Definition at line 597 of file guc_tables.c.
|
static |
Definition at line 575 of file guc_tables.c.
|
static |
Definition at line 117 of file guc_tables.c.
|
static |
Definition at line 577 of file guc_tables.c.
Referenced by postgresAcquireSampleRowsFunc().
|
static |
Definition at line 576 of file guc_tables.c.
|
static |
Definition at line 592 of file guc_tables.c.
|
static |
Definition at line 202 of file guc_tables.c.
|
static |
Definition at line 426 of file guc_tables.c.
|
static |
Definition at line 599 of file guc_tables.c.
|
static |
Definition at line 598 of file guc_tables.c.
|
static |
Definition at line 274 of file guc_tables.c.
|
static |
Definition at line 556 of file guc_tables.c.
|
static |
Definition at line 246 of file guc_tables.c.
|
static |
Definition at line 274 of file guc_tables.c.
|
static |
Definition at line 586 of file guc_tables.c.
Referenced by assign_syslog_facility().
|
static |
Definition at line 220 of file guc_tables.c.
|
static |
Definition at line 571 of file guc_tables.c.
int tcp_keepalives_count |
Definition at line 547 of file guc_tables.c.
Referenced by pq_init().
int tcp_keepalives_idle |
Definition at line 545 of file guc_tables.c.
Referenced by pq_init().
int tcp_keepalives_interval |
Definition at line 546 of file guc_tables.c.
Referenced by pq_init().
int tcp_user_timeout |
Definition at line 548 of file guc_tables.c.
Referenced by pq_init().
int temp_file_limit = -1 |
Definition at line 533 of file guc_tables.c.
Referenced by FileWriteV().
|
static |
Definition at line 590 of file guc_tables.c.
|
static |
Definition at line 588 of file guc_tables.c.
|
static |
Definition at line 220 of file guc_tables.c.
|
static |
Definition at line 600 of file guc_tables.c.
|
static |
Definition at line 426 of file guc_tables.c.
|
extern |
Definition at line 1 of file xlogdesc.c.
|
extern |
|
static |
Definition at line 256 of file guc_tables.c.
|
static |
Definition at line 265 of file guc_tables.c.