|
PostgreSQL Source Code git master
|


Go to the source code of this file.
Data Structures | |
| struct | ConfigVariable |
| struct | config_enum_entry |
Typedefs | |
| typedef struct ConfigVariable | ConfigVariable |
| typedef struct config_generic | config_handle |
| typedef bool(* | GucBoolCheckHook) (bool *newval, void **extra, GucSource source) |
| typedef bool(* | GucIntCheckHook) (int *newval, void **extra, GucSource source) |
| typedef bool(* | GucRealCheckHook) (double *newval, void **extra, GucSource source) |
| typedef bool(* | GucStringCheckHook) (char **newval, void **extra, GucSource source) |
| typedef bool(* | GucEnumCheckHook) (int *newval, void **extra, GucSource source) |
| typedef void(* | GucBoolAssignHook) (bool newval, void *extra) |
| typedef void(* | GucIntAssignHook) (int newval, void *extra) |
| typedef void(* | GucRealAssignHook) (double newval, void *extra) |
| typedef void(* | GucStringAssignHook) (const char *newval, void *extra) |
| typedef void(* | GucEnumAssignHook) (int newval, void *extra) |
| typedef const char *(* | GucShowHook) (void) |
Enumerations | |
| enum | GucContext { PGC_INTERNAL , PGC_POSTMASTER , PGC_SIGHUP , PGC_SU_BACKEND , PGC_BACKEND , PGC_SUSET , PGC_USERSET } |
| enum | GucSource { PGC_S_DEFAULT , PGC_S_DYNAMIC_DEFAULT , PGC_S_ENV_VAR , PGC_S_FILE , PGC_S_ARGV , PGC_S_GLOBAL , PGC_S_DATABASE , PGC_S_USER , PGC_S_DATABASE_USER , PGC_S_CLIENT , PGC_S_OVERRIDE , PGC_S_INTERACTIVE , PGC_S_TEST , PGC_S_SESSION } |
| enum | GucAction { GUC_ACTION_SET , GUC_ACTION_LOCAL , GUC_ACTION_SAVE } |
| #define EmitWarningsOnPlaceholders | ( | className | ) | MarkGUCPrefixReserved(className) |
| #define GUC_check_errdetail |
| #define GUC_check_errhint |
| #define GUC_check_errmsg |
| #define GUC_CUSTOM_PLACEHOLDER 0x000200 /* placeholder for custom variable */ |
| #define GUC_DISALLOW_IN_AUTO_FILE 0x002000 /* can't set in PG_AUTOCONF_FILENAME */ |
| #define GUC_DISALLOW_IN_FILE 0x000100 /* can't set in postgresql.conf */ |
| #define GUC_IS_NAME 0x000800 /* limit string to NAMEDATALEN-1 */ |
| #define GUC_NOT_IN_SAMPLE 0x000080 /* not in postgresql.conf.sample */ |
| #define GUC_NOT_WHILE_SEC_REST 0x001000 /* can't set if security restricted */ |
| #define GUC_RUNTIME_COMPUTED 0x004000 /* delay processing in 'postgres -C' */ |
| #define GUC_SUPERUSER_ONLY 0x000400 /* show only to superusers */ |
| #define GUC_UNIT (GUC_UNIT_MEMORY | GUC_UNIT_TIME) |
| Enumerator | |
|---|---|
| PGC_INTERNAL | |
| PGC_POSTMASTER | |
| PGC_SIGHUP | |
| PGC_SU_BACKEND | |
| PGC_BACKEND | |
| PGC_SUSET | |
| PGC_USERSET | |
Definition at line 71 of file guc.h.
|
extern |
Definition at line 4470 of file guc.c.
References ACL_ALTER_SYSTEM, ACLCHECK_OK, AllocateFile(), AllowAlterSystem, assignable_custom_variable_name(), BasicOpenFile(), close, CONF_FILE_START_DEPTH, config_generic::context, DEBUG5, durable_rename(), elog, ereport, errcode(), errcode_for_file_access(), errmsg(), ERROR, ExtractSetVariableArgs(), fb(), find_option(), config_generic::flags, FreeConfigVariables(), FreeFile(), GetUserId(), GUC_DISALLOW_IN_AUTO_FILE, GUC_DISALLOW_IN_FILE, guc_free(), infile(), InvokeObjectPostAlterHookArgStr, LOG, LW_EXCLUSIVE, LWLockAcquire(), LWLockRelease(), MAXPGPATH, name, ConfigVariable::name, newval, parse_and_validate_value(), ParseConfigFp(), PG_AUTOCONF_FILENAME, PG_CATCH, PG_END_TRY, pg_parameter_aclcheck(), PG_RE_THROW, PG_TRY, PGC_INTERNAL, PGC_S_FILE, PGC_STRING, replace_auto_config_value(), snprintf, stat, superuser(), valid_custom_variable_name(), value, VAR_RESET, VAR_RESET_ALL, VAR_SET_DEFAULT, VAR_SET_VALUE, config_generic::vartype, and write_auto_conf_file().
Referenced by standard_ProcessUtility().
Definition at line 2137 of file guc.c.
References Assert, config_bool::assign_hook, config_int::assign_hook, config_real::assign_hook, config_string::assign_hook, config_enum::assign_hook, slist_mutable_iter::cur, discard_stack_value(), config_var_value::extra, fb(), GUC_LOCAL, GUC_NEEDS_REPORT, GUC_REPORT, guc_report_list, GUC_SAVE, GUC_SET, GUC_SET_LOCAL, guc_stack_list, GUCNestLevel, guc_stack::masked, guc_stack::masked_scontext, guc_stack::masked_srole, guc_stack::nest_level, newval, pfree(), PGC_BOOL, PGC_ENUM, PGC_INT, PGC_REAL, PGC_S_SESSION, PGC_STRING, guc_stack::prev, guc_stack::prior, guc_stack::scontext, set_extra_field(), set_guc_source(), set_string_field(), slist_container, slist_delete_current(), slist_foreach_modify, slist_push_head(), guc_stack::source, guc_stack::srole, config_generic::stack, config_generic::stack_link, guc_stack::state, config_var_val::stringval, and config_var_value::val.
Referenced by AbortSubTransaction(), AbortTransaction(), amcheck_lock_relation_and_check(), ATExecMergePartitions(), ATExecSplitPartition(), brin_summarize_range(), cluster_rel(), CommitSubTransaction(), CommitTransaction(), ComputeIndexAttrs(), CreateSchemaCommand(), DefineIndex(), do_analyze_rel(), execute_extension_script(), fmgr_security_definer(), index_build(), index_concurrently_build(), PrepareTransaction(), ProcedureCreate(), RefreshMatViewByOid(), reindex_index(), ReindexRelationConcurrently(), reset_transmission_modes(), restoreLocalGucs(), RestoreUserContext(), RI_Initial_Check(), RI_PartitionRemove_Check(), vacuum_rel(), and validate_index().
Definition at line 2090 of file guc.c.
References elog, GUCNestLevel, and WARNING.
Referenced by StartTransaction().
Definition at line 2421 of file guc.c.
References DestRemote, fb(), guc_hashtab, GUC_REPORT, hash_seq_init(), hash_seq_search(), PGC_INTERNAL, PGC_S_OVERRIDE, RecoveryInProgress(), ReportGUCOption(), reporting_enabled, SetConfigOption(), and whereToSendOutput.
Referenced by PostgresMain().
Definition at line 1287 of file guc.c.
References assignable_custom_variable_name(), DEBUG5, ERROR, fb(), find_option(), and name.
Referenced by ParameterAclCreate().
Definition at line 1251 of file guc.c.
References fb(), guc_name_compare(), i, map_old_guc_names, name, and pstrdup().
Referenced by ParameterAclCreate(), ParameterAclLookup(), and pg_parameter_aclmask().
Definition at line 661 of file guc-file.l.
References Assert, fb(), i, j, len, and palloc().
Referenced by ParseConfigFp().
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
Definition at line 5817 of file guc.c.
References add_size(), dlist_iter::cur, dlist_container, dlist_foreach, estimate_variable_size(), fb(), guc_nondef_list, and config_generic::nondef_link.
Referenced by InitializeParallelDSM().
|
extern |
Definition at line 43 of file guc_funcs.c.
References ACL_SET, DefElem::arg, DefElem::defname, elog, ereport, errcode(), errmsg(), ERROR, ExtractSetVariableArgs(), fb(), GUC_ACTION_LOCAL, GUC_ACTION_SET, ImportSnapshot(), InvokeObjectPostAlterHookArgStr, IsInParallelMode(), lfirst, linitial_node, list_make1, PGC_S_SESSION, PGC_SUSET, PGC_USERSET, ResetAllOptions(), set_config_option(), SetPGVariable(), stmt, strVal, superuser(), A_Const::val, VAR_RESET, VAR_RESET_ALL, VAR_SET_CURRENT, VAR_SET_DEFAULT, VAR_SET_MULTI, VAR_SET_VALUE, and WarnNoTransactionBlock().
Referenced by standard_ProcessUtility().
|
extern |
Definition at line 167 of file guc_funcs.c.
References fb(), flatten_set_variable_args(), GetConfigOptionByName(), stmt, VAR_SET_CURRENT, and VAR_SET_VALUE.
Referenced by AlterSetting(), AlterSystemSetConfigFile(), ExecSetVariableStmt(), and update_proconfig_value().
|
extern |
Definition at line 617 of file guc-file.l.
References FreeConfigVariable(), next, and ConfigVariable::next.
Referenced by AlterSystemSetConfigFile(), and parse_extension_control_file().
|
extern |
Definition at line 4148 of file guc.c.
References fb(), find_option(), config_generic::flags, GUC_CUSTOM_PLACEHOLDER, and name.
Referenced by fmgr_security_definer().
Definition at line 2686 of file guc.c.
References elog, ERROR, fb(), config_generic::flags, GUC_UNIT, GUC_UNIT_BLOCKS, GUC_UNIT_BYTE, GUC_UNIT_KB, GUC_UNIT_MB, GUC_UNIT_MIN, GUC_UNIT_MS, GUC_UNIT_S, GUC_UNIT_XBLOCKS, and snprintf.
Referenced by GetConfigOptionValues(), and parse_and_validate_value().
|
extern |
Definition at line 4219 of file guc.c.
References config_generic::_bool, config_generic::_enum, config_generic::_int, config_generic::_real, config_generic::_string, config_enum_lookup_by_value(), ConfigOptionIsVisible(), ereport, errcode(), errdetail(), errmsg(), ERROR, fb(), find_option(), name, PGC_BOOL, PGC_ENUM, PGC_INT, PGC_REAL, PGC_STRING, snprintf, config_bool::variable, config_int::variable, config_real::variable, config_string::variable, config_enum::variable, and config_generic::vartype.
Referenced by applyRemoteGucs(), be_tls_init(), CreateSharedMemoryAndSemaphores(), PostmasterMain(), ProcessConfigFileInternal(), and test_translation().
Definition at line 5301 of file guc.c.
References ConfigOptionIsVisible(), ereport, errcode(), errdetail(), errmsg(), ERROR, fb(), find_option(), name, config_generic::name, and ShowGUCOption().
Referenced by ExplainPrintSettings(), ExtractSetVariableArgs(), GetPGVariableResultDesc(), set_config_by_name(), show_config_by_name(), show_config_by_name_missing_ok(), and ShowGUCConfigOption().
Definition at line 4316 of file guc.c.
References ERROR, fb(), find_option(), config_generic::flags, and name.
Referenced by pg_get_functiondef(), and PostmasterMain().
Definition at line 4269 of file guc.c.
References config_generic::_bool, config_generic::_enum, config_generic::_int, config_generic::_real, config_generic::_string, Assert, config_enum_lookup_by_value(), ConfigOptionIsVisible(), ereport, errcode(), errdetail(), errmsg(), ERROR, fb(), find_option(), name, PGC_BOOL, PGC_ENUM, PGC_INT, PGC_REAL, PGC_STRING, config_bool::reset_val, config_int::reset_val, config_real::reset_val, config_string::reset_val, config_enum::reset_val, snprintf, and config_generic::vartype.
Referenced by check_datestyle().
|
extern |
Definition at line 408 of file guc_funcs.c.
References guc_name_compare(), name, ShowAllGUCConfig(), and ShowGUCConfigOption().
Referenced by exec_replication_command(), and standard_ProcessUtility().
Definition at line 420 of file guc_funcs.c.
References CreateTemplateTupleDesc(), fb(), GetConfigOptionByName(), guc_name_compare(), name, and TupleDescInitEntry().
Referenced by UtilityTupleDescriptor().
Definition at line 6628 of file guc.c.
References GUC_check_errcode_value.
Referenced by check_client_encoding(), check_default_with_oids(), check_primary_slot_name(), check_role(), check_session_authorization(), check_standard_conforming_strings(), check_synchronous_standby_names(), check_transaction_deferrable(), check_transaction_isolation(), check_transaction_read_only(), and validate_sync_standby_slots().
Definition at line 687 of file guc.c.
References Assert, fb(), GetMemoryChunkContext(), GUCMemoryContext, and pfree().
Referenced by add_placeholder_variable(), AlterSystemSetConfigFile(), call_string_check_hook(), check_application_name(), check_client_encoding(), check_cluster_name(), check_datestyle(), check_default_text_search_config(), free_placeholder(), parse_and_validate_value(), ReportGUCOption(), RestoreGUCState(), SelectConfigFiles(), set_config_sourcefile(), set_config_with_handle(), set_extra_field(), and set_string_field().
Definition at line 636 of file guc.c.
References data, ereport, errcode(), errmsg(), fb(), GUCMemoryContext, MCXT_ALLOC_NO_OOM, MemoryContextAllocExtended(), and unlikely.
Referenced by add_placeholder_variable(), check_backtrace_functions(), check_client_encoding(), check_createrole_self_grant(), check_datestyle(), check_debug_io_direct(), check_log_connections(), check_log_destination(), check_log_timezone(), check_random_seed(), check_recovery_target_lsn(), check_recovery_target_timeline(), check_recovery_target_xid(), check_restrict_nonsystem_relation_kind(), check_role(), check_session_authorization(), check_synchronized_standby_slots(), check_synchronous_standby_names(), check_temp_tablespaces(), check_timezone(), check_wal_consistency_checking(), ConvertTimeZoneAbbrevs(), guc_strdup(), init_custom_variable(), plpgsql_extra_checks_check_hook(), and SelectConfigFiles().
|
extern |
Definition at line 650 of file guc.c.
References Assert, data, ereport, errcode(), errmsg(), fb(), GetMemoryChunkContext(), GUCMemoryContext, MCXT_ALLOC_NO_OOM, MemoryContextAllocExtended(), repalloc_extended(), and unlikely.
Definition at line 675 of file guc.c.
References data, fb(), guc_malloc(), len, and likely.
Referenced by add_placeholder_variable(), check_application_name(), check_client_encoding(), check_cluster_name(), check_datestyle(), check_default_text_search_config(), init_custom_variable(), InitializeOneGUCOption(), parse_and_validate_value(), ReportGUCOption(), set_config_sourcefile(), and set_config_with_handle().
Definition at line 6328 of file guc.c.
References a, ARR_DIMS, ARR_ELEMTYPE, ARR_LBOUND, ARR_NDIM, array_ref(), array_set(), Assert, construct_array_builtin(), CStringGetTextDatum, fb(), find_option(), i, name, config_generic::name, newval, psprintf(), TextDatumGetCString, validate_option_array_item(), value, and WARNING.
Referenced by AlterSetting(), and update_proconfig_value().
Definition at line 6405 of file guc.c.
References ARR_DIMS, array_ref(), array_set(), Assert, construct_array_builtin(), fb(), find_option(), i, name, config_generic::name, TextDatumGetCString, val, validate_option_array_item(), and WARNING.
Referenced by AlterSetting(), and update_proconfig_value().
Definition at line 6474 of file guc.c.
References ARR_DIMS, array_ref(), array_set(), construct_array_builtin(), fb(), i, pfree(), superuser(), TextDatumGetCString, val, and validate_option_array_item().
Referenced by AlterSetting().
Definition at line 1407 of file guc.c.
References Assert, build_guc_variables(), fb(), guc_hashtab, hash_seq_init(), hash_seq_search(), InitializeGUCOptionsFromEnvironment(), InitializeOneGUCOption(), pg_timezone_initialize(), PGC_POSTMASTER, PGC_S_OVERRIDE, reporting_enabled, and SetConfigOption().
Referenced by BootstrapModeMain(), PostgresSingleUserMain(), and PostmasterMain().
Definition at line 5148 of file guc.c.
References ereport, errcode(), errdetail(), errmsg(), fb(), config_generic::flags, free_placeholder(), GUC_CUSTOM_PLACEHOLDER, guc_hashtab, GUC_QUALIFIER_SEPARATOR, GUCMemoryContext, HASH_REMOVE, hash_search(), hash_seq_init(), hash_seq_search(), lappend(), MemoryContextSwitchTo(), config_generic::name, pstrdup(), RemoveGUCFromLists(), reserved_class_prefix, config_generic::status, and WARNING.
Referenced by _PG_init().
Definition at line 2110 of file guc.c.
References GUCNestLevel.
Referenced by amcheck_lock_relation_and_check(), applyRemoteGucs(), ATExecMergePartitions(), ATExecSplitPartition(), brin_summarize_range(), cluster_rel(), ComputeIndexAttrs(), CreateSchemaCommand(), DefineIndex(), do_analyze_rel(), execute_extension_script(), fmgr_security_definer(), index_build(), index_concurrently_build(), ProcedureCreate(), PushTransaction(), RefreshMatViewByOid(), reindex_index(), ReindexRelationConcurrently(), RI_Initial_Check(), RI_PartitionRemove_Check(), set_transmission_modes(), SwitchToUntrustedUser(), vacuum_rel(), and validate_index().
Definition at line 2743 of file guc.c.
References convert_to_base_unit(), fb(), config_generic::flags, gettext_noop, GUC_UNIT, GUC_UNIT_MEMORY, memory_units_hint, time_units_hint, val, and value.
Referenced by apply_server_options(), apply_table_options(), ExecVacuum(), get_batch_size_option(), parse_and_validate_value(), parse_one_reloption(), postgres_fdw_validator(), and postgresAcquireSampleRowsFunc().
Definition at line 2833 of file guc.c.
References convert_to_base_unit(), fb(), config_generic::flags, GUC_UNIT, GUC_UNIT_MEMORY, memory_units_hint, time_units_hint, val, and value.
Referenced by apply_server_options(), ExecWaitStmt(), parse_and_validate_value(), parse_one_reloption(), and postgres_fdw_validator().
|
extern |
Definition at line 581 of file guc-file.l.
References fb(), GetConfFilesInDir(), i, ParseConfigFile(), and record_config_file_error().
Referenced by ParseConfigFp().
|
extern |
Definition at line 175 of file guc-file.l.
References AbsoluteConfigLocation(), AllocateFile(), cleanup(), CONF_FILE_MAX_DEPTH, config_file, ereport, errcode(), errcode_for_file_access(), errmsg(), fb(), FreeFile(), LOG, ParseConfigFp(), pfree(), psprintf(), and record_config_file_error().
Referenced by ParseConfigDirectory(), ParseConfigFp(), and ProcessConfigFileInternal().
|
extern |
Definition at line 350 of file guc-file.l.
References ConfigVariable::applied, cleanup(), config_file, ConfigFileLineno, DEBUG1, DeescapeQuotedString(), elog, ereport, errcode(), errmsg(), ConfigVariable::errmsg, fb(), ConfigVariable::filename, GUC_EOL, GUC_EQUALS, GUC_flex_fatal_errmsg, GUC_flex_fatal_jmp, GUC_ID, GUC_INTEGER, guc_name_compare(), GUC_QUALIFIED_ID, GUC_REAL, GUC_STRING, GUC_UNQUOTED_STRING, ConfigVariable::ignore, ConfigVariable::name, ConfigVariable::next, palloc_object, ParseConfigDirectory(), ParseConfigFile(), pfree(), pstrdup(), record_config_file_error(), ConfigVariable::sourceline, token, ConfigVariable::value, and yylex().
Referenced by AlterSystemSetConfigFile(), parse_extension_control_file(), and ParseConfigFile().
Definition at line 6205 of file guc.c.
References Assert, fb(), name, palloc(), pstrdup(), strlcpy(), and value.
Referenced by BootstrapModeMain(), PostmasterMain(), process_postgres_switches(), and TransformGUCArray().
|
extern |
Definition at line 120 of file guc-file.l.
References ALLOCSET_DEFAULT_SIZES, AllocSetContextCreate, Assert, CurrentMemoryContext, DEBUG2, fb(), IsUnderPostmaster, LOG, MemoryContextDelete(), MemoryContextSwitchTo(), PGC_POSTMASTER, PGC_SIGHUP, and ProcessConfigFileInternal().
Referenced by ApplyLauncherMain(), autoprewarm_main(), CheckpointWriteDelay(), copy_sequences(), do_autovacuum(), IoWorkerMain(), LogicalRepApplyLoop(), PostgresMain(), process_pm_reload_request(), ProcessAutoVacLauncherInterrupts(), ProcessCheckpointerInterrupts(), ProcessMainLoopInterrupts(), ProcessParallelApplyInterrupts(), ProcessPendingWrites(), ProcessPgArchInterrupts(), ProcessWalSummarizerInterrupts(), SelectConfigFiles(), slotsync_reread_config(), StartupRereadConfig(), SysLoggerMain(), vacuum_delay_point(), WaitForStandbyConfirmation(), WalReceiverMain(), WalSndLoop(), WalSndWaitForWal(), and worker_spi_main().
|
extern |
Definition at line 6296 of file guc.c.
References fb(), forboth, lfirst, list_free(), name, pfree(), set_config_option(), source, TransformGUCArray(), and value.
Referenced by ApplySetting(), and ProcedureCreate().
Definition at line 2471 of file guc.c.
References Assert, slist_mutable_iter::cur, fb(), GUC_NEEDS_REPORT, GUC_REPORT, guc_report_list, in_hot_standby_guc, PGC_INTERNAL, PGC_S_OVERRIDE, RecoveryInProgress(), config_generic::report_link, ReportGUCOption(), reporting_enabled, SetConfigOption(), slist_container, slist_delete_current(), and slist_foreach_modify.
Referenced by PostgresMain().
Definition at line 1878 of file guc.c.
References config_bool::assign_hook, config_int::assign_hook, config_real::assign_hook, config_string::assign_hook, config_enum::assign_hook, dlist_mutable_iter::cur, dlist_container, dlist_foreach_modify, fb(), GUC_ACTION_SET, GUC_NEEDS_REPORT, GUC_NO_RESET_ALL, guc_nondef_list, GUC_REPORT, guc_report_list, config_generic::nondef_link, PGC_BOOL, PGC_ENUM, PGC_INT, PGC_REAL, PGC_S_OVERRIDE, PGC_STRING, PGC_SUSET, PGC_USERSET, push_old_value(), set_extra_field(), set_guc_source(), set_string_field(), and slist_push_head().
Referenced by DiscardAll(), and ExecSetVariableStmt().
Definition at line 6062 of file guc.c.
References ErrorContextCallback::arg, Assert, can_skip_gucvar(), dlist_mutable_iter::cur, dlist_container, dlist_foreach_modify, ereport, errcode(), errmsg(), ERROR, error_context_stack, fb(), GUC_ACTION_SET, guc_free(), guc_nondef_list, guc_restore_error_context_callback(), InitializeOneGUCOption(), len, config_generic::nondef_link, PGC_BOOL, PGC_ENUM, PGC_INT, PGC_REAL, PGC_STRING, ErrorContextCallback::previous, read_gucstate(), read_gucstate_binary(), RemoveGUCFromLists(), set_config_option_ext(), and set_config_sourcefile().
Referenced by ParallelWorkerMain().
Definition at line 2121 of file guc.c.
References GUC_ACTION_SAVE, GUC_SAFE_SEARCH_PATH, IsBootstrapProcessingMode, PGC_S_SESSION, PGC_USERSET, and set_config_option().
Referenced by ATExecMergePartitions(), ATExecSplitPartition(), brin_summarize_range(), cluster_rel(), ComputeIndexAttrs(), DefineIndex(), do_analyze_rel(), index_build(), index_concurrently_build(), RefreshMatViewByOid(), reindex_index(), ReindexRelationConcurrently(), vacuum_rel(), and validate_index().
Definition at line 1655 of file guc.c.
References CONFIG_FILENAME, ConfigFileName, DataDir, FATAL, fb(), find_option(), free, guc_free(), guc_malloc(), HBA_FILENAME, HbaFileName, IDENT_FILENAME, IdentFileName, make_absolute_path(), PANIC, pg_timezone_abbrev_initialize(), PGC_POSTMASTER, PGC_S_OVERRIDE, ProcessConfigFile(), progname, SetConfigOption(), SetDataDir(), sprintf, stat, userDoption, and write_stderr.
Referenced by BootstrapModeMain(), PostgresSingleUserMain(), and PostmasterMain().
Definition at line 5970 of file guc.c.
References Assert, dlist_iter::cur, dlist_container, dlist_foreach, fb(), guc_nondef_list, config_generic::nondef_link, and serialize_variable().
Referenced by InitializeParallelDSM().
|
extern |
Definition at line 3216 of file guc.c.
References fb(), GetUserId(), name, PGC_S_CLIENT, PGC_S_INTERACTIVE, set_config_with_handle(), source, and value.
Referenced by accept_weak_input(), applyRemoteGucs(), CreateSchemaCommand(), DefineIndex(), ExecSetVariableStmt(), execute_extension_script(), parse_subscription_options(), ProcessConfigFileInternal(), ProcessGUCArray(), RestrictSearchPath(), RI_Initial_Check(), RI_PartitionRemove_Check(), set_config_by_name(), set_transmission_modes(), SetConfigOption(), SetPGVariable(), and validate_option_array_item().
|
extern |
Definition at line 3256 of file guc.c.
References fb(), name, set_config_with_handle(), source, and value.
Referenced by define_custom_variable(), execute_extension_script(), InitializeWalConsistencyChecking(), reapply_stacked_values(), and RestoreGUCState().
|
extern |
Definition at line 3279 of file guc.c.
References config_generic::_bool, config_generic::_enum, config_generic::_int, config_generic::_real, config_generic::_string, ACL_SET, ACLCHECK_OK, config_bool::boot_val, config_int::boot_val, config_real::boot_val, config_enum::boot_val, call_bool_check_hook(), call_enum_check_hook(), call_int_check_hook(), call_real_check_hook(), call_string_check_hook(), config_generic::context, DEBUG3, elog, ereport, errcode(), errmsg(), ERROR, config_generic::extra, extra_field_used(), fb(), find_option(), config_generic::flags, GUC_ACTION_SAVE, GUC_ALLOW_IN_PARALLEL, guc_free(), GUC_NEEDS_REPORT, GUC_NO_RESET, GUC_NOT_WHILE_SEC_REST, GUC_PENDING_RESTART, GUC_REPORT, guc_report_list, guc_strdup(), InLocalUserIdChange(), InSecurityRestrictedOperation(), IsInParallelMode(), IsUnderPostmaster, LOG, name, config_generic::name, newval, parse_and_validate_value(), pg_parameter_aclcheck(), PGC_BACKEND, PGC_BOOL, PGC_ENUM, PGC_INT, PGC_INTERNAL, PGC_POSTMASTER, PGC_REAL, PGC_S_CLIENT, PGC_S_DATABASE, PGC_S_DATABASE_USER, PGC_S_DEFAULT, PGC_S_DYNAMIC_DEFAULT, PGC_S_FILE, PGC_S_GLOBAL, PGC_S_OVERRIDE, PGC_S_USER, PGC_SIGHUP, PGC_STRING, PGC_SU_BACKEND, PGC_SUSET, PGC_USERSET, push_old_value(), config_generic::report_link, config_generic::reset_extra, config_generic::reset_scontext, config_generic::reset_source, config_generic::reset_srole, config_generic::scontext, set_config_with_handle(), set_extra_field(), set_guc_source(), set_string_field(), slist_push_head(), source, config_generic::source, config_generic::srole, config_generic::stack, config_generic::status, string_field_used(), value, config_generic::vartype, and WARNING.
Referenced by fmgr_security_definer(), set_config_option(), set_config_option_ext(), and set_config_with_handle().
|
extern |
Definition at line 4196 of file guc.c.
References config_generic::context, fb(), GUC_ACTION_SET, name, set_config_option(), source, and value.
Referenced by AioShmemSize(), AutoVacLauncherMain(), AutoVacWorkerMain(), BeginReportingGUCOptions(), BootstrapModeMain(), CheckMyDatabase(), CLOGShmemInit(), CommitTsShmemInit(), CreateAnonymousSegment(), InitializeGUCOptions(), InitializeGUCOptionsFromEnvironment(), InitializeLogRepWorker(), InitializeSessionUserId(), InitializeShmemGUCs(), maybe_reread_subscription(), pg_timezone_abbrev_initialize(), PGSharedMemoryCreate(), PostmasterMain(), process_postgres_switches(), process_startup_options(), ProcessConfigFileInternal(), ReadControlFile(), ReplSlotSyncWorkerMain(), ReportChangedGUCOptions(), SelectConfigFiles(), set_debug_options(), set_limit(), set_plan_disabling_options(), SetOuterUserId(), SUBTRANSShmemInit(), and XLOGShmemSize().
Definition at line 341 of file guc_funcs.c.
References fb(), flatten_set_variable_args(), GUC_ACTION_LOCAL, GUC_ACTION_SET, name, PGC_S_SESSION, PGC_SUSET, PGC_USERSET, set_config_option(), and superuser().
Referenced by DiscardAll(), ExecSetVariableStmt(), and standard_ProcessUtility().
Definition at line 6241 of file guc.c.
References ARR_DIMS, ARR_ELEMTYPE, ARR_LBOUND, ARR_NDIM, array_ref(), Assert, ereport, errcode(), errmsg(), fb(), i, lappend(), name, NIL, ParseLongOption(), pfree(), TextDatumGetCString, value, values, and WARNING.
Referenced by fmgr_security_definer(), and ProcessGUCArray().
|
extern |
Definition at line 506 of file guc_tables.c.
Referenced by AlterSystemSetConfigFile().
|
extern |
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 |
|
extern |
Definition at line 549 of file guc_tables.c.
Referenced by errfinish().
|
extern |
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().
|
extern |
Definition at line 541 of file guc_tables.c.
Referenced by execute_extension_script(), and should_output_to_client().
|
extern |
Definition at line 555 of file guc_tables.c.
Referenced by init_ps_display(), pg_sync_replication_slots(), process_pgfdw_appname(), ReplSlotSyncWorkerMain(), and WalReceiverMain().
|
extern |
Definition at line 556 of file guc_tables.c.
Referenced by ProcessConfigFileInternal(), and SelectConfigFiles().
|
extern |
Definition at line 537 of file guc_tables.c.
Referenced by check_role(), and InitializeParallelDSM().
|
extern |
Definition at line 512 of file guc_tables.c.
Referenced by pg_parse_query(), pg_plan_query(), and pg_rewrite_query().
|
extern |
Definition at line 509 of file guc_tables.c.
Referenced by pg_rewrite_query().
|
extern |
Definition at line 508 of file guc_tables.c.
Referenced by pg_plan_query().
|
extern |
Definition at line 510 of file guc_tables.c.
Referenced by pg_parse_query().
|
extern |
Definition at line 511 of file guc_tables.c.
Referenced by pg_rewrite_query().
|
extern |
Definition at line 95 of file dsm_impl.c.
|
extern |
Definition at line 526 of file guc_tables.c.
|
extern |
Definition at line 559 of file guc_tables.c.
Referenced by PostmasterMain(), and unlink_external_pid_file().
|
extern |
Definition at line 83 of file guc.c.
Referenced by call_bool_check_hook(), call_enum_check_hook(), call_int_check_hook(), call_real_check_hook(), and call_string_check_hook().
|
extern |
Definition at line 84 of file guc.c.
Referenced by call_bool_check_hook(), call_enum_check_hook(), call_int_check_hook(), call_real_check_hook(), and call_string_check_hook().
|
extern |
Definition at line 82 of file guc.c.
Referenced by call_bool_check_hook(), call_enum_check_hook(), call_int_check_hook(), call_real_check_hook(), and call_string_check_hook().
|
extern |
Definition at line 557 of file guc_tables.c.
Referenced by fill_hba_view(), load_hba(), PerformAuthentication(), PostmasterMain(), process_pm_reload_request(), and SelectConfigFiles().
|
extern |
Definition at line 558 of file guc_tables.c.
Referenced by fill_ident_view(), load_ident(), process_pm_reload_request(), and SelectConfigFiles().
|
extern |
Definition at line 648 of file guc_tables.c.
Referenced by ReportChangedGUCOptions().
|
extern |
|
extern |
Definition at line 525 of file guc_tables.c.
Referenced by _bt_leader_participate_as_worker(), _bt_leafbuild(), _bt_parallel_build_main(), and btbuild().
|
extern |
Definition at line 507 of file guc_tables.c.
Referenced by check_log_duration().
|
extern |
Definition at line 522 of file guc_tables.c.
Referenced by check_log_stats(), PortalRun(), and PortalRunMulti().
|
extern |
Definition at line 542 of file guc_tables.c.
Referenced by check_log_duration().
|
extern |
Definition at line 543 of file guc_tables.c.
Referenced by check_log_duration().
|
extern |
Definition at line 539 of file guc_tables.c.
Referenced by check_log_of_query().
|
extern |
Definition at line 540 of file guc_tables.c.
Referenced by execute_extension_script(), and should_output_to_server().
|
extern |
Definition at line 544 of file guc_tables.c.
Referenced by errdetail_params().
|
extern |
Definition at line 545 of file guc_tables.c.
Referenced by bind_param_error_callback(), and exec_bind_message().
|
extern |
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().
|
extern |
Definition at line 521 of file guc_tables.c.
Referenced by check_log_stats(), and pg_plan_query().
|
extern |
Definition at line 547 of file guc_tables.c.
Referenced by check_log_duration().
|
extern |
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().
|
extern |
Definition at line 546 of file guc_tables.c.
Referenced by ReportTemporaryFileUsage().
|
extern |
Definition at line 548 of file guc_tables.c.
Referenced by StartTransaction().
|
extern |
Definition at line 553 of file guc_tables.c.
Referenced by GetAdditionalLocalPinLimit(), GetLocalPinLimit(), InitLocalBuffers(), and LimitAdditionalLocalPins().
|
extern |
Definition at line 76 of file xlogrecovery.c.
|
extern |
Definition at line 645 of file guc_tables.c.
Referenced by show_role().
|
extern |
Definition at line 565 of file guc_tables.c.
Referenced by pq_init().
|
extern |
Definition at line 563 of file guc_tables.c.
Referenced by pq_init().
|
extern |
Definition at line 564 of file guc_tables.c.
Referenced by pq_init().
|
extern |
Definition at line 566 of file guc_tables.c.
Referenced by pq_init().
|
extern |
Definition at line 551 of file guc_tables.c.
Referenced by FileWriteV().
|
extern |
Definition at line 122 of file tuplesort.c.
Referenced by bytea_abbrev_abort(), dumptuples(), inittapes(), macaddr_abbrev_abort(), mergeruns(), network_abbrev_abort(), numeric_abbrev_abort(), tuplesort_begin_cluster(), tuplesort_begin_common(), tuplesort_begin_datum(), tuplesort_begin_heap(), tuplesort_begin_index_brin(), tuplesort_begin_index_btree(), tuplesort_begin_index_gin(), tuplesort_begin_index_gist(), tuplesort_begin_index_hash(), tuplesort_free(), tuplesort_performsort(), tuplesort_puttuple_common(), uuid_abbrev_abort(), and varstr_abbrev_abort().
|
extern |
|
extern |