PostgreSQL Source Code
git master
|
#include "postgres.h"
#include <ctype.h>
#include "access/htup_details.h"
#include "access/parallel.h"
#include "access/xact.h"
#include "access/xlog.h"
#include "access/xlogprefetcher.h"
#include "catalog/pg_authid.h"
#include "common/string.h"
#include "mb/pg_wchar.h"
#include "miscadmin.h"
#include "postmaster/postmaster.h"
#include "postmaster/syslogger.h"
#include "storage/bufmgr.h"
#include "utils/acl.h"
#include "utils/backend_status.h"
#include "utils/builtins.h"
#include "utils/datetime.h"
#include "utils/guc_hooks.h"
#include "utils/snapmgr.h"
#include "utils/syscache.h"
#include "utils/timestamp.h"
#include "utils/tzparser.h"
#include "utils/varlena.h"
Go to the source code of this file.
Data Structures | |
struct | role_auth_extra |
Variables | |
char * | role_string |
void assign_application_name | ( | const char * | newval, |
void * | extra | ||
) |
Definition at line 1075 of file variable.c.
References newval, and pgstat_report_appname().
void assign_client_encoding | ( | const char * | newval, |
void * | extra | ||
) |
Definition at line 756 of file variable.c.
References elog(), encoding, ereport, errcode(), errmsg(), ERROR, InitializingParallelWorker, IsParallelWorker, LOG, and SetClientEncoding().
void assign_datestyle | ( | const char * | newval, |
void * | extra | ||
) |
Definition at line 244 of file variable.c.
void assign_log_timezone | ( | const char * | newval, |
void * | extra | ||
) |
void assign_maintenance_io_concurrency | ( | int | newval, |
void * | extra | ||
) |
Definition at line 1111 of file variable.c.
References AmStartupProcess, maintenance_io_concurrency, newval, and XLogPrefetchReconfigure().
void assign_random_seed | ( | double | newval, |
void * | extra | ||
) |
Definition at line 660 of file variable.c.
References DirectFunctionCall1, Float8GetDatum(), newval, and setseed().
void assign_role | ( | const char * | newval, |
void * | extra | ||
) |
Definition at line 995 of file variable.c.
References role_auth_extra::is_superuser, role_auth_extra::roleid, and SetCurrentRoleId().
void assign_session_authorization | ( | const char * | newval, |
void * | extra | ||
) |
Definition at line 885 of file variable.c.
References role_auth_extra::is_superuser, role_auth_extra::roleid, and SetSessionAuthorization().
void assign_timezone | ( | const char * | newval, |
void * | extra | ||
) |
void assign_timezone_abbreviations | ( | const char * | newval, |
void * | extra | ||
) |
Definition at line 517 of file variable.c.
References InstallTimeZoneAbbrevs().
Definition at line 1049 of file variable.c.
References guc_strdup(), MCXT_ALLOC_NO_OOM, newval, pfree(), pg_clean_ascii(), and WARNING.
Definition at line 680 of file variable.c.
References encoding, GetDatabaseEncodingName(), GUC_check_errcode(), GUC_check_errdetail, guc_free(), guc_malloc(), guc_strdup(), IsTransactionState(), LOG, newval, pg_encoding_to_char, pg_valid_client_encoding(), and PrepareClientEncoding().
Definition at line 1085 of file variable.c.
References guc_strdup(), MCXT_ALLOC_NO_OOM, newval, pfree(), pg_clean_ascii(), and WARNING.
Definition at line 52 of file variable.c.
References DateOrder, DATEORDER_DMY, DATEORDER_MDY, DATEORDER_YMD, DateStyle, GetConfigOptionResetString(), GUC_check_errdetail, guc_free(), guc_malloc(), guc_strdup(), lfirst, list_free(), LOG, newval, pfree(), pg_strcasecmp(), pg_strncasecmp(), pstrdup(), source, SplitIdentifierString(), USE_GERMAN_DATES, USE_ISO_DATES, USE_POSTGRES_DATES, and USE_SQL_DATES.
Definition at line 1185 of file variable.c.
References GUC_check_errcode(), GUC_check_errmsg, and newval.
Definition at line 1200 of file variable.c.
References GUC_check_errdetail, and newval.
Definition at line 416 of file variable.c.
References GUC_check_errdetail, GUC_check_errmsg, guc_malloc(), LOG, newval, pg_tz_acceptable(), and pg_tzset().
Definition at line 1213 of file variable.c.
References GUC_check_errdetail, and newval.
Definition at line 648 of file variable.c.
References guc_malloc(), LOG, PGC_S_INTERACTIVE, and source.
Definition at line 907 of file variable.c.
References AUTHNAME, ereport, errcode(), errmsg(), GetSessionUserId(), GETSTRUCT, GUC_check_errcode(), GUC_check_errmsg, guc_malloc(), HeapTupleIsValid, InitializingParallelWorker, InvalidOid, role_auth_extra::is_superuser, is_superuser(), IsTransactionState(), LOG, member_can_set_role(), newval, NOTICE, PGC_S_TEST, PointerGetDatum(), ReleaseSysCache(), role_auth_extra::roleid, SearchSysCache1(), and source.
Definition at line 802 of file variable.c.
References AUTHNAME, ereport, errcode(), errmsg(), GetAuthenticatedUserId(), GETSTRUCT, GUC_check_errcode(), GUC_check_errmsg, guc_malloc(), HeapTupleIsValid, role_auth_extra::is_superuser, is_superuser(), IsTransactionState(), LOG, newval, NOTICE, PGC_S_TEST, PointerGetDatum(), ReleaseSysCache(), role_auth_extra::roleid, SearchSysCache1(), source, and superuser_arg().
Definition at line 261 of file variable.c.
References CStringGetDatum(), DatumGetIntervalP(), DirectFunctionCall3, GUC_check_errdetail, GUC_check_errmsg, guc_malloc(), Int32GetDatum(), interval_in(), InvalidOid, LOG, interval::month, newval, ObjectIdGetDatum(), pfree(), pg_strncasecmp(), pg_tz_acceptable(), pg_tzset(), pg_tzset_offset(), pstrdup(), SECS_PER_HOUR, interval::time, USECS_PER_SEC, and val.
Definition at line 485 of file variable.c.
References Assert(), load_tzoffsets(), newval, PGC_S_DEFAULT, and source.
Definition at line 620 of file variable.c.
References FirstSnapshotSet, GUC_check_errcode(), GUC_check_errmsg, and IsSubTransaction().
Definition at line 583 of file variable.c.
References FirstSnapshotSet, GUC_check_errcode(), GUC_check_errhint, GUC_check_errmsg, IsSubTransaction(), IsTransactionState(), newval, RecoveryInProgress(), XACT_SERIALIZABLE, and XactIsoLevel.
Definition at line 544 of file variable.c.
References FirstSnapshotSet, GUC_check_errcode(), GUC_check_errmsg, InitializingParallelWorker, IsSubTransaction(), IsTransactionState(), newval, RecoveryInProgress(), and XactReadOnly.
const char* show_data_directory_mode | ( | void | ) |
const char* show_log_file_mode | ( | void | ) |
const char* show_log_timezone | ( | void | ) |
const char* show_random_seed | ( | void | ) |
Definition at line 669 of file variable.c.
const char* show_role | ( | void | ) |
Definition at line 1003 of file variable.c.
References GetCurrentRoleId(), OidIsValid, and role_string.
const char* show_timezone | ( | void | ) |
const char* show_unix_socket_permissions | ( | void | ) |
|
extern |
Definition at line 615 of file guc_tables.c.
Referenced by show_role().