PostgreSQL Source Code
git master
|
#include "postgres.h"
#include "access/htup_details.h"
#include "access/parallel.h"
#include "access/xact.h"
#include "access/xlog.h"
#include "catalog/dependency.h"
#include "catalog/objectaccess.h"
#include "catalog/pg_authid.h"
#include "catalog/pg_collation.h"
#include "catalog/pg_conversion.h"
#include "catalog/pg_namespace.h"
#include "catalog/pg_opclass.h"
#include "catalog/pg_operator.h"
#include "catalog/pg_opfamily.h"
#include "catalog/pg_proc.h"
#include "catalog/pg_statistic_ext.h"
#include "catalog/pg_ts_config.h"
#include "catalog/pg_ts_dict.h"
#include "catalog/pg_ts_parser.h"
#include "catalog/pg_ts_template.h"
#include "catalog/pg_type.h"
#include "commands/dbcommands.h"
#include "funcapi.h"
#include "mb/pg_wchar.h"
#include "miscadmin.h"
#include "nodes/makefuncs.h"
#include "parser/parse_func.h"
#include "storage/ipc.h"
#include "storage/lmgr.h"
#include "storage/sinvaladt.h"
#include "utils/acl.h"
#include "utils/builtins.h"
#include "utils/catcache.h"
#include "utils/guc.h"
#include "utils/inval.h"
#include "utils/lsyscache.h"
#include "utils/memutils.h"
#include "utils/snapmgr.h"
#include "utils/syscache.h"
#include "utils/varlena.h"
Go to the source code of this file.
Data Structures | |
struct | OverrideStackEntry |
Macros | |
#define | SPACE_PER_OP |
Variables | |
static List * | activeSearchPath = NIL |
static Oid | activeCreationNamespace = InvalidOid |
static bool | activeTempCreationPending = false |
static uint64 | activePathGeneration = 1 |
static List * | baseSearchPath = NIL |
static Oid | baseCreationNamespace = InvalidOid |
static bool | baseTempCreationPending = false |
static Oid | namespaceUser = InvalidOid |
static bool | baseSearchPathValid = true |
static List * | overrideStack = NIL |
static Oid | myTempNamespace = InvalidOid |
static Oid | myTempToastNamespace = InvalidOid |
static SubTransactionId | myTempNamespaceSubID = InvalidSubTransactionId |
char * | namespace_search_path = NULL |
#define SPACE_PER_OP |
|
static |
Definition at line 3961 of file namespace.c.
References InitTempTableNamespace(), myTempNamespace, MyXactFlags, OidIsValid, and XACT_FLAGS_ACCESSEDTEMPNAMESPACE.
Referenced by fetch_search_path(), LookupCreationNamespace(), QualifiedNameGetCreationNamespace(), and RangeVarGetCreationNamespace().
void assign_search_path | ( | const char * | newval, |
void * | extra | ||
) |
void AtEOSubXact_Namespace | ( | bool | isCommit, |
SubTransactionId | mySubid, | ||
SubTransactionId | parentSubid | ||
) |
Definition at line 4178 of file namespace.c.
References activeCreationNamespace, activePathGeneration, activeSearchPath, activeTempCreationPending, baseCreationNamespace, baseSearchPath, baseSearchPathValid, baseTempCreationPending, OverrideStackEntry::creationNamespace, elog, GetCurrentTransactionNestLevel(), InvalidOid, InvalidSubTransactionId, linitial, list_delete_first(), list_free(), MyProc, myTempNamespace, myTempNamespaceSubID, myTempToastNamespace, OverrideStackEntry::nestLevel, overrideStack, pfree(), OverrideStackEntry::searchPath, PGPROC::tempNamespaceId, and WARNING.
Referenced by AbortSubTransaction(), and CommitSubTransaction().
Definition at line 4110 of file namespace.c.
References activeCreationNamespace, activePathGeneration, activeSearchPath, activeTempCreationPending, baseCreationNamespace, baseSearchPath, baseSearchPathValid, baseTempCreationPending, before_shmem_exit(), elog, InvalidOid, InvalidSubTransactionId, linitial, list_delete_first(), list_free(), MyProc, myTempNamespace, myTempNamespaceSubID, myTempToastNamespace, overrideStack, pfree(), RemoveTempRelationsCallback(), OverrideStackEntry::searchPath, PGPROC::tempNamespaceId, and WARNING.
Referenced by AbortTransaction(), CommitTransaction(), and PrepareTransaction().
Definition at line 4322 of file namespace.c.
References GUC_check_errdetail, list_free(), newval, pfree(), pstrdup(), and SplitIdentifierString().
Definition at line 3013 of file namespace.c.
References ereport, errcode(), errmsg(), ERROR, and isAnyTempNamespace().
Referenced by AlterObjectNamespace_internal(), AlterTableNamespace(), and AlterTypeNamespaceInternal().
TempNamespaceStatus checkTempNamespaceStatus | ( | Oid | namespaceId | ) |
Definition at line 3283 of file namespace.c.
References Assert(), BackendIdGetProc(), PGPROC::databaseId, GetTempNamespaceBackendId(), InvalidBackendId, MyDatabaseId, OidIsValid, TEMP_NAMESPACE_IDLE, TEMP_NAMESPACE_IN_USE, TEMP_NAMESPACE_NOT_TEMP, and PGPROC::tempNamespaceId.
Referenced by do_autovacuum().
Oid CollationGetCollid | ( | const char * | collname | ) |
Definition at line 2060 of file namespace.c.
References activeSearchPath, GetDatabaseEncoding(), InvalidOid, lfirst_oid, lookup_collation(), myTempNamespace, OidIsValid, and recomputeNamespacePath().
Referenced by CollationIsVisible().
Definition at line 2094 of file namespace.c.
References activeSearchPath, CollationGetCollid(), COLLOID, elog, ERROR, GETSTRUCT, HeapTupleIsValid, list_member_oid(), NameStr, ObjectIdGetDatum, recomputeNamespacePath(), ReleaseSysCache(), and SearchSysCache1().
Referenced by generate_collation_name(), getObjectDescription(), pg_collation_is_visible(), and regcollationout().
Oid ConversionGetConid | ( | const char * | conname | ) |
Definition at line 2145 of file namespace.c.
References activeSearchPath, CONNAMENSP, GetSysCacheOid2, InvalidOid, lfirst_oid, myTempNamespace, ObjectIdGetDatum, OidIsValid, PointerGetDatum, and recomputeNamespacePath().
Referenced by ConversionIsVisible().
Definition at line 2177 of file namespace.c.
References activeSearchPath, ConversionGetConid(), CONVOID, elog, ERROR, GETSTRUCT, HeapTupleIsValid, list_member_oid(), NameStr, ObjectIdGetDatum, recomputeNamespacePath(), ReleaseSysCache(), and SearchSysCache1().
Referenced by getObjectDescription(), and pg_conversion_is_visible().
OverrideSearchPath* CopyOverrideSearchPath | ( | OverrideSearchPath * | path | ) |
Definition at line 3443 of file namespace.c.
References OverrideSearchPath::addCatalog, OverrideSearchPath::addTemp, OverrideSearchPath::generation, list_copy(), palloc(), and OverrideSearchPath::schemas.
Referenced by CopyCachedPlan().
void DeconstructQualifiedName | ( | List * | names, |
char ** | nspname_p, | ||
char ** | objname_p | ||
) |
Definition at line 2855 of file namespace.c.
References ereport, errcode(), errmsg(), ERROR, get_database_name(), linitial, list_length(), lsecond, lthird, MyDatabaseId, NameListToString(), and strVal.
Referenced by AlterStatistics(), FuncnameGetCandidates(), get_collation_oid(), get_conversion_oid(), get_statistics_object_oid(), get_ts_config_oid(), get_ts_dict_oid(), get_ts_parser_oid(), get_ts_template_oid(), LookupTypeNameExtended(), make_oper_cache_key(), OpClassCacheLookup(), OpernameGetCandidates(), OpernameGetOprid(), OpFamilyCacheLookup(), QualifiedNameGetCreationNamespace(), and ResolveOpClass().
Definition at line 4431 of file namespace.c.
References AccessTempTableNamespace(), activeCreationNamespace, activeSearchPath, activeTempCreationPending, linitial_oid, list_copy(), list_delete_first(), and recomputeNamespacePath().
Referenced by AfterTriggerSetState(), CreateExtensionInternal(), current_schema(), current_schemas(), and ObjectsInPublicationToOids().
int fetch_search_path_array | ( | Oid * | sarray, |
int | sarray_len | ||
) |
Definition at line 4471 of file namespace.c.
References activeSearchPath, lfirst_oid, myTempNamespace, and recomputeNamespacePath().
Referenced by make_oper_cache_key().
Definition at line 3756 of file namespace.c.
References activeSearchPath, FindDefaultConversion(), InvalidOid, lfirst_oid, myTempNamespace, OidIsValid, and recomputeNamespacePath().
Referenced by BeginCopyFrom(), InitializeClientEncoding(), pg_do_encoding_conversion(), PrepareClientEncoding(), and test_enc_conversion().
FuncCandidateList FuncnameGetCandidates | ( | List * | names, |
int | nargs, | ||
List * | argnames, | ||
bool | expand_variadic, | ||
bool | expand_defaults, | ||
bool | include_out_arguments, | ||
bool | missing_ok | ||
) |
Definition at line 951 of file namespace.c.
References activeSearchPath, _FuncCandidateList::argnumbers, generate_unaccent_rules::args, _FuncCandidateList::args, ARR_DATA_PTR, ARR_DIMS, ARR_ELEMTYPE, ARR_HASNULL, ARR_NDIM, Assert(), CStringGetDatum, DatumGetArrayTypeP, DeconstructQualifiedName(), elog, ERROR, GETSTRUCT, i, InvalidOid, lfirst_oid, LookupExplicitNamespace(), MatchNamedCall(), Max, catclist::members, myTempNamespace, catclist::n_members, _FuncCandidateList::nargs, _FuncCandidateList::ndargs, _FuncCandidateList::next, NIL, _FuncCandidateList::nominalnargs, _FuncCandidateList::nvargs, offsetof, _FuncCandidateList::oid, OidIsValid, catclist::ordered, palloc(), _FuncCandidateList::pathpos, pfree(), PROCNAMEARGSNSP, pronargs, recomputeNamespacePath(), ReleaseSysCacheList, SearchSysCacheList1, SysCacheGetAttr(), and catctup::tuple.
Referenced by func_get_detail(), FunctionIsVisible(), LookupFuncNameInternal(), regprocedurein(), regprocin(), regprocout(), to_regproc(), and to_regprocedure().
Definition at line 1459 of file namespace.c.
References activeSearchPath, _FuncCandidateList::args, elog, ERROR, FuncnameGetCandidates(), GETSTRUCT, HeapTupleIsValid, list_make1, list_member_oid(), makeString(), NameStr, _FuncCandidateList::next, NIL, ObjectIdGetDatum, _FuncCandidateList::oid, PROCOID, proname, recomputeNamespacePath(), ReleaseSysCache(), and SearchSysCache1().
Referenced by format_procedure_extended(), and pg_function_is_visible().
Definition at line 3647 of file namespace.c.
References activeSearchPath, DeconstructQualifiedName(), ereport, errcode(), errmsg(), ERROR, GetDatabaseEncoding(), GetDatabaseEncodingName(), InvalidOid, lfirst_oid, lookup_collation(), LookupExplicitNamespace(), myTempNamespace, name, NameListToString(), OidIsValid, and recomputeNamespacePath().
Referenced by AlterCollation(), ComputeIndexAttrs(), ComputePartitionAttrs(), DefineCollation(), DefineDomain(), DefineRange(), get_object_address(), LookupCollation(), regcollationin(), and to_regcollation().
Definition at line 3701 of file namespace.c.
References activeSearchPath, CONNAMENSP, DeconstructQualifiedName(), ereport, errcode(), errmsg(), ERROR, GetSysCacheOid2, InvalidOid, lfirst_oid, LookupExplicitNamespace(), myTempNamespace, name, NameListToString(), ObjectIdGetDatum, OidIsValid, PointerGetDatum, and recomputeNamespacePath().
Referenced by get_object_address().
Definition at line 3089 of file namespace.c.
References CStringGetDatum, ereport, errcode(), errmsg(), ERROR, GetSysCacheOid1, NAMESPACENAME, and OidIsValid.
Referenced by binary_upgrade_create_empty_extension(), convert_schema_name(), CreateExtensionInternal(), get_object_address_defacl(), get_object_address_publication_schema(), get_object_address_unqualified(), InitTempTableNamespace(), LookupCreationNamespace(), LookupExplicitNamespace(), LookupNamespaceNoError(), objectNamesToOids(), ObjectsInPublicationToOids(), QualifiedNameGetCreationNamespace(), RangeVarGetCreationNamespace(), recomputeNamespacePath(), regnamespacein(), ReindexMultipleTables(), RenameSchema(), SetDefaultACLsInSchemas(), and to_regnamespace().
Definition at line 2224 of file namespace.c.
References activeSearchPath, DeconstructQualifiedName(), ereport, errcode(), errmsg(), ERROR, GetSysCacheOid2, InvalidOid, lfirst_oid, LookupExplicitNamespace(), myTempNamespace, NameListToString(), ObjectIdGetDatum, OidIsValid, PointerGetDatum, recomputeNamespacePath(), and STATEXTNAMENSP.
Referenced by AlterStatistics(), and get_object_address().
Definition at line 2725 of file namespace.c.
References activeSearchPath, DeconstructQualifiedName(), ereport, errcode(), errmsg(), ERROR, GetSysCacheOid2, InvalidOid, lfirst_oid, LookupExplicitNamespace(), myTempNamespace, NameListToString(), ObjectIdGetDatum, OidIsValid, PointerGetDatum, recomputeNamespacePath(), and TSCONFIGNAMENSP.
Referenced by check_TSCurrentConfig(), DefineTSConfiguration(), get_object_address(), GetTSConfigTuple(), getTSCurrentConfig(), regconfigin(), and tsvector_update_trigger().
Definition at line 2472 of file namespace.c.
References activeSearchPath, DeconstructQualifiedName(), ereport, errcode(), errmsg(), ERROR, GetSysCacheOid2, InvalidOid, lfirst_oid, LookupExplicitNamespace(), myTempNamespace, NameListToString(), ObjectIdGetDatum, OidIsValid, PointerGetDatum, recomputeNamespacePath(), and TSDICTNAMENSP.
Referenced by AlterTSDictionary(), get_object_address(), MakeConfigurationMapping(), regdictionaryin(), and thesaurus_init().
Definition at line 2346 of file namespace.c.
References activeSearchPath, DeconstructQualifiedName(), ereport, errcode(), errmsg(), ERROR, GetSysCacheOid2, InvalidOid, lfirst_oid, LookupExplicitNamespace(), myTempNamespace, NameListToString(), ObjectIdGetDatum, OidIsValid, PointerGetDatum, recomputeNamespacePath(), and TSPARSERNAMENSP.
Referenced by DefineTSConfiguration(), get_object_address(), ts_parse_byname(), and ts_token_type_byname().
Definition at line 2599 of file namespace.c.
References activeSearchPath, DeconstructQualifiedName(), ereport, errcode(), errmsg(), ERROR, GetSysCacheOid2, InvalidOid, lfirst_oid, LookupExplicitNamespace(), myTempNamespace, NameListToString(), ObjectIdGetDatum, OidIsValid, PointerGetDatum, recomputeNamespacePath(), and TSTEMPLATENAMENSP.
Referenced by DefineTSDictionary(), and get_object_address().
OverrideSearchPath* GetOverrideSearchPath | ( | MemoryContext | context | ) |
Definition at line 3406 of file namespace.c.
References activeCreationNamespace, activePathGeneration, activeSearchPath, OverrideSearchPath::addCatalog, OverrideSearchPath::addTemp, Assert(), OverrideSearchPath::generation, linitial_oid, list_copy(), list_delete_first(), MemoryContextSwitchTo(), myTempNamespace, palloc0(), recomputeNamespacePath(), and OverrideSearchPath::schemas.
Referenced by CompleteCachedPlan(), CreateSchemaCommand(), and RevalidateCachedQuery().
int GetTempNamespaceBackendId | ( | Oid | namespaceId | ) |
Definition at line 3320 of file namespace.c.
References get_namespace_name(), InvalidBackendId, and pfree().
Referenced by checkTempNamespaceStatus(), pg_relation_filepath(), and RelationBuildDesc().
Definition at line 3359 of file namespace.c.
References myTempNamespace, and myTempToastNamespace.
Referenced by InitializeParallelDSM().
Oid GetTempToastNamespace | ( | void | ) |
Definition at line 3345 of file namespace.c.
References Assert(), myTempToastNamespace, and OidIsValid.
Referenced by create_toast_table().
void InitializeSearchPath | ( | void | ) |
Definition at line 4372 of file namespace.c.
References activeCreationNamespace, activePathGeneration, activeSearchPath, activeTempCreationPending, baseCreationNamespace, baseSearchPath, baseSearchPathValid, baseTempCreationPending, CacheRegisterSyscacheCallback(), GetUserId(), IsBootstrapProcessingMode, list_make1_oid, MemoryContextSwitchTo(), NamespaceCallback(), NAMESPACEOID, namespaceUser, and TopMemoryContext.
Referenced by InitPostgres().
|
static |
Definition at line 3989 of file namespace.c.
References ACL_CREATE_TEMP, ACLCHECK_OK, Assert(), AssertState, baseSearchPathValid, CommandCounterIncrement(), ereport, errcode(), errmsg(), ERROR, get_database_name(), get_namespace_oid(), GetCurrentSubTransactionId(), GetUserId(), InvalidSubTransactionId, IsParallelWorker, MyBackendId, MyDatabaseId, MyProc, myTempNamespace, myTempNamespaceSubID, myTempToastNamespace, NAMEDATALEN, NamespaceCreate(), OidIsValid, pg_database_aclcheck(), RecoveryInProgress(), RemoveTempRelations(), snprintf, and PGPROC::tempNamespaceId.
Referenced by AccessTempTableNamespace().
Definition at line 3241 of file namespace.c.
References get_namespace_name(), and pfree().
Referenced by AlterTableMoveAll(), check_publication_add_schema(), CheckSetNamespace(), EventTriggerSQLDropAddObject(), isOtherTempNamespace(), and RangeVarAdjustRelationPersistence().
Definition at line 3264 of file namespace.c.
References isAnyTempNamespace(), and isTempOrTempToastNamespace().
Referenced by pg_is_other_temp_schema().
Definition at line 3203 of file namespace.c.
References myTempNamespace, and OidIsValid.
Referenced by CreateExtensionInternal(), EventTriggerSQLDropAddObject(), ExecCheckXactReadOnly(), get_namespace_name_or_temp(), pg_namespace_aclmask(), ReindexMultipleTables(), and RemoveObjects().
Definition at line 3227 of file namespace.c.
References myTempNamespace, myTempToastNamespace, and OidIsValid.
Referenced by create_toast_table(), isOtherTempNamespace(), pg_relation_filepath(), RangeVarAdjustRelationPersistence(), RelationBuildDesc(), and RelationBuildLocalRelation().
Definition at line 3215 of file namespace.c.
References myTempToastNamespace, and OidIsValid.
Referenced by IsToastNamespace().
Definition at line 2009 of file namespace.c.
References COLLNAMEENCNSP, encoding, GETSTRUCT, GetSysCacheOid3, HeapTupleIsValid, Int32GetDatum, InvalidOid, is_encoding_supported_by_icu(), ObjectIdGetDatum, OidIsValid, PointerGetDatum, ReleaseSysCache(), and SearchSysCache3().
Referenced by CollationGetCollid(), and get_collation_oid().
Oid LookupCreationNamespace | ( | const char * | nspname | ) |
Definition at line 2982 of file namespace.c.
References AccessTempTableNamespace(), ACL_CREATE, aclcheck_error(), ACLCHECK_OK, get_namespace_oid(), GetUserId(), myTempNamespace, OBJECT_SCHEMA, and pg_namespace_aclcheck().
Referenced by AlterExtensionNamespace(), AlterTypeNamespace(), ExecAlterObjectSchemaStmt(), ImportForeignSchema(), and make_new_heap().
Definition at line 2939 of file namespace.c.
References ACL_USAGE, aclcheck_error(), ACLCHECK_OK, get_namespace_oid(), GetUserId(), InvalidOid, InvokeNamespaceSearchHook, myTempNamespace, OBJECT_SCHEMA, OidIsValid, and pg_namespace_aclcheck().
Referenced by AfterTriggerSetState(), FuncnameGetCandidates(), get_collation_oid(), get_conversion_oid(), get_statistics_object_oid(), get_ts_config_oid(), get_ts_dict_oid(), get_ts_parser_oid(), get_ts_template_oid(), LookupTypeNameExtended(), make_oper_cache_key(), objectsInSchemaToOids(), OpClassCacheLookup(), OpernameGetCandidates(), OpernameGetOprid(), OpFamilyCacheLookup(), RangeVarGetRelidExtended(), ResolveOpClass(), schema_to_xml(), schema_to_xml_and_xmlschema(), and schema_to_xmlschema_internal().
Oid LookupNamespaceNoError | ( | const char * | nspname | ) |
Definition at line 2909 of file namespace.c.
References get_namespace_oid(), InvalidOid, InvokeNamespaceSearchHook, myTempNamespace, and OidIsValid.
Referenced by DropErrorMsgNonExistent(), refnameNamespaceItem(), and schema_does_not_exist_skipping().
Definition at line 3108 of file namespace.c.
References RangeVar::catalogname, ereport, errcode(), errmsg(), ERROR, linitial, list_length(), lsecond, lthird, makeRangeVar(), NameListToString(), RangeVar::relname, RangeVar::schemaname, and strVal.
Referenced by bt_metap(), bt_page_items_internal(), bt_page_stats_internal(), convert_table_name(), currtid_byrelname(), generateSerialExtraStmts(), get_object_address_attrdef(), get_object_address_attribute(), get_object_address_publication_rel(), get_object_address_relobject(), get_raw_page_internal(), get_rel_from_relname(), get_relation_by_qualified_name(), nextval(), owningrel_does_not_exist_skipping(), pg_get_serial_sequence(), pg_get_viewdef_name(), pg_get_viewdef_name_ext(), pg_relpages(), pg_relpages_v1_5(), pgrowlocks(), pgstatindex(), pgstatindex_v1_5(), pgstattuple(), pgstattuple_v1_5(), process_owned_by(), regclassin(), RelationNameGetTupleDesc(), RemoveRelations(), row_security_active_name(), schema_does_not_exist_skipping(), text_regclass(), and to_regclass().
|
static |
Definition at line 1348 of file namespace.c.
References Assert(), FUNC_MAX_ARGS, FUNC_PARAM_IN, FUNC_PARAM_INOUT, FUNC_PARAM_VARIADIC, get_func_arg_info(), GETSTRUCT, i, lfirst, list_length(), NIL, palloc(), PROCOID, pronargs, and SysCacheGetAttr().
Referenced by FuncnameGetCandidates().
char* NameListToQuotedString | ( | List * | names | ) |
Definition at line 3182 of file namespace.c.
References appendStringInfoChar(), appendStringInfoString(), initStringInfo(), lfirst, list_head(), quote_identifier(), and strVal.
char* NameListToString | ( | List * | names | ) |
Definition at line 3148 of file namespace.c.
References appendStringInfoChar(), appendStringInfoString(), elog, ERROR, initStringInfo(), IsA, lfirst, list_head(), name, nodeTag, and strVal.
Referenced by AggregateCreate(), AlterCollation(), AlterFunction(), AlterStatistics(), AlterTSConfiguration(), AlterTSDictionary(), check_object_ownership(), CreateConversionCommand(), CreateEventTrigger(), CreateProceduralLanguage(), CreateTransform(), CreateTriggerFiringOn(), DeconstructQualifiedName(), defGetString(), DefineOperator(), DefineType(), does_not_exist_skipping(), dropOperators(), dropProcedures(), ExpandColumnRefStar(), findRangeSubOpclass(), findTypeAnalyzeFunction(), findTypeInputFunction(), findTypeOutputFunction(), findTypeReceiveFunction(), findTypeSendFunction(), findTypeSubscriptingFunction(), findTypeTypmodinFunction(), findTypeTypmodoutFunction(), func_signature_string(), get_collation_oid(), get_conversion_oid(), get_object_address_attrdef(), get_object_address_attribute(), get_statistics_object_oid(), get_ts_config_oid(), get_ts_dict_oid(), get_ts_parser_oid(), get_ts_template_oid(), interpret_func_support(), lookup_fdw_handler_func(), LookupFuncName(), LookupFuncWithArgs(), LookupTypeNameExtended(), makeRangeVarFromNameList(), op_signature_string(), OpClassCacheLookup(), OperatorCreate(), OpFamilyCacheLookup(), owningrel_does_not_exist_skipping(), ParseFuncOrColumn(), plpgsql_post_column_ref(), RemoveObjects(), ResolveOpClass(), storeOperators(), storeProcedures(), transformColumnRef(), transformRangeTableSample(), ValidateJoinEstimator(), and ValidateRestrictionEstimator().
Definition at line 4413 of file namespace.c.
References baseSearchPathValid.
Referenced by InitializeSearchPath().
Definition at line 1879 of file namespace.c.
References activeSearchPath, CLAOID, elog, ERROR, GETSTRUCT, HeapTupleIsValid, list_member_oid(), NameStr, ObjectIdGetDatum, OpclassnameGetOpcid(), recomputeNamespacePath(), ReleaseSysCache(), and SearchSysCache1().
Referenced by get_opclass_name(), getObjectDescription(), and pg_opclass_is_visible().
Definition at line 1846 of file namespace.c.
References activeSearchPath, CLAAMNAMENSP, GetSysCacheOid3, InvalidOid, lfirst_oid, myTempNamespace, ObjectIdGetDatum, OidIsValid, PointerGetDatum, and recomputeNamespacePath().
Referenced by OpClassCacheLookup(), OpclassIsVisible(), and ResolveOpClass().
Definition at line 1793 of file namespace.c.
References activeSearchPath, elog, ERROR, GETSTRUCT, HeapTupleIsValid, list_make1, list_member_oid(), makeString(), NameStr, ObjectIdGetDatum, OpernameGetOprid(), OPEROID, oprid(), recomputeNamespacePath(), ReleaseSysCache(), and SearchSysCache1().
Referenced by format_operator_extended(), and pg_operator_is_visible().
FuncCandidateList OpernameGetCandidates | ( | List * | names, |
char | oprkind, | ||
bool | missing_schema_ok | ||
) |
Definition at line 1632 of file namespace.c.
References activeSearchPath, _FuncCandidateList::argnumbers, _FuncCandidateList::args, Assert(), CStringGetDatum, DeconstructQualifiedName(), GETSTRUCT, i, InvalidOid, lfirst_oid, LookupExplicitNamespace(), catclist::members, myTempNamespace, catclist::n_members, _FuncCandidateList::nargs, _FuncCandidateList::ndargs, _FuncCandidateList::next, _FuncCandidateList::nominalnargs, _FuncCandidateList::nvargs, _FuncCandidateList::oid, OidIsValid, OPERNAMENSP, catclist::ordered, palloc(), _FuncCandidateList::pathpos, recomputeNamespacePath(), ReleaseSysCacheList, SearchSysCacheList1, SPACE_PER_OP, and catctup::tuple.
Referenced by left_oper(), oper(), regoperin(), regoperout(), and to_regoper().
Definition at line 1529 of file namespace.c.
References activeSearchPath, CStringGetDatum, DeconstructQualifiedName(), GETSTRUCT, HeapTupleIsValid, i, InvalidOid, lfirst_oid, LookupExplicitNamespace(), catclist::members, myTempNamespace, catclist::n_members, ObjectIdGetDatum, OidIsValid, OPERNAMENSP, recomputeNamespacePath(), ReleaseSysCache(), ReleaseSysCacheList, SearchSysCache4(), SearchSysCacheList3, and catctup::tuple.
Referenced by binary_oper_exact(), left_oper(), LookupOperName(), OperatorIsVisible(), regoperatorin(), and to_regoperator().
Definition at line 1962 of file namespace.c.
References activeSearchPath, elog, ERROR, GETSTRUCT, HeapTupleIsValid, list_member_oid(), NameStr, ObjectIdGetDatum, OpfamilynameGetOpfid(), OPFAMILYOID, recomputeNamespacePath(), ReleaseSysCache(), and SearchSysCache1().
Referenced by getOpFamilyDescription(), and pg_opfamily_is_visible().
Definition at line 1929 of file namespace.c.
References activeSearchPath, GetSysCacheOid3, InvalidOid, lfirst_oid, myTempNamespace, ObjectIdGetDatum, OidIsValid, OPFAMILYAMNAMENSP, PointerGetDatum, and recomputeNamespacePath().
Referenced by OpFamilyCacheLookup(), and OpfamilyIsVisible().
bool OverrideSearchPathMatchesCurrent | ( | OverrideSearchPath * | path | ) |
Definition at line 3465 of file namespace.c.
References activeCreationNamespace, activePathGeneration, activeSearchPath, OverrideSearchPath::addCatalog, OverrideSearchPath::addTemp, OverrideSearchPath::generation, InvalidOid, lfirst_oid, list_head(), lnext(), myTempNamespace, recomputeNamespacePath(), and OverrideSearchPath::schemas.
Referenced by CachedPlanAllowsSimpleValidityCheck(), CachedPlanIsSimplyValid(), and RevalidateCachedQuery().
Datum pg_collation_is_visible | ( | PG_FUNCTION_ARGS | ) |
Definition at line 4574 of file namespace.c.
References CollationIsVisible(), COLLOID, ObjectIdGetDatum, PG_GETARG_OID, PG_RETURN_BOOL, PG_RETURN_NULL, and SearchSysCacheExists1.
Datum pg_conversion_is_visible | ( | PG_FUNCTION_ARGS | ) |
Definition at line 4585 of file namespace.c.
References ConversionIsVisible(), CONVOID, ObjectIdGetDatum, PG_GETARG_OID, PG_RETURN_BOOL, PG_RETURN_NULL, and SearchSysCacheExists1.
Datum pg_function_is_visible | ( | PG_FUNCTION_ARGS | ) |
Definition at line 4530 of file namespace.c.
References FunctionIsVisible(), ObjectIdGetDatum, PG_GETARG_OID, PG_RETURN_BOOL, PG_RETURN_NULL, PROCOID, and SearchSysCacheExists1.
Datum pg_is_other_temp_schema | ( | PG_FUNCTION_ARGS | ) |
Definition at line 4657 of file namespace.c.
References isOtherTempNamespace(), PG_GETARG_OID, and PG_RETURN_BOOL.
Datum pg_my_temp_schema | ( | PG_FUNCTION_ARGS | ) |
Datum pg_opclass_is_visible | ( | PG_FUNCTION_ARGS | ) |
Definition at line 4552 of file namespace.c.
References CLAOID, ObjectIdGetDatum, OpclassIsVisible(), PG_GETARG_OID, PG_RETURN_BOOL, PG_RETURN_NULL, and SearchSysCacheExists1.
Datum pg_operator_is_visible | ( | PG_FUNCTION_ARGS | ) |
Definition at line 4541 of file namespace.c.
References ObjectIdGetDatum, OperatorIsVisible(), OPEROID, PG_GETARG_OID, PG_RETURN_BOOL, PG_RETURN_NULL, and SearchSysCacheExists1.
Datum pg_opfamily_is_visible | ( | PG_FUNCTION_ARGS | ) |
Definition at line 4563 of file namespace.c.
References ObjectIdGetDatum, OpfamilyIsVisible(), OPFAMILYOID, PG_GETARG_OID, PG_RETURN_BOOL, PG_RETURN_NULL, and SearchSysCacheExists1.
Datum pg_statistics_obj_is_visible | ( | PG_FUNCTION_ARGS | ) |
Definition at line 4596 of file namespace.c.
References ObjectIdGetDatum, PG_GETARG_OID, PG_RETURN_BOOL, PG_RETURN_NULL, SearchSysCacheExists1, STATEXTOID, and StatisticsObjIsVisible().
Datum pg_table_is_visible | ( | PG_FUNCTION_ARGS | ) |
Definition at line 4508 of file namespace.c.
References ObjectIdGetDatum, PG_GETARG_OID, PG_RETURN_BOOL, PG_RETURN_NULL, RelationIsVisible(), RELOID, and SearchSysCacheExists1.
Datum pg_ts_config_is_visible | ( | PG_FUNCTION_ARGS | ) |
Definition at line 4640 of file namespace.c.
References ObjectIdGetDatum, PG_GETARG_OID, PG_RETURN_BOOL, PG_RETURN_NULL, SearchSysCacheExists1, TSConfigIsVisible(), and TSCONFIGOID.
Datum pg_ts_dict_is_visible | ( | PG_FUNCTION_ARGS | ) |
Definition at line 4618 of file namespace.c.
References ObjectIdGetDatum, PG_GETARG_OID, PG_RETURN_BOOL, PG_RETURN_NULL, SearchSysCacheExists1, TSDictionaryIsVisible(), and TSDICTOID.
Datum pg_ts_parser_is_visible | ( | PG_FUNCTION_ARGS | ) |
Definition at line 4607 of file namespace.c.
References ObjectIdGetDatum, PG_GETARG_OID, PG_RETURN_BOOL, PG_RETURN_NULL, SearchSysCacheExists1, TSParserIsVisible(), and TSPARSEROID.
Datum pg_ts_template_is_visible | ( | PG_FUNCTION_ARGS | ) |
Definition at line 4629 of file namespace.c.
References ObjectIdGetDatum, PG_GETARG_OID, PG_RETURN_BOOL, PG_RETURN_NULL, SearchSysCacheExists1, TSTemplateIsVisible(), and TSTEMPLATEOID.
Datum pg_type_is_visible | ( | PG_FUNCTION_ARGS | ) |
Definition at line 4519 of file namespace.c.
References ObjectIdGetDatum, PG_GETARG_OID, PG_RETURN_BOOL, PG_RETURN_NULL, SearchSysCacheExists1, TypeIsVisible(), and TYPEOID.
void PopOverrideSearchPath | ( | void | ) |
Definition at line 3603 of file namespace.c.
References activeCreationNamespace, activePathGeneration, activeSearchPath, activeTempCreationPending, baseCreationNamespace, baseSearchPath, baseTempCreationPending, OverrideStackEntry::creationNamespace, elog, ERROR, GetCurrentTransactionNestLevel(), linitial, list_delete_first(), list_free(), OverrideStackEntry::nestLevel, NIL, overrideStack, pfree(), and OverrideStackEntry::searchPath.
Referenced by CreateSchemaCommand().
void PushOverrideSearchPath | ( | OverrideSearchPath * | newpath | ) |
Definition at line 3536 of file namespace.c.
References activeCreationNamespace, activePathGeneration, activeSearchPath, activeTempCreationPending, OverrideSearchPath::addCatalog, OverrideSearchPath::addTemp, OverrideStackEntry::creationNamespace, GetCurrentTransactionNestLevel(), InvalidOid, lcons(), lcons_oid(), linitial_oid, list_copy(), MemoryContextSwitchTo(), myTempNamespace, OverrideStackEntry::nestLevel, NIL, OidIsValid, overrideStack, palloc(), OverrideSearchPath::schemas, OverrideStackEntry::searchPath, and TopMemoryContext.
Referenced by CreateSchemaCommand().
Definition at line 3041 of file namespace.c.
References AccessTempTableNamespace(), activeCreationNamespace, activeTempCreationPending, DeconstructQualifiedName(), ereport, errcode(), errmsg(), ERROR, get_namespace_oid(), myTempNamespace, OidIsValid, and recomputeNamespacePath().
Referenced by compute_return_type(), CreateConversionCommand(), CreateFunction(), CreateStatistics(), DefineAggregate(), DefineCollation(), DefineDomain(), DefineEnum(), DefineOpClass(), DefineOperator(), DefineOpFamily(), DefineRange(), DefineTSConfiguration(), DefineTSDictionary(), DefineTSParser(), DefineTSTemplate(), DefineType(), and get_other_operator().
Definition at line 643 of file namespace.c.
References ereport, errcode(), errmsg(), ERROR, isAnyTempNamespace(), isTempOrTempToastNamespace(), and RangeVar::relpersistence.
Referenced by DefineCompositeType(), generateSerialExtraStmts(), and RangeVarGetAndCheckCreationNamespace().
Oid RangeVarGetAndCheckCreationNamespace | ( | RangeVar * | relation, |
LOCKMODE | lockmode, | ||
Oid * | existing_relation_id | ||
) |
Definition at line 536 of file namespace.c.
References AccessShareLock, ACL_CREATE, aclcheck_error(), ACLCHECK_NOT_OWNER, ACLCHECK_OK, Assert(), RangeVar::catalogname, ereport, errcode(), errmsg(), ERROR, get_database_name(), get_namespace_name(), get_rel_relkind(), get_relkind_objtype(), get_relname_relid(), GetUserId(), InvalidOid, IsBootstrapProcessingMode, LockDatabaseObject(), LockRelationOid(), MyDatabaseId, NoLock, OBJECT_SCHEMA, OidIsValid, pg_class_ownercheck(), pg_namespace_aclcheck(), RangeVarAdjustRelationPersistence(), RangeVarGetCreationNamespace(), RangeVar::relname, RangeVar::schemaname, SharedInvalidMessageCounter, UnlockDatabaseObject(), and UnlockRelationOid().
Referenced by AlterTableNamespace(), DefineCompositeType(), DefineRelation(), DefineSequence(), DefineVirtualRelation(), and transformCreateStmt().
Definition at line 451 of file namespace.c.
References AccessTempTableNamespace(), activeCreationNamespace, activeTempCreationPending, RangeVar::catalogname, ereport, errcode(), errmsg(), ERROR, get_database_name(), get_namespace_oid(), MyDatabaseId, myTempNamespace, OidIsValid, recomputeNamespacePath(), RangeVar::relname, RangeVar::relpersistence, and RangeVar::schemaname.
Referenced by CreateTableAsRelExists(), generateSerialExtraStmts(), and RangeVarGetAndCheckCreationNamespace().
Oid RangeVarGetRelidExtended | ( | const RangeVar * | relation, |
LOCKMODE | lockmode, | ||
uint32 | flags, | ||
RangeVarGetRelidCallback | callback, | ||
void * | callback_arg | ||
) |
Definition at line 238 of file namespace.c.
References AcceptInvalidationMessages(), Assert(), callback(), RangeVar::catalogname, ConditionalLockRelationOid(), DEBUG1, ereport, errcode(), ERRCODE_UNDEFINED_TABLE, errmsg(), ERROR, get_database_name(), get_relname_relid(), InvalidOid, LockRelationOid(), LookupExplicitNamespace(), MyDatabaseId, myTempNamespace, NoLock, OidIsValid, RangeVar::relname, RelnameGetRelid(), RangeVar::relpersistence, RVR_MISSING_OK, RVR_NOWAIT, RVR_SKIP_LOCKED, RangeVar::schemaname, SharedInvalidMessageCounter, and UnlockRelationOid().
Referenced by AlterPolicy(), AlterSequence(), AlterTableLookupRelation(), AlterTableNamespace(), ATExecAttachPartitionIdx(), cluster(), CreatePolicy(), ExecRefreshMatView(), ExecuteTruncate(), expand_vacuum_rel(), LockTableCommand(), ProcessUtilitySlow(), ReindexIndex(), ReindexTable(), RemoveRelations(), rename_policy(), renameatt(), RenameConstraint(), RenameRelation(), RenameRewriteRule(), and renametrig().
|
static |
Definition at line 3783 of file namespace.c.
References ACL_USAGE, ACLCHECK_OK, activeCreationNamespace, activePathGeneration, activeSearchPath, activeTempCreationPending, AUTHOID, baseCreationNamespace, baseSearchPath, baseSearchPathValid, baseTempCreationPending, elog, equal(), ERROR, get_namespace_oid(), GETSTRUCT, GetUserId(), HeapTupleIsValid, InvalidOid, InvokeNamespaceSearchHook, lappend_oid(), lcons_oid(), lfirst, linitial_oid, list_copy(), list_free(), list_member_oid(), MemoryContextSwitchTo(), myTempNamespace, namespace_search_path, namespaceUser, NameStr, NIL, ObjectIdGetDatum, OidIsValid, overrideStack, pfree(), pg_namespace_aclcheck(), pstrdup(), ReleaseSysCache(), rolname, SearchSysCache1(), SplitIdentifierString(), and TopMemoryContext.
Referenced by CollationGetCollid(), CollationIsVisible(), ConversionGetConid(), ConversionIsVisible(), fetch_search_path(), fetch_search_path_array(), FindDefaultConversionProc(), FuncnameGetCandidates(), FunctionIsVisible(), get_collation_oid(), get_conversion_oid(), get_statistics_object_oid(), get_ts_config_oid(), get_ts_dict_oid(), get_ts_parser_oid(), get_ts_template_oid(), GetOverrideSearchPath(), OpclassIsVisible(), OpclassnameGetOpcid(), OperatorIsVisible(), OpernameGetCandidates(), OpernameGetOprid(), OpfamilyIsVisible(), OpfamilynameGetOpfid(), OverrideSearchPathMatchesCurrent(), QualifiedNameGetCreationNamespace(), RangeVarGetCreationNamespace(), RelationIsVisible(), RelnameGetRelid(), StatisticsObjIsVisible(), TSConfigIsVisible(), TSDictionaryIsVisible(), TSParserIsVisible(), TSTemplateIsVisible(), TypeIsVisible(), and TypenameGetTypidExtended().
Definition at line 710 of file namespace.c.
References activeSearchPath, elog, ERROR, get_relname_relid(), GETSTRUCT, HeapTupleIsValid, lfirst_oid, list_member_oid(), NameStr, ObjectIdGetDatum, OidIsValid, recomputeNamespacePath(), ReleaseSysCache(), relname, RELOID, and SearchSysCache1().
Referenced by generate_relation_name(), getRelationDescription(), pg_table_is_visible(), and regclassout().
Oid RelnameGetRelid | ( | const char * | relname | ) |
Definition at line 682 of file namespace.c.
References activeSearchPath, get_relname_relid(), InvalidOid, lfirst_oid, OidIsValid, recomputeNamespacePath(), and relname.
Referenced by plpgsql_parse_cwordtype(), plpgsql_parse_wordrowtype(), and RangeVarGetRelidExtended().
|
static |
Definition at line 4263 of file namespace.c.
References ObjectAddress::classId, DROP_CASCADE, PERFORM_DELETION_INTERNAL, PERFORM_DELETION_QUIETLY, PERFORM_DELETION_SKIP_EXTENSIONS, PERFORM_DELETION_SKIP_ORIGINAL, and performDeletion().
Referenced by InitTempTableNamespace(), RemoveTempRelationsCallback(), and ResetTempTableNamespace().
|
static |
Definition at line 4289 of file namespace.c.
References AbortOutOfAnyTransaction(), CommitTransactionCommand(), GetTransactionSnapshot(), myTempNamespace, OidIsValid, PopActiveSnapshot(), PushActiveSnapshot(), RemoveTempRelations(), and StartTransactionCommand().
Referenced by AtEOXact_Namespace().
void ResetTempTableNamespace | ( | void | ) |
Definition at line 4309 of file namespace.c.
References myTempNamespace, OidIsValid, and RemoveTempRelations().
Referenced by DiscardAll(), and DiscardCommand().
Definition at line 3375 of file namespace.c.
References Assert(), baseSearchPathValid, InvalidOid, InvalidSubTransactionId, myTempNamespace, myTempNamespaceSubID, and myTempToastNamespace.
Referenced by ParallelWorkerMain().
Definition at line 2281 of file namespace.c.
References activeSearchPath, elog, ERROR, GETSTRUCT, HeapTupleIsValid, lfirst_oid, list_member_oid(), NameStr, ObjectIdGetDatum, PointerGetDatum, recomputeNamespacePath(), ReleaseSysCache(), SearchSysCache1(), SearchSysCacheExists2, STATEXTNAMENSP, and STATEXTOID.
Referenced by getObjectDescription(), and pg_statistics_obj_is_visible().
Definition at line 2783 of file namespace.c.
References activeSearchPath, elog, ERROR, GETSTRUCT, HeapTupleIsValid, lfirst_oid, list_member_oid(), myTempNamespace, name, NameStr, ObjectIdGetDatum, PointerGetDatum, recomputeNamespacePath(), ReleaseSysCache(), SearchSysCache1(), SearchSysCacheExists2, TSCONFIGNAMENSP, and TSCONFIGOID.
Referenced by getObjectDescription(), pg_ts_config_is_visible(), and regconfigout().
Definition at line 2530 of file namespace.c.
References activeSearchPath, elog, ERROR, GETSTRUCT, HeapTupleIsValid, lfirst_oid, list_member_oid(), myTempNamespace, name, NameStr, ObjectIdGetDatum, PointerGetDatum, recomputeNamespacePath(), ReleaseSysCache(), SearchSysCache1(), SearchSysCacheExists2, TSDICTNAMENSP, and TSDICTOID.
Referenced by getObjectDescription(), pg_ts_dict_is_visible(), and regdictionaryout().
Definition at line 2404 of file namespace.c.
References activeSearchPath, elog, ERROR, GETSTRUCT, HeapTupleIsValid, lfirst_oid, list_member_oid(), myTempNamespace, name, NameStr, ObjectIdGetDatum, PointerGetDatum, recomputeNamespacePath(), ReleaseSysCache(), SearchSysCache1(), SearchSysCacheExists2, TSPARSERNAMENSP, and TSPARSEROID.
Referenced by getObjectDescription(), and pg_ts_parser_is_visible().
Definition at line 2657 of file namespace.c.
References activeSearchPath, elog, ERROR, GETSTRUCT, HeapTupleIsValid, lfirst_oid, list_member_oid(), myTempNamespace, name, NameStr, ObjectIdGetDatum, PointerGetDatum, recomputeNamespacePath(), ReleaseSysCache(), SearchSysCache1(), SearchSysCacheExists2, TSTEMPLATENAMENSP, and TSTEMPLATEOID.
Referenced by getObjectDescription(), and pg_ts_template_is_visible().
Definition at line 818 of file namespace.c.
References activeSearchPath, elog, ERROR, GETSTRUCT, HeapTupleIsValid, lfirst_oid, list_member_oid(), NameStr, ObjectIdGetDatum, PointerGetDatum, recomputeNamespacePath(), ReleaseSysCache(), SearchSysCache1(), SearchSysCacheExists2, TYPENAMENSP, TYPEOID, and typname.
Referenced by format_type_extended(), and pg_type_is_visible().
Oid TypenameGetTypid | ( | const char * | typname | ) |
Definition at line 773 of file namespace.c.
References TypenameGetTypidExtended(), and typname.
Definition at line 786 of file namespace.c.
References activeSearchPath, GetSysCacheOid2, InvalidOid, lfirst_oid, myTempNamespace, ObjectIdGetDatum, OidIsValid, PointerGetDatum, recomputeNamespacePath(), TYPENAMENSP, and typname.
Referenced by LookupTypeNameExtended(), and TypenameGetTypid().
|
static |
Definition at line 142 of file namespace.c.
Referenced by AtEOSubXact_Namespace(), AtEOXact_Namespace(), fetch_search_path(), GetOverrideSearchPath(), InitializeSearchPath(), OverrideSearchPathMatchesCurrent(), PopOverrideSearchPath(), PushOverrideSearchPath(), QualifiedNameGetCreationNamespace(), RangeVarGetCreationNamespace(), and recomputeNamespacePath().
|
static |
Definition at line 148 of file namespace.c.
Referenced by AtEOSubXact_Namespace(), AtEOXact_Namespace(), GetOverrideSearchPath(), InitializeSearchPath(), OverrideSearchPathMatchesCurrent(), PopOverrideSearchPath(), PushOverrideSearchPath(), and recomputeNamespacePath().
Definition at line 139 of file namespace.c.
Referenced by AtEOSubXact_Namespace(), AtEOXact_Namespace(), CollationGetCollid(), CollationIsVisible(), ConversionGetConid(), ConversionIsVisible(), fetch_search_path(), fetch_search_path_array(), FindDefaultConversionProc(), FuncnameGetCandidates(), FunctionIsVisible(), get_collation_oid(), get_conversion_oid(), get_statistics_object_oid(), get_ts_config_oid(), get_ts_dict_oid(), get_ts_parser_oid(), get_ts_template_oid(), GetOverrideSearchPath(), InitializeSearchPath(), OpclassIsVisible(), OpclassnameGetOpcid(), OperatorIsVisible(), OpernameGetCandidates(), OpernameGetOprid(), OpfamilyIsVisible(), OpfamilynameGetOpfid(), OverrideSearchPathMatchesCurrent(), PopOverrideSearchPath(), PushOverrideSearchPath(), recomputeNamespacePath(), RelationIsVisible(), RelnameGetRelid(), StatisticsObjIsVisible(), TSConfigIsVisible(), TSDictionaryIsVisible(), TSParserIsVisible(), TSTemplateIsVisible(), TypeIsVisible(), and TypenameGetTypidExtended().
Definition at line 145 of file namespace.c.
Referenced by AtEOSubXact_Namespace(), AtEOXact_Namespace(), fetch_search_path(), InitializeSearchPath(), PopOverrideSearchPath(), PushOverrideSearchPath(), QualifiedNameGetCreationNamespace(), RangeVarGetCreationNamespace(), and recomputeNamespacePath().
|
static |
Definition at line 154 of file namespace.c.
Referenced by AtEOSubXact_Namespace(), AtEOXact_Namespace(), InitializeSearchPath(), PopOverrideSearchPath(), and recomputeNamespacePath().
Definition at line 152 of file namespace.c.
Referenced by AtEOSubXact_Namespace(), AtEOXact_Namespace(), InitializeSearchPath(), PopOverrideSearchPath(), and recomputeNamespacePath().
Definition at line 161 of file namespace.c.
Referenced by assign_search_path(), AtEOSubXact_Namespace(), AtEOXact_Namespace(), InitializeSearchPath(), InitTempTableNamespace(), NamespaceCallback(), recomputeNamespacePath(), and SetTempNamespaceState().
Definition at line 156 of file namespace.c.
Referenced by AtEOSubXact_Namespace(), AtEOXact_Namespace(), InitializeSearchPath(), PopOverrideSearchPath(), and recomputeNamespacePath().
|
static |
Definition at line 189 of file namespace.c.
Referenced by AccessTempTableNamespace(), AtEOSubXact_Namespace(), AtEOXact_Namespace(), CollationGetCollid(), ConversionGetConid(), fetch_search_path_array(), FindDefaultConversionProc(), FuncnameGetCandidates(), get_collation_oid(), get_conversion_oid(), get_statistics_object_oid(), get_ts_config_oid(), get_ts_dict_oid(), get_ts_parser_oid(), get_ts_template_oid(), GetOverrideSearchPath(), GetTempNamespaceState(), InitTempTableNamespace(), isTempNamespace(), isTempOrTempToastNamespace(), LookupCreationNamespace(), LookupExplicitNamespace(), LookupNamespaceNoError(), OpclassnameGetOpcid(), OpernameGetCandidates(), OpernameGetOprid(), OpfamilynameGetOpfid(), OverrideSearchPathMatchesCurrent(), pg_my_temp_schema(), PushOverrideSearchPath(), QualifiedNameGetCreationNamespace(), RangeVarGetCreationNamespace(), RangeVarGetRelidExtended(), recomputeNamespacePath(), RemoveTempRelationsCallback(), ResetTempTableNamespace(), SetTempNamespaceState(), TSConfigIsVisible(), TSDictionaryIsVisible(), TSParserIsVisible(), TSTemplateIsVisible(), and TypenameGetTypidExtended().
|
static |
Definition at line 193 of file namespace.c.
Referenced by AtEOSubXact_Namespace(), AtEOXact_Namespace(), InitTempTableNamespace(), and SetTempNamespaceState().
|
static |
Definition at line 191 of file namespace.c.
Referenced by AtEOSubXact_Namespace(), AtEOXact_Namespace(), GetTempNamespaceState(), GetTempToastNamespace(), InitTempTableNamespace(), isTempOrTempToastNamespace(), isTempToastNamespace(), and SetTempNamespaceState().
char* namespace_search_path = NULL |
Definition at line 199 of file namespace.c.
Referenced by recomputeNamespacePath().
|
static |
Definition at line 158 of file namespace.c.
Referenced by InitializeSearchPath(), and recomputeNamespacePath().
Definition at line 172 of file namespace.c.
Referenced by AtEOSubXact_Namespace(), AtEOXact_Namespace(), PopOverrideSearchPath(), PushOverrideSearchPath(), and recomputeNamespacePath().