|
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/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 "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"
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, |
Definition at line 637 of file guc_tables.c.
| #define DEFAULT_SYSLOG_FACILITY 0 |
Definition at line 612 of file guc_tables.c.
Definition at line 644 of file guc_tables.c.
| #define PG_KRB_SRVTAB "" |
Definition at line 113 of file guc_tables.c.
| #define PG_PROCTYPE | ( | bktype, | |
| bkcategory, | |||
| description, | |||
| main_func, | |||
| shmem_attach | |||
| ) | [bktype] = WARNING, |
| 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 516 of file guc_tables.c.
Referenced by AlterSystemSetConfigFile().
| char* application_name |
Definition at line 570 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 639 of file guc_tables.c.
|
static |
| char* backtrace_functions |
Definition at line 558 of file guc_tables.c.
Referenced by errfinish().
|
static |
Definition at line 624 of file guc_tables.c.
Referenced by pg_hmac_init().
|
static |
Definition at line 539 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 600 of file guc_tables.c.
|
static |
Definition at line 550 of file guc_tables.c.
Referenced by execute_extension_script(), and should_output_to_client().
| char* cluster_name = "" |
Definition at line 564 of file guc_tables.c.
Referenced by init_ps_display(), pg_sync_replication_slots(), process_pgfdw_appname(), ReplSlotSyncWorkerMain(), and WalReceiverMain().
|
static |
Definition at line 718 of file guc_tables.c.
Referenced by GetConfigOptionValues(), and printMixedStruct().
Definition at line 778 of file guc_tables.c.
Referenced by GetConfigOptionValues().
| char* ConfigFileName |
Definition at line 565 of file guc_tables.c.
Referenced by ProcessConfigFileInternal(), and SelectConfigFiles().
|
static |
| bool current_role_is_superuser |
Definition at line 547 of file guc_tables.c.
Referenced by check_role(), and InitializeParallelDSM().
|
static |
Definition at line 631 of file guc_tables.c.
|
static |
Definition at line 619 of file guc_tables.c.
|
static |
Definition at line 601 of file guc_tables.c.
|
static |
Definition at line 605 of file guc_tables.c.
|
static |
Definition at line 431 of file guc_tables.c.
|
static |
Definition at line 522 of file guc_tables.c.
Referenced by pg_parse_query(), pg_plan_query(), and pg_rewrite_query().
Definition at line 519 of file guc_tables.c.
Referenced by pg_rewrite_query().
Definition at line 518 of file guc_tables.c.
Referenced by pg_plan_query().
Definition at line 520 of file guc_tables.c.
Referenced by pg_parse_query().
Definition at line 521 of file guc_tables.c.
Referenced by pg_rewrite_query().
|
static |
Definition at line 461 of file guc_tables.c.
Definition at line 544 of file guc_tables.c.
|
extern |
Definition at line 95 of file dsm_impl.c.
|
static |
Definition at line 630 of file guc_tables.c.
| char* event_source |
Definition at line 536 of file guc_tables.c.
|
static |
Definition at line 646 of file guc_tables.c.
| char* external_pid_file |
Definition at line 568 of file guc_tables.c.
Referenced by PostmasterMain(), and unlink_external_pid_file().
|
static |
Definition at line 488 of file guc_tables.c.
|
static |
Definition at line 496 of file guc_tables.c.
Definition at line 675 of file guc_tables.c.
Referenced by GetConfigOptionValues(), and printMixedStruct().
Definition at line 694 of file guc_tables.c.
Referenced by GetConfigOptionValues().
| char* HbaFileName |
Definition at line 566 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 590 of file guc_tables.c.
Referenced by GetHugePageSize().
| int huge_pages = HUGE_PAGES_TRY |
Definition at line 589 of file guc_tables.c.
Referenced by CreateAnonymousSegment(), and PGSharedMemoryCreate().
|
static |
| int huge_pages_status = HUGE_PAGES_UNKNOWN |
Definition at line 591 of file guc_tables.c.
Referenced by pg_get_shmem_pagesize().
|
static |
|
static |
Definition at line 176 of file guc_tables.c.
| char* IdentFileName |
Definition at line 567 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 658 of file guc_tables.c.
Referenced by ReportChangedGUCOptions().
|
static |
Definition at line 632 of file guc_tables.c.
|
static |
|
static |
Definition at line 216 of file guc_tables.c.
Definition at line 535 of file guc_tables.c.
Referenced by _bt_leader_participate_as_worker(), _bt_leafbuild(), _bt_parallel_build_main(), and btbuild().
Definition at line 517 of file guc_tables.c.
Referenced by check_log_duration().
|
static |
Definition at line 532 of file guc_tables.c.
Referenced by check_log_stats(), PortalRun(), and PortalRunMulti().
| int log_min_duration_sample = -1 |
Definition at line 551 of file guc_tables.c.
Referenced by check_log_duration().
| int log_min_duration_statement = -1 |
Definition at line 552 of file guc_tables.c.
Referenced by check_log_duration().
Definition at line 549 of file guc_tables.c.
Referenced by check_log_of_query().
| int log_min_messages[] |
Definition at line 663 of file guc_tables.c.
Referenced by assign_log_min_messages(), execute_extension_script(), and should_output_to_server().
|
static |
Definition at line 607 of file guc_tables.c.
| int log_parameter_max_length = -1 |
Definition at line 553 of file guc_tables.c.
Referenced by errdetail_params().
| int log_parameter_max_length_on_error = 0 |
Definition at line 554 of file guc_tables.c.
Referenced by bind_param_error_callback(), and exec_bind_message().
Definition at line 530 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 531 of file guc_tables.c.
Referenced by check_log_stats(), and pg_plan_query().
|
static |
| double log_statement_sample_rate = 1.0 |
Definition at line 556 of file guc_tables.c.
Referenced by check_log_duration().
Definition at line 533 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 555 of file guc_tables.c.
Referenced by ReportTemporaryFileUsage().
|
static |
Definition at line 617 of file guc_tables.c.
| double log_xact_sample_rate = 0 |
Definition at line 557 of file guc_tables.c.
Referenced by StartTransaction().
|
static |
Definition at line 621 of file guc_tables.c.
|
static |
Definition at line 623 of file guc_tables.c.
|
static |
Definition at line 622 of file guc_tables.c.
|
static |
Definition at line 629 of file guc_tables.c.
| int num_temp_buffers = 1024 |
Definition at line 562 of file guc_tables.c.
Referenced by GetAdditionalLocalPinLimit(), GetLocalPinLimit(), InitLocalBuffers(), and LimitAdditionalLocalPins().
|
static |
|
static |
Definition at line 599 of file guc_tables.c.
|
static |
|
static |
Definition at line 440 of file guc_tables.c.
|
static |
|
extern |
Definition at line 76 of file xlogrecovery.c.
|
static |
Definition at line 652 of file guc_tables.c.
|
static |
Definition at line 651 of file guc_tables.c.
|
static |
Definition at line 649 of file guc_tables.c.
|
static |
Definition at line 648 of file guc_tables.c.
|
static |
Definition at line 650 of file guc_tables.c.
|
static |
Definition at line 606 of file guc_tables.c.
| char* role_string |
Definition at line 655 of file guc_tables.c.
Referenced by show_role().
| bool row_security |
Definition at line 538 of file guc_tables.c.
Referenced by check_enable_rls(), CompleteCachedPlan(), and RevalidateCachedQuery().
|
static |
Definition at line 625 of file guc_tables.c.
|
static |
Definition at line 602 of file guc_tables.c.
| const struct config_enum_entry server_message_level_options[] |
Definition at line 151 of file guc_tables.c.
Referenced by check_log_min_messages().
|
static |
Definition at line 604 of file guc_tables.c.
Referenced by postgresAcquireSampleRowsFunc().
|
static |
Definition at line 603 of file guc_tables.c.
|
static |
Definition at line 620 of file guc_tables.c.
|
static |
|
static |
Definition at line 448 of file guc_tables.c.
|
static |
Definition at line 627 of file guc_tables.c.
|
static |
Definition at line 626 of file guc_tables.c.
|
static |
|
static |
Definition at line 583 of file guc_tables.c.
Definition at line 545 of file guc_tables.c.
|
static |
|
static |
|
static |
Definition at line 614 of file guc_tables.c.
Referenced by assign_syslog_facility().
|
static |
Definition at line 234 of file guc_tables.c.
|
static |
Definition at line 598 of file guc_tables.c.
| int tcp_keepalives_count |
Definition at line 574 of file guc_tables.c.
Referenced by pq_init().
| int tcp_keepalives_idle |
Definition at line 572 of file guc_tables.c.
Referenced by pq_init().
| int tcp_keepalives_interval |
Definition at line 573 of file guc_tables.c.
Referenced by pq_init().
| int tcp_user_timeout |
Definition at line 575 of file guc_tables.c.
Referenced by pq_init().
| int temp_file_limit = -1 |
Definition at line 560 of file guc_tables.c.
Referenced by FileWriteV().
|
static |
Definition at line 618 of file guc_tables.c.
|
static |
Definition at line 616 of file guc_tables.c.
|
static |
|
static |
Definition at line 628 of file guc_tables.c.
|
static |
Definition at line 469 of file guc_tables.c.
|
extern |
Definition at line 27 of file xlogdesc.c.
|
extern |
|
static |
|
static |