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/toast_compression.h"
#include "access/twophase.h"
#include "access/xlog_internal.h"
#include "access/xlogprefetcher.h"
#include "access/xlogrecovery.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/walwriter.h"
#include "replication/logicallauncher.h"
#include "replication/slot.h"
#include "replication/syncrep.h"
#include "storage/bufmgr.h"
#include "storage/large_object.h"
#include "storage/pg_shmem.h"
#include "storage/predicate.h"
#include "storage/standby.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/memutils.h"
#include "utils/pg_locale.h"
#include "utils/portal.h"
#include "utils/ps_status.h"
#include "utils/inval.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 604 of file guc_tables.c.
#define DEFAULT_SYSLOG_FACILITY 0 |
Definition at line 581 of file guc_tables.c.
#define PG_KRB_SRVTAB "" |
Definition at line 91 of file guc_tables.c.
StaticAssertDecl | ( | lengthof(bytea_output_options) | = =(BYTEA_OUTPUT_HEX+2) , |
"array length mismatch" | |||
) |
StaticAssertDecl | ( | lengthof(config_group_names) | = =(DEVELOPER_OPTIONS+2) , |
"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" | |||
) |
char* application_name |
Definition at line 541 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 606 of file guc_tables.c.
|
static |
Definition at line 279 of file guc_tables.c.
char* backtrace_functions |
Definition at line 529 of file guc_tables.c.
Referenced by errfinish().
|
static |
Definition at line 593 of file guc_tables.c.
Referenced by pg_hmac_init().
|
static |
Definition at line 101 of file guc_tables.c.
Definition at line 509 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 571 of file guc_tables.c.
|
static |
Definition at line 122 of file guc_tables.c.
int client_min_messages = NOTICE |
Definition at line 520 of file guc_tables.c.
Referenced by execute_extension_script(), and should_output_to_client().
char* cluster_name = "" |
Definition at line 535 of file guc_tables.c.
Referenced by init_ps_display(), process_pgfdw_appname(), and WalReceiverMain().
|
extern |
Definition at line 135 of file xlog.c.
Referenced by XLogFlush().
|
extern |
Definition at line 136 of file xlog.c.
Referenced by XLogFlush().
|
static |
Definition at line 279 of file guc_tables.c.
const char* const config_group_names[] |
Definition at line 669 of file guc_tables.c.
Referenced by GetConfigOptionValues().
const char* const config_type_names[] |
Definition at line 771 of file guc_tables.c.
Referenced by GetConfigOptionValues().
char* ConfigFileName |
Definition at line 536 of file guc_tables.c.
Referenced by ProcessConfigFileInternal(), and SelectConfigFiles().
struct config_bool ConfigureNamesBool[] |
Definition at line 780 of file guc_tables.c.
Referenced by build_guc_variables().
struct config_enum ConfigureNamesEnum[] |
Definition at line 780 of file guc_tables.c.
Referenced by build_guc_variables().
struct config_int ConfigureNamesInt[] |
Definition at line 780 of file guc_tables.c.
Referenced by build_guc_variables().
struct config_real ConfigureNamesReal[] |
Definition at line 780 of file guc_tables.c.
Referenced by build_guc_variables().
struct config_string ConfigureNamesString[] |
Definition at line 780 of file guc_tables.c.
Referenced by build_guc_variables().
|
static |
Definition at line 279 of file guc_tables.c.
bool current_role_is_superuser |
Definition at line 516 of file guc_tables.c.
Referenced by InitializeParallelDSM().
|
static |
Definition at line 598 of file guc_tables.c.
|
static |
Definition at line 588 of file guc_tables.c.
|
static |
Definition at line 572 of file guc_tables.c.
|
static |
Definition at line 576 of file guc_tables.c.
|
static |
Definition at line 279 of file guc_tables.c.
|
static |
Definition at line 279 of file guc_tables.c.
Definition at line 498 of file guc_tables.c.
Referenced by pg_plan_query(), and pg_rewrite_query().
Definition at line 496 of file guc_tables.c.
Referenced by pg_rewrite_query().
Definition at line 495 of file guc_tables.c.
Referenced by pg_plan_query().
Definition at line 497 of file guc_tables.c.
Referenced by pg_rewrite_query().
|
extern |
Definition at line 89 of file tablespace.c.
Referenced by GetDefaultTablespace().
|
static |
Definition at line 431 of file guc_tables.c.
Definition at line 515 of file guc_tables.c.
|
extern |
Definition at line 93 of file dsm_impl.c.
char* event_source |
Definition at line 506 of file guc_tables.c.
char* external_pid_file |
Definition at line 539 of file guc_tables.c.
Referenced by PostmasterMain(), and unlink_external_pid_file().
const char* const GucContext_Names[] |
Definition at line 626 of file guc_tables.c.
Referenced by GetConfigOptionValues().
const char* const GucSource_Names[] |
Definition at line 645 of file guc_tables.c.
Referenced by GetConfigOptionValues().
char* HbaFileName |
Definition at line 537 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 561 of file guc_tables.c.
Referenced by GetHugePageSize().
int huge_pages = HUGE_PAGES_TRY |
Definition at line 560 of file guc_tables.c.
Referenced by CreateAnonymousSegment(), and PGSharedMemoryCreate().
|
static |
Definition at line 279 of file guc_tables.c.
int huge_pages_status = HUGE_PAGES_UNKNOWN |
Definition at line 562 of file guc_tables.c.
|
static |
Definition at line 279 of file guc_tables.c.
|
static |
Definition at line 122 of file guc_tables.c.
char* IdentFileName |
Definition at line 538 of file guc_tables.c.
Referenced by fill_ident_view(), load_ident(), process_pm_reload_request(), and SelectConfigFiles().
|
extern |
Definition at line 27 of file bufpage.c.
Referenced by PageIsVerifiedExtended().
|
extern |
Definition at line 37 of file xlogutils.c.
Referenced by log_invalid_page(), and XLogCheckInvalidPages().
bool in_hot_standby_guc |
Definition at line 618 of file guc_tables.c.
Referenced by ReportChangedGUCOptions().
|
static |
Definition at line 599 of file guc_tables.c.
|
static |
Definition at line 122 of file guc_tables.c.
|
static |
Definition at line 207 of file guc_tables.c.
Definition at line 505 of file guc_tables.c.
Referenced by _bt_leader_participate_as_worker(), _bt_leafbuild(), _bt_parallel_build_main(), and btbuild().
|
extern |
Definition at line 91 of file postgres.c.
Referenced by PostgresMain().
Definition at line 494 of file guc_tables.c.
Referenced by check_log_duration().
|
static |
Definition at line 186 of file guc_tables.c.
Definition at line 502 of file guc_tables.c.
Referenced by check_log_stats(), PortalRun(), and PortalRunMulti().
int log_min_duration_sample = -1 |
Definition at line 521 of file guc_tables.c.
Referenced by check_log_duration().
int log_min_duration_statement = -1 |
Definition at line 522 of file guc_tables.c.
Referenced by check_log_duration().
int log_min_error_statement = ERROR |
Definition at line 518 of file guc_tables.c.
Referenced by check_log_of_query().
int log_min_messages = WARNING |
Definition at line 519 of file guc_tables.c.
Referenced by execute_extension_script(), and should_output_to_server().
int log_parameter_max_length = -1 |
Definition at line 523 of file guc_tables.c.
Referenced by errdetail_params().
int log_parameter_max_length_on_error = 0 |
Definition at line 524 of file guc_tables.c.
Referenced by bind_param_error_callback(), and exec_bind_message().
Definition at line 500 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 501 of file guc_tables.c.
Referenced by check_log_stats(), and pg_plan_query().
|
static |
Definition at line 196 of file guc_tables.c.
double log_statement_sample_rate = 1.0 |
Definition at line 526 of file guc_tables.c.
Referenced by check_log_duration().
Definition at line 503 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 525 of file guc_tables.c.
Referenced by ReportTemporaryFileUsage().
|
static |
Definition at line 586 of file guc_tables.c.
double log_xact_sample_rate = 0 |
Definition at line 527 of file guc_tables.c.
Referenced by StartTransaction().
|
static |
Definition at line 590 of file guc_tables.c.
|
static |
Definition at line 592 of file guc_tables.c.
|
static |
Definition at line 591 of file guc_tables.c.
int num_temp_buffers = 1024 |
Definition at line 533 of file guc_tables.c.
Referenced by InitLocalBuffers().
|
static |
Definition at line 279 of file guc_tables.c.
|
static |
Definition at line 570 of file guc_tables.c.
|
static |
Definition at line 279 of file guc_tables.c.
|
static |
Definition at line 431 of file guc_tables.c.
|
static |
Definition at line 279 of file guc_tables.c.
|
extern |
Definition at line 1 of file xlogrecovery.c.
|
static |
Definition at line 612 of file guc_tables.c.
|
static |
Definition at line 611 of file guc_tables.c.
|
static |
Definition at line 609 of file guc_tables.c.
|
static |
Definition at line 608 of file guc_tables.c.
|
static |
Definition at line 610 of file guc_tables.c.
char* role_string |
Definition at line 615 of file guc_tables.c.
Referenced by show_role().
bool row_security |
Definition at line 508 of file guc_tables.c.
Referenced by check_enable_rls(), CompleteCachedPlan(), and RevalidateCachedQuery().
|
static |
Definition at line 594 of file guc_tables.c.
|
static |
Definition at line 573 of file guc_tables.c.
|
static |
Definition at line 122 of file guc_tables.c.
|
static |
Definition at line 575 of file guc_tables.c.
Referenced by postgresAcquireSampleRowsFunc().
|
static |
Definition at line 574 of file guc_tables.c.
|
static |
Definition at line 589 of file guc_tables.c.
|
static |
Definition at line 207 of file guc_tables.c.
|
static |
Definition at line 431 of file guc_tables.c.
|
static |
Definition at line 596 of file guc_tables.c.
|
static |
Definition at line 595 of file guc_tables.c.
|
static |
Definition at line 279 of file guc_tables.c.
int ssl_renegotiation_limit |
Definition at line 554 of file guc_tables.c.
|
static |
Definition at line 251 of file guc_tables.c.
|
extern |
|
static |
Definition at line 279 of file guc_tables.c.
|
static |
Definition at line 583 of file guc_tables.c.
Referenced by assign_syslog_facility().
|
static |
Definition at line 225 of file guc_tables.c.
|
static |
Definition at line 569 of file guc_tables.c.
int tcp_keepalives_count |
Definition at line 545 of file guc_tables.c.
Referenced by StreamConnection().
int tcp_keepalives_idle |
Definition at line 543 of file guc_tables.c.
Referenced by StreamConnection().
int tcp_keepalives_interval |
Definition at line 544 of file guc_tables.c.
Referenced by StreamConnection().
int tcp_user_timeout |
Definition at line 546 of file guc_tables.c.
Referenced by StreamConnection().
int temp_file_limit = -1 |
Definition at line 531 of file guc_tables.c.
Referenced by FileWrite().
|
extern |
Definition at line 90 of file tablespace.c.
Referenced by PrepareTempTablespaces().
|
static |
Definition at line 587 of file guc_tables.c.
|
static |
Definition at line 585 of file guc_tables.c.
int trace_recovery_messages = LOG |
Definition at line 528 of file guc_tables.c.
Referenced by PerformWalRecovery(), and trace_recovery().
|
static |
Definition at line 225 of file guc_tables.c.
|
static |
Definition at line 597 of file guc_tables.c.
|
static |
Definition at line 431 of file guc_tables.c.
|
extern |
Definition at line 1 of file xlogdesc.c.
Referenced by xlog_desc().
|
static |
Definition at line 261 of file guc_tables.c.
|
static |
Definition at line 270 of file guc_tables.c.