|
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/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"
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 DEFAULT_ASSERT_ENABLED false |
Definition at line 626 of file guc_tables.c.
| #define DEFAULT_SYSLOG_FACILITY 0 |
Definition at line 602 of file guc_tables.c.
| #define EXEC_BACKEND_ENABLED false |
Definition at line 633 of file guc_tables.c.
| #define PG_KRB_SRVTAB "" |
Definition at line 111 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" | |||
| ) |
| bool AllowAlterSystem = true |
Definition at line 506 of file guc_tables.c.
Referenced by AlterSystemSetConfigFile().
| char* application_name |
Definition at line 561 of file guc_tables.c.
Referenced by log_status_format(), pgstat_bestart_final(), process_pgfdw_appname(), SyncRepGetStandbyPriority(), SyncRepInitConfig(), SyncRepReleaseWaiters(), WalSndLoop(), write_csvlog(), and write_jsonlog().
|
extern |
|
static |
Definition at line 628 of file guc_tables.c.
|
static |
Definition at line 290 of file guc_tables.c.
| char* backtrace_functions |
Definition at line 549 of file guc_tables.c.
Referenced by errfinish().
|
static |
Definition at line 614 of file guc_tables.c.
Referenced by pg_hmac_init().
|
static |
Definition at line 120 of file guc_tables.c.
| bool check_function_bodies = true |
Definition at line 529 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 591 of file guc_tables.c.
|
static |
Definition at line 134 of file guc_tables.c.
| int client_min_messages = NOTICE |
Definition at line 541 of file guc_tables.c.
Referenced by execute_extension_script(), and should_output_to_client().
| char* cluster_name = "" |
Definition at line 555 of file guc_tables.c.
Referenced by init_ps_display(), pg_sync_replication_slots(), process_pgfdw_appname(), ReplSlotSyncWorkerMain(), and WalReceiverMain().
|
static |
Definition at line 307 of file guc_tables.c.
| const char* const config_group_names[] |
Definition at line 698 of file guc_tables.c.
Referenced by GetConfigOptionValues(), and printMixedStruct().
| const char* const config_type_names[] |
Definition at line 758 of file guc_tables.c.
Referenced by GetConfigOptionValues().
| char* ConfigFileName |
Definition at line 556 of file guc_tables.c.
Referenced by ProcessConfigFileInternal(), and SelectConfigFiles().
|
static |
Definition at line 325 of file guc_tables.c.
| bool current_role_is_superuser |
Definition at line 537 of file guc_tables.c.
Referenced by check_role(), and InitializeParallelDSM().
|
static |
Definition at line 620 of file guc_tables.c.
|
static |
Definition at line 609 of file guc_tables.c.
|
static |
Definition at line 592 of file guc_tables.c.
|
static |
Definition at line 596 of file guc_tables.c.
|
static |
Definition at line 429 of file guc_tables.c.
|
static |
Definition at line 394 of file guc_tables.c.
| 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().
| bool Debug_print_parse = false |
Definition at line 509 of file guc_tables.c.
Referenced by pg_rewrite_query().
| bool Debug_print_plan = false |
Definition at line 508 of file guc_tables.c.
Referenced by pg_plan_query().
| bool Debug_print_raw_parse = false |
Definition at line 510 of file guc_tables.c.
Referenced by pg_parse_query().
| bool Debug_print_rewritten = false |
Definition at line 511 of file guc_tables.c.
Referenced by pg_rewrite_query().
|
static |
Definition at line 459 of file guc_tables.c.
|
static |
Definition at line 535 of file guc_tables.c.
|
extern |
Definition at line 95 of file dsm_impl.c.
| char* event_source |
Definition at line 526 of file guc_tables.c.
|
static |
Definition at line 635 of file guc_tables.c.
| char* external_pid_file |
Definition at line 559 of file guc_tables.c.
Referenced by PostmasterMain(), and unlink_external_pid_file().
|
static |
Definition at line 486 of file guc_tables.c.
| const char* const GucContext_Names[] |
Definition at line 655 of file guc_tables.c.
Referenced by GetConfigOptionValues(), and printMixedStruct().
| const char* const GucSource_Names[] |
Definition at line 674 of file guc_tables.c.
Referenced by GetConfigOptionValues().
| char* HbaFileName |
Definition at line 557 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 581 of file guc_tables.c.
Referenced by GetHugePageSize().
| int huge_pages = HUGE_PAGES_TRY |
Definition at line 580 of file guc_tables.c.
Referenced by CreateAnonymousSegment(), and PGSharedMemoryCreate().
|
static |
Definition at line 361 of file guc_tables.c.
| int huge_pages_status = HUGE_PAGES_UNKNOWN |
Definition at line 582 of file guc_tables.c.
Referenced by pg_get_shmem_pagesize().
|
static |
Definition at line 374 of file guc_tables.c.
|
static |
Definition at line 174 of file guc_tables.c.
| char* IdentFileName |
Definition at line 558 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 647 of file guc_tables.c.
Referenced by ReportChangedGUCOptions().
|
static |
Definition at line 621 of file guc_tables.c.
|
static |
Definition at line 166 of file guc_tables.c.
|
static |
Definition at line 214 of file guc_tables.c.
| bool log_btree_build_stats = false |
Definition at line 525 of file guc_tables.c.
Referenced by _bt_leader_participate_as_worker(), _bt_leafbuild(), _bt_parallel_build_main(), and btbuild().
| bool log_duration = false |
Definition at line 507 of file guc_tables.c.
Referenced by check_log_duration().
|
static |
Definition at line 193 of file guc_tables.c.
| bool log_executor_stats = false |
Definition at line 522 of file guc_tables.c.
Referenced by check_log_stats(), PortalRun(), and PortalRunMulti().
| int log_min_duration_sample = -1 |
Definition at line 542 of file guc_tables.c.
Referenced by check_log_duration().
| int log_min_duration_statement = -1 |
Definition at line 543 of file guc_tables.c.
Referenced by check_log_duration().
| int log_min_error_statement = ERROR |
Definition at line 539 of file guc_tables.c.
Referenced by check_log_of_query().
| int log_min_messages = WARNING |
Definition at line 540 of file guc_tables.c.
Referenced by execute_extension_script(), and should_output_to_server().
| int log_parameter_max_length = -1 |
Definition at line 544 of file guc_tables.c.
Referenced by errdetail_params().
| 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().
| bool log_parser_stats = false |
Definition at line 520 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().
| bool log_planner_stats = false |
Definition at line 521 of file guc_tables.c.
Referenced by check_log_stats(), and pg_plan_query().
|
static |
Definition at line 203 of file guc_tables.c.
| double log_statement_sample_rate = 1.0 |
Definition at line 547 of file guc_tables.c.
Referenced by check_log_duration().
| bool log_statement_stats = false |
Definition at line 523 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 546 of file guc_tables.c.
Referenced by ReportTemporaryFileUsage().
|
static |
Definition at line 607 of file guc_tables.c.
| double log_xact_sample_rate = 0 |
Definition at line 548 of file guc_tables.c.
Referenced by StartTransaction().
|
static |
Definition at line 611 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 619 of file guc_tables.c.
| int num_temp_buffers = 1024 |
Definition at line 553 of file guc_tables.c.
Referenced by GetAdditionalLocalPinLimit(), GetLocalPinLimit(), InitLocalBuffers(), and LimitAdditionalLocalPins().
|
static |
Definition at line 414 of file guc_tables.c.
|
static |
Definition at line 590 of file guc_tables.c.
|
static |
Definition at line 407 of file guc_tables.c.
|
static |
Definition at line 438 of file guc_tables.c.
|
static |
Definition at line 381 of file guc_tables.c.
|
extern |
Definition at line 77 of file xlogrecovery.c.
|
static |
Definition at line 641 of file guc_tables.c.
|
static |
Definition at line 640 of file guc_tables.c.
|
static |
Definition at line 638 of file guc_tables.c.
|
static |
Definition at line 637 of file guc_tables.c.
|
static |
Definition at line 639 of file guc_tables.c.
|
static |
Definition at line 597 of file guc_tables.c.
| char* role_string |
Definition at line 644 of file guc_tables.c.
Referenced by show_role().
| bool row_security |
Definition at line 528 of file guc_tables.c.
Referenced by check_enable_rls(), CompleteCachedPlan(), and RevalidateCachedQuery().
|
static |
Definition at line 615 of file guc_tables.c.
|
static |
Definition at line 593 of file guc_tables.c.
|
static |
Definition at line 149 of file guc_tables.c.
|
static |
Definition at line 595 of file guc_tables.c.
Referenced by postgresAcquireSampleRowsFunc().
|
static |
Definition at line 594 of file guc_tables.c.
|
static |
Definition at line 610 of file guc_tables.c.
|
static |
Definition at line 222 of file guc_tables.c.
|
static |
Definition at line 446 of file guc_tables.c.
|
static |
Definition at line 617 of file guc_tables.c.
|
static |
Definition at line 616 of file guc_tables.c.
|
static |
Definition at line 420 of file guc_tables.c.
|
static |
Definition at line 574 of file guc_tables.c.
|
static |
Definition at line 258 of file guc_tables.c.
|
static |
Definition at line 342 of file guc_tables.c.
|
static |
Definition at line 604 of file guc_tables.c.
Referenced by assign_syslog_facility().
|
static |
Definition at line 232 of file guc_tables.c.
|
static |
Definition at line 589 of file guc_tables.c.
| int tcp_keepalives_count |
Definition at line 565 of file guc_tables.c.
Referenced by pq_init().
| int tcp_keepalives_idle |
Definition at line 563 of file guc_tables.c.
Referenced by pq_init().
| int tcp_keepalives_interval |
Definition at line 564 of file guc_tables.c.
Referenced by pq_init().
| int tcp_user_timeout |
Definition at line 566 of file guc_tables.c.
Referenced by pq_init().
| int temp_file_limit = -1 |
Definition at line 551 of file guc_tables.c.
Referenced by FileWriteV().
|
static |
Definition at line 608 of file guc_tables.c.
|
static |
Definition at line 606 of file guc_tables.c.
|
static |
Definition at line 248 of file guc_tables.c.
|
static |
Definition at line 618 of file guc_tables.c.
|
static |
Definition at line 467 of file guc_tables.c.
|
extern |
Definition at line 27 of file xlogdesc.c.
|
extern |
|
static |
Definition at line 268 of file guc_tables.c.
|
static |
Definition at line 277 of file guc_tables.c.