|
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/namespace.h"#include "catalog/objectaccess.h"#include "catalog/pg_authid.h"#include "catalog/pg_collation.h"#include "catalog/pg_conversion.h"#include "catalog/pg_database.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 "common/hashfn_unstable.h"#include "funcapi.h"#include "mb/pg_wchar.h"#include "miscadmin.h"#include "nodes/makefuncs.h"#include "storage/ipc.h"#include "storage/lmgr.h"#include "storage/proc.h"#include "storage/procarray.h"#include "utils/acl.h"#include "utils/builtins.h"#include "utils/catcache.h"#include "utils/guc_hooks.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"#include "lib/simplehash.h"
Go to the source code of this file.
Data Structures | |
| struct | SearchPathCacheKey |
| struct | SearchPathCacheEntry |
Macros | |
| #define | SH_PREFIX nsphash |
| #define | SH_ELEMENT_TYPE SearchPathCacheEntry |
| #define | SH_KEY_TYPE SearchPathCacheKey |
| #define | SH_KEY key |
| #define | SH_HASH_KEY(tb, key) spcachekey_hash(key) |
| #define | SH_EQUAL(tb, a, b) spcachekey_equal(a, b) |
| #define | SH_SCOPE static inline |
| #define | SH_DECLARE |
| #define | SH_DEFINE |
| #define | SPCACHE_RESET_THRESHOLD 256 |
| #define | SPACE_PER_OP |
Typedefs | |
| typedef struct SearchPathCacheKey | SearchPathCacheKey |
| typedef struct SearchPathCacheEntry | SearchPathCacheEntry |
| #define SH_DECLARE |
Definition at line 288 of file namespace.c.
| #define SH_DEFINE |
Definition at line 289 of file namespace.c.
| #define SH_ELEMENT_TYPE SearchPathCacheEntry |
Definition at line 282 of file namespace.c.
Definition at line 286 of file namespace.c.
| #define SH_HASH_KEY | ( | tb, | |
| key | |||
| ) | spcachekey_hash(key) |
Definition at line 285 of file namespace.c.
| #define SH_KEY key |
Definition at line 284 of file namespace.c.
| #define SH_KEY_TYPE SearchPathCacheKey |
Definition at line 283 of file namespace.c.
Definition at line 281 of file namespace.c.
Definition at line 287 of file namespace.c.
| #define SPACE_PER_OP |
| #define SPCACHE_RESET_THRESHOLD 256 |
Definition at line 298 of file namespace.c.
Definition at line 4434 of file namespace.c.
References InitTempTableNamespace(), myTempNamespace, MyXactFlags, OidIsValid, and XACT_FLAGS_ACCESSEDTEMPNAMESPACE.
Referenced by fetch_search_path(), LookupCreationNamespace(), QualifiedNameGetCreationNamespace(), and RangeVarGetCreationNamespace().
Definition at line 4785 of file namespace.c.
References Assert, baseSearchPathValid, and IsBootstrapProcessingMode.
| void AtEOSubXact_Namespace | ( | bool | isCommit, |
| SubTransactionId | mySubid, | ||
| SubTransactionId | parentSubid | ||
| ) |
Definition at line 4630 of file namespace.c.
References baseSearchPathValid, fb(), InvalidOid, InvalidSubTransactionId, MyProc, myTempNamespace, myTempNamespaceSubID, myTempToastNamespace, searchPathCacheValid, and PGPROC::tempNamespaceId.
Referenced by AbortSubTransaction(), and CommitSubTransaction().
Definition at line 4584 of file namespace.c.
References baseSearchPathValid, before_shmem_exit(), fb(), InvalidOid, InvalidSubTransactionId, MyProc, myTempNamespace, myTempNamespaceSubID, myTempToastNamespace, RemoveTempRelationsCallback(), searchPathCacheValid, and PGPROC::tempNamespaceId.
Referenced by AbortTransaction(), CommitTransaction(), and PrepareTransaction().
|
static |
Definition at line 4316 of file namespace.c.
References fb(), finalNamespacePath(), SearchPathCacheEntry::finalPath, SearchPathCacheEntry::firstNS, SearchPathCacheEntry::forceRecompute, list_free(), MemoryContextSwitchTo(), NIL, object_access_hook, SearchPathCacheEntry::oidlist, preprocessNamespacePath(), SearchPathCacheContext, spcache_init(), spcache_insert(), SearchPathCacheEntry::temp_missing, and true.
Referenced by recomputeNamespacePath().
Definition at line 4729 of file namespace.c.
References fb(), GetUserId(), GUC_check_errdetail, InvalidOid, list_free(), newval, pfree(), pstrdup(), SearchPathCacheContext, spcache_init(), spcache_insert(), spcache_lookup(), and SplitIdentifierString().
Definition at line 3531 of file namespace.c.
References ereport, errcode(), errmsg(), ERROR, fb(), and isAnyTempNamespace().
Referenced by AlterObjectNamespace_internal(), AlterTableNamespace(), and AlterTypeNamespaceInternal().
| TempNamespaceStatus checkTempNamespaceStatus | ( | Oid | namespaceId | ) |
Definition at line 3801 of file namespace.c.
References Assert, PGPROC::databaseId, fb(), GetTempNamespaceProcNumber(), INVALID_PROC_NUMBER, MyDatabaseId, OidIsValid, ProcNumberGetProc(), TEMP_NAMESPACE_IDLE, TEMP_NAMESPACE_IN_USE, TEMP_NAMESPACE_NOT_TEMP, and PGPROC::tempNamespaceId.
Referenced by do_autovacuum().
Definition at line 2442 of file namespace.c.
References activeSearchPath, collid, fb(), GetDatabaseEncoding(), InvalidOid, lfirst_oid, lookup_collation(), myTempNamespace, OidIsValid, and recomputeNamespacePath().
Referenced by CollationIsVisibleExt().
Definition at line 2476 of file namespace.c.
References CollationIsVisibleExt(), collid, and fb().
Referenced by generate_collation_name(), getObjectDescription(), and regcollationout().
Definition at line 2488 of file namespace.c.
References activeSearchPath, CollationGetCollid(), collid, elog, ERROR, fb(), Form_pg_collation, GETSTRUCT(), HeapTupleIsValid, list_member_oid(), NameStr, ObjectIdGetDatum(), recomputeNamespacePath(), ReleaseSysCache(), and SearchSysCache1().
Referenced by CollationIsVisible(), and pg_collation_is_visible().
Definition at line 2546 of file namespace.c.
References activeSearchPath, fb(), GetSysCacheOid2, InvalidOid, lfirst_oid, myTempNamespace, ObjectIdGetDatum(), OidIsValid, PointerGetDatum(), and recomputeNamespacePath().
Referenced by ConversionIsVisibleExt().
Definition at line 2578 of file namespace.c.
References ConversionIsVisibleExt(), and fb().
Referenced by getObjectDescription().
Definition at line 2590 of file namespace.c.
References activeSearchPath, ConversionGetConid(), elog, ERROR, fb(), Form_pg_conversion, GETSTRUCT(), HeapTupleIsValid, list_member_oid(), NameStr, ObjectIdGetDatum(), recomputeNamespacePath(), ReleaseSysCache(), and SearchSysCache1().
Referenced by ConversionIsVisible(), and pg_conversion_is_visible().
| SearchPathMatcher * CopySearchPathMatcher | ( | SearchPathMatcher * | path | ) |
Definition at line 3961 of file namespace.c.
References SearchPathMatcher::addCatalog, SearchPathMatcher::addTemp, SearchPathMatcher::generation, list_copy(), palloc_object, and SearchPathMatcher::schemas.
Referenced by CopyCachedPlan().
Definition at line 3373 of file namespace.c.
References ereport, errcode(), errmsg(), ERROR, fb(), 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 4891 of file namespace.c.
References AccessTempTableNamespace(), activeCreationNamespace, activeSearchPath, activeTempCreationPending, fb(), linitial_oid, list_copy(), list_delete_first(), and recomputeNamespacePath().
Referenced by AfterTriggerSetState(), CreateExtensionInternal(), current_schema(), current_schemas(), and ObjectsInPublicationToOids().
Definition at line 4931 of file namespace.c.
References activeSearchPath, fb(), lfirst_oid, myTempNamespace, and recomputeNamespacePath().
Referenced by make_oper_cache_key().
Definition at line 4270 of file namespace.c.
References fb(), InvalidOid, InvokeNamespaceSearchHook, lappend_oid(), lcons_oid(), lfirst_oid, linitial_oid, list_member_oid(), myTempNamespace, NIL, and OidIsValid.
Referenced by cachedNamespacePath().
Definition at line 4152 of file namespace.c.
References activeSearchPath, fb(), 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, | ||
| int * | fgc_flags | ||
| ) |
Definition at line 1199 of file namespace.c.
References activeSearchPath, ARR_DATA_PTR, ARR_DIMS, ARR_ELEMTYPE, ARR_HASNULL, ARR_NDIM, Assert, CStringGetDatum(), DatumGetArrayTypeP, DeconstructQualifiedName(), elog, ERROR, fb(), FGC_ARGCOUNT_MATCH, FGC_ARGNAMES_VALID, FGC_NAME_EXISTS, FGC_NAME_VISIBLE, FGC_SCHEMA_EXISTS, FGC_SCHEMA_GIVEN, Form_pg_proc, funcname, GETSTRUCT(), i, InvalidOid, j, lfirst_oid, LookupExplicitNamespace(), MatchNamedCall(), Max, myTempNamespace, _FuncCandidateList::nargs, _FuncCandidateList::next, NIL, OidIsValid, palloc(), pfree(), pronargs, recomputeNamespacePath(), ReleaseSysCacheList, SearchSysCacheList1, and SysCacheGetAttr().
Referenced by func_get_detail(), FunctionIsVisibleExt(), LookupFuncNameInternal(), regprocedurein(), regprocin(), and regprocout().
Definition at line 1743 of file namespace.c.
References fb(), and FunctionIsVisibleExt().
Referenced by format_procedure_extended().
Definition at line 1755 of file namespace.c.
References activeSearchPath, elog, ERROR, fb(), Form_pg_proc, FuncnameGetCandidates(), GETSTRUCT(), HeapTupleIsValid, list_make1, list_member_oid(), makeString(), NameStr, NIL, ObjectIdGetDatum(), proname, recomputeNamespacePath(), ReleaseSysCache(), and SearchSysCache1().
Referenced by FunctionIsVisible(), and pg_function_is_visible().
Definition at line 4043 of file namespace.c.
References activeSearchPath, DeconstructQualifiedName(), ereport, errcode(), errmsg(), ERROR, fb(), GetDatabaseEncoding(), GetDatabaseEncodingName(), InvalidOid, lfirst_oid, lookup_collation(), LookupExplicitNamespace(), myTempNamespace, NameListToString(), OidIsValid, and recomputeNamespacePath().
Referenced by AlterCollation(), ComputeIndexAttrs(), ComputePartitionAttrs(), DefineCollation(), DefineDomain(), DefineRange(), get_object_address(), LookupCollation(), and regcollationin().
Definition at line 4097 of file namespace.c.
References activeSearchPath, DeconstructQualifiedName(), ereport, errcode(), errmsg(), ERROR, fb(), GetSysCacheOid2, InvalidOid, lfirst_oid, LookupExplicitNamespace(), myTempNamespace, NameListToString(), ObjectIdGetDatum(), OidIsValid, PointerGetDatum(), and recomputeNamespacePath().
Referenced by get_object_address().
Definition at line 3607 of file namespace.c.
References CStringGetDatum(), ereport, errcode(), errmsg(), ERROR, fb(), GetSysCacheOid1, and OidIsValid.
Referenced by binary_upgrade_create_empty_extension(), convert_schema_name(), CreateExtensionInternal(), CreateSchemaCommand(), extended_statistics_update(), get_object_address_defacl(), get_object_address_publication_schema(), get_object_address_unqualified(), InitTempTableNamespace(), LookupCreationNamespace(), LookupExplicitNamespace(), LookupNamespaceNoError(), ObjectsInPublicationToOids(), pg_clear_extended_stats(), preprocessNamespacePath(), QualifiedNameGetCreationNamespace(), RangeVarGetCreationNamespace(), regnamespacein(), ReindexMultipleTables(), RenameSchema(), and SetDefaultACLsInSchemas().
Definition at line 2644 of file namespace.c.
References activeSearchPath, DeconstructQualifiedName(), ereport, errcode(), errmsg(), ERROR, fb(), GetSysCacheOid2, InvalidOid, lfirst_oid, LookupExplicitNamespace(), myTempNamespace, NameListToString(), ObjectIdGetDatum(), OidIsValid, PointerGetDatum(), and recomputeNamespacePath().
Referenced by AlterStatistics(), and get_object_address().
Definition at line 3224 of file namespace.c.
References activeSearchPath, DeconstructQualifiedName(), ereport, errcode(), errmsg(), ERROR, fb(), GetSysCacheOid2, InvalidOid, lfirst_oid, LookupExplicitNamespace(), myTempNamespace, NameListToString(), ObjectIdGetDatum(), OidIsValid, PointerGetDatum(), and recomputeNamespacePath().
Referenced by check_default_text_search_config(), DefineTSConfiguration(), get_object_address(), GetTSConfigTuple(), getTSCurrentConfig(), regconfigin(), and tsvector_update_trigger().
Definition at line 2933 of file namespace.c.
References activeSearchPath, DeconstructQualifiedName(), ereport, errcode(), errmsg(), ERROR, fb(), GetSysCacheOid2, InvalidOid, lfirst_oid, LookupExplicitNamespace(), myTempNamespace, NameListToString(), ObjectIdGetDatum(), OidIsValid, PointerGetDatum(), and recomputeNamespacePath().
Referenced by AlterTSDictionary(), get_object_address(), MakeConfigurationMapping(), regdictionaryin(), and thesaurus_init().
Definition at line 2788 of file namespace.c.
References activeSearchPath, DeconstructQualifiedName(), ereport, errcode(), errmsg(), ERROR, fb(), GetSysCacheOid2, InvalidOid, lfirst_oid, LookupExplicitNamespace(), myTempNamespace, NameListToString(), ObjectIdGetDatum(), OidIsValid, PointerGetDatum(), and recomputeNamespacePath().
Referenced by DefineTSConfiguration(), get_object_address(), ts_parse_byname(), and ts_token_type_byname().
Definition at line 3079 of file namespace.c.
References activeSearchPath, DeconstructQualifiedName(), ereport, errcode(), errmsg(), ERROR, fb(), GetSysCacheOid2, InvalidOid, lfirst_oid, LookupExplicitNamespace(), myTempNamespace, NameListToString(), ObjectIdGetDatum(), OidIsValid, PointerGetDatum(), and recomputeNamespacePath().
Referenced by DefineTSDictionary(), and get_object_address().
| SearchPathMatcher * GetSearchPathMatcher | ( | MemoryContext | context | ) |
Definition at line 3924 of file namespace.c.
References activeCreationNamespace, activePathGeneration, activeSearchPath, SearchPathMatcher::addCatalog, SearchPathMatcher::addTemp, Assert, fb(), SearchPathMatcher::generation, linitial_oid, list_copy(), list_delete_first(), MemoryContextSwitchTo(), myTempNamespace, palloc0_object, recomputeNamespacePath(), and SearchPathMatcher::schemas.
Referenced by CompleteCachedPlan(), and RevalidateCachedQuery().
| ProcNumber GetTempNamespaceProcNumber | ( | Oid | namespaceId | ) |
Definition at line 3838 of file namespace.c.
References fb(), get_namespace_name(), INVALID_PROC_NUMBER, and pfree().
Referenced by checkTempNamespaceStatus(), pg_relation_filepath(), and RelationBuildDesc().
Definition at line 3877 of file namespace.c.
References fb(), myTempNamespace, and myTempToastNamespace.
Referenced by InitializeParallelDSM().
Definition at line 3863 of file namespace.c.
References Assert, myTempToastNamespace, and OidIsValid.
Referenced by create_toast_table().
Definition at line 4808 of file namespace.c.
References activeCreationNamespace, activePathGeneration, activeSearchPath, activeTempCreationPending, baseCreationNamespace, baseSearchPath, baseSearchPathValid, baseTempCreationPending, CacheRegisterSyscacheCallback(), fb(), GetUserId(), InvalidationCallback(), IsBootstrapProcessingMode, list_make1_oid, MemoryContextSwitchTo(), namespaceUser, searchPathCacheValid, and TopMemoryContext.
Referenced by InitPostgres().
Definition at line 4462 of file namespace.c.
References ACL_CREATE_TEMP, ACLCHECK_OK, Assert, baseSearchPathValid, CommandCounterIncrement(), ereport, errcode(), errmsg(), ERROR, fb(), get_database_name(), get_namespace_oid(), GetCurrentSubTransactionId(), GetUserId(), InvalidSubTransactionId, IsParallelWorker, MyDatabaseId, MyProc, MyProcNumber, myTempNamespace, myTempNamespaceSubID, myTempToastNamespace, NAMEDATALEN, NamespaceCreate(), object_aclcheck(), OidIsValid, RecoveryInProgress(), RemoveTempRelations(), searchPathCacheValid, snprintf, and PGPROC::tempNamespaceId.
Referenced by AccessTempTableNamespace().
|
static |
Definition at line 4868 of file namespace.c.
References baseSearchPathValid, and searchPathCacheValid.
Referenced by InitializeSearchPath().
Definition at line 3759 of file namespace.c.
References fb(), get_namespace_name(), and pfree().
Referenced by AlterTableMoveAll(), check_publication_add_schema(), CheckSetNamespace(), EventTriggerSQLDropAddObject(), find_temp_object(), isOtherTempNamespace(), obtain_object_name_namespace(), and RangeVarAdjustRelationPersistence().
Definition at line 3782 of file namespace.c.
References fb(), isAnyTempNamespace(), and isTempOrTempToastNamespace().
Referenced by pg_is_other_temp_schema().
Definition at line 3721 of file namespace.c.
References fb(), myTempNamespace, and OidIsValid.
Referenced by CreateExtensionInternal(), EventTriggerSQLDropAddObject(), ExecCheckXactReadOnly(), find_temp_object(), get_namespace_name_or_temp(), obtain_object_name_namespace(), pg_namespace_aclmask_ext(), ProcedureCreate(), ReindexMultipleTables(), and RemoveObjects().
Definition at line 3745 of file namespace.c.
References fb(), myTempNamespace, myTempToastNamespace, and OidIsValid.
Referenced by create_toast_table(), isOtherTempNamespace(), pg_relation_filepath(), RangeVarAdjustRelationPersistence(), RelationBuildDesc(), and RelationBuildLocalRelation().
Definition at line 3733 of file namespace.c.
References fb(), myTempToastNamespace, and OidIsValid.
Referenced by IsToastNamespace().
Definition at line 2391 of file namespace.c.
References collid, encoding, fb(), Form_pg_collation, GETSTRUCT(), GetSysCacheOid3, HeapTupleIsValid, Int32GetDatum(), InvalidOid, is_encoding_supported_by_icu(), ObjectIdGetDatum(), OidIsValid, PointerGetDatum(), ReleaseSysCache(), and SearchSysCache3().
Referenced by CollationGetCollid(), and get_collation_oid().
Definition at line 3500 of file namespace.c.
References AccessTempTableNamespace(), ACL_CREATE, aclcheck_error(), ACLCHECK_OK, fb(), get_namespace_oid(), GetUserId(), myTempNamespace, object_aclcheck(), and OBJECT_SCHEMA.
Referenced by AlterExtensionNamespace(), AlterTypeNamespace(), ExecAlterObjectSchemaStmt(), ImportForeignSchema(), and make_new_heap().
Definition at line 3457 of file namespace.c.
References ACL_USAGE, aclcheck_error(), ACLCHECK_OK, fb(), get_namespace_oid(), GetUserId(), InvalidOid, InvokeNamespaceSearchHook, myTempNamespace, object_aclcheck(), OBJECT_SCHEMA, and OidIsValid.
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().
Definition at line 3427 of file namespace.c.
References fb(), get_namespace_oid(), InvalidOid, InvokeNamespaceSearchHook, myTempNamespace, and OidIsValid.
Referenced by DropErrorMsgNonExistent(), refnameNamespaceItem(), and schema_does_not_exist_skipping().
Definition at line 3626 of file namespace.c.
References RangeVar::catalogname, ereport, errcode(), errmsg(), ERROR, fb(), linitial, list_length(), lsecond, lthird, makeRangeVar(), NameListToString(), RangeVar::relname, RangeVar::schemaname, and strVal.
Referenced by bt_metap(), bt_multi_page_stats(), 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(), plpgsql_parse_cwordrowtype(), plpgsql_parse_cwordtype(), process_owned_by(), regclassin(), RelationNameGetTupleDesc(), RemoveRelations(), row_security_active_name(), schema_does_not_exist_skipping(), and text_regclass().
|
static |
Definition at line 1618 of file namespace.c.
References Assert, fb(), FGC_ARGNAMES_ALL, FGC_ARGNAMES_MATCH, FGC_ARGNAMES_NONDUP, Form_pg_proc, FUNC_MAX_ARGS, FUNC_PARAM_IN, FUNC_PARAM_INOUT, FUNC_PARAM_VARIADIC, get_func_arg_info(), GETSTRUCT(), i, lfirst, list_length(), NIL, palloc(), pronargs, and SysCacheGetAttr().
Referenced by FuncnameGetCandidates().
Definition at line 3700 of file namespace.c.
References appendStringInfoChar(), appendStringInfoString(), initStringInfo(), lfirst, list_head(), quote_identifier(), and strVal.
Definition at line 3666 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(), regclassin(), regcollationin(), regconfigin(), regdictionaryin(), RemoveObjects(), ResolveOpClass(), storeOperators(), storeProcedures(), transformColumnRef(), transformRangeTableSample(), ValidateJoinEstimator(), ValidateOperatorReference(), and ValidateRestrictionEstimator().
Definition at line 2223 of file namespace.c.
References fb(), and OpclassIsVisibleExt().
Referenced by get_opclass_name(), and getObjectDescription().
Definition at line 2235 of file namespace.c.
References activeSearchPath, elog, ERROR, fb(), Form_pg_opclass, GETSTRUCT(), HeapTupleIsValid, list_member_oid(), NameStr, ObjectIdGetDatum(), OpclassnameGetOpcid(), recomputeNamespacePath(), ReleaseSysCache(), and SearchSysCache1().
Referenced by OpclassIsVisible(), and pg_opclass_is_visible().
Definition at line 2190 of file namespace.c.
References activeSearchPath, fb(), GetSysCacheOid3, InvalidOid, lfirst_oid, myTempNamespace, ObjectIdGetDatum(), OidIsValid, PointerGetDatum(), and recomputeNamespacePath().
Referenced by OpClassCacheLookup(), OpclassIsVisibleExt(), and ResolveOpClass().
Definition at line 2118 of file namespace.c.
References fb(), OperatorIsVisibleExt(), and oprid().
Referenced by format_operator_extended().
Definition at line 2130 of file namespace.c.
References activeSearchPath, elog, ERROR, fb(), Form_pg_operator, GETSTRUCT(), HeapTupleIsValid, list_make1, list_member_oid(), makeString(), NameStr, ObjectIdGetDatum(), OpernameGetOprid(), oprid(), recomputeNamespacePath(), ReleaseSysCache(), and SearchSysCache1().
Referenced by OperatorIsVisible(), and pg_operator_is_visible().
| FuncCandidateList OpernameGetCandidates | ( | List * | names, |
| char | oprkind, | ||
| bool | missing_schema_ok, | ||
| int * | fgc_flags | ||
| ) |
Definition at line 1947 of file namespace.c.
References activeSearchPath, Assert, CStringGetDatum(), DeconstructQualifiedName(), fb(), FGC_NAME_EXISTS, FGC_NAME_VISIBLE, FGC_SCHEMA_EXISTS, FGC_SCHEMA_GIVEN, Form_pg_operator, GETSTRUCT(), i, InvalidOid, lfirst_oid, LookupExplicitNamespace(), myTempNamespace, OidIsValid, palloc(), recomputeNamespacePath(), ReleaseSysCacheList, SearchSysCacheList1, and SPACE_PER_OP.
Referenced by left_oper(), oper(), regoperin(), and regoperout().
Definition at line 1834 of file namespace.c.
References activeSearchPath, CStringGetDatum(), DeconstructQualifiedName(), fb(), Form_pg_operator, GETSTRUCT(), HeapTupleIsValid, i, InvalidOid, lfirst_oid, LookupExplicitNamespace(), myTempNamespace, ObjectIdGetDatum(), OidIsValid, recomputeNamespacePath(), ReleaseSysCache(), ReleaseSysCacheList, SearchSysCache4(), and SearchSysCacheList3.
Referenced by binary_oper_exact(), left_oper(), LookupOperName(), OperatorIsVisibleExt(), and regoperatorin().
Definition at line 2325 of file namespace.c.
References fb(), and OpfamilyIsVisibleExt().
Referenced by getOpFamilyDescription().
Definition at line 2337 of file namespace.c.
References activeSearchPath, elog, ERROR, fb(), Form_pg_opfamily, GETSTRUCT(), HeapTupleIsValid, list_member_oid(), NameStr, ObjectIdGetDatum(), OpfamilynameGetOpfid(), recomputeNamespacePath(), ReleaseSysCache(), and SearchSysCache1().
Referenced by OpfamilyIsVisible(), and pg_opfamily_is_visible().
Definition at line 2292 of file namespace.c.
References activeSearchPath, fb(), GetSysCacheOid3, InvalidOid, lfirst_oid, myTempNamespace, ObjectIdGetDatum(), OidIsValid, PointerGetDatum(), and recomputeNamespacePath().
Referenced by OpFamilyCacheLookup(), and OpfamilyIsVisibleExt().
| Datum pg_collation_is_visible | ( | PG_FUNCTION_ARGS | ) |
Definition at line 5050 of file namespace.c.
References CollationIsVisibleExt(), fb(), PG_GETARG_OID, PG_RETURN_BOOL, and PG_RETURN_NULL.
| Datum pg_conversion_is_visible | ( | PG_FUNCTION_ARGS | ) |
Definition at line 5064 of file namespace.c.
References ConversionIsVisibleExt(), fb(), PG_GETARG_OID, PG_RETURN_BOOL, and PG_RETURN_NULL.
| Datum pg_function_is_visible | ( | PG_FUNCTION_ARGS | ) |
Definition at line 4994 of file namespace.c.
References fb(), FunctionIsVisibleExt(), PG_GETARG_OID, PG_RETURN_BOOL, and PG_RETURN_NULL.
| Datum pg_is_other_temp_schema | ( | PG_FUNCTION_ARGS | ) |
Definition at line 5154 of file namespace.c.
References isOtherTempNamespace(), PG_GETARG_OID, and PG_RETURN_BOOL.
| Datum pg_my_temp_schema | ( | PG_FUNCTION_ARGS | ) |
Definition at line 5148 of file namespace.c.
References myTempNamespace, and PG_RETURN_OID.
| Datum pg_opclass_is_visible | ( | PG_FUNCTION_ARGS | ) |
Definition at line 5022 of file namespace.c.
References fb(), OpclassIsVisibleExt(), PG_GETARG_OID, PG_RETURN_BOOL, and PG_RETURN_NULL.
| Datum pg_operator_is_visible | ( | PG_FUNCTION_ARGS | ) |
Definition at line 5008 of file namespace.c.
References fb(), OperatorIsVisibleExt(), PG_GETARG_OID, PG_RETURN_BOOL, and PG_RETURN_NULL.
| Datum pg_opfamily_is_visible | ( | PG_FUNCTION_ARGS | ) |
Definition at line 5036 of file namespace.c.
References fb(), OpfamilyIsVisibleExt(), PG_GETARG_OID, PG_RETURN_BOOL, and PG_RETURN_NULL.
| Datum pg_statistics_obj_is_visible | ( | PG_FUNCTION_ARGS | ) |
Definition at line 5078 of file namespace.c.
References fb(), PG_GETARG_OID, PG_RETURN_BOOL, PG_RETURN_NULL, and StatisticsObjIsVisibleExt().
| Datum pg_table_is_visible | ( | PG_FUNCTION_ARGS | ) |
Definition at line 4966 of file namespace.c.
References fb(), PG_GETARG_OID, PG_RETURN_BOOL, PG_RETURN_NULL, and RelationIsVisibleExt().
| Datum pg_ts_config_is_visible | ( | PG_FUNCTION_ARGS | ) |
Definition at line 5134 of file namespace.c.
References fb(), PG_GETARG_OID, PG_RETURN_BOOL, PG_RETURN_NULL, and TSConfigIsVisibleExt().
| Datum pg_ts_dict_is_visible | ( | PG_FUNCTION_ARGS | ) |
Definition at line 5106 of file namespace.c.
References fb(), PG_GETARG_OID, PG_RETURN_BOOL, PG_RETURN_NULL, and TSDictionaryIsVisibleExt().
| Datum pg_ts_parser_is_visible | ( | PG_FUNCTION_ARGS | ) |
Definition at line 5092 of file namespace.c.
References fb(), PG_GETARG_OID, PG_RETURN_BOOL, PG_RETURN_NULL, and TSParserIsVisibleExt().
| Datum pg_ts_template_is_visible | ( | PG_FUNCTION_ARGS | ) |
Definition at line 5120 of file namespace.c.
References fb(), PG_GETARG_OID, PG_RETURN_BOOL, PG_RETURN_NULL, and TSTemplateIsVisibleExt().
| Datum pg_type_is_visible | ( | PG_FUNCTION_ARGS | ) |
Definition at line 4980 of file namespace.c.
References fb(), PG_GETARG_OID, PG_RETURN_BOOL, PG_RETURN_NULL, and TypeIsVisibleExt().
|
static |
Definition at line 4179 of file namespace.c.
References ACL_USAGE, ACLCHECK_OK, elog, ERROR, fb(), Form_pg_authid, get_namespace_oid(), GETSTRUCT(), HeapTupleIsValid, lappend_oid(), lfirst, list_free(), myTempNamespace, NameStr, NIL, object_aclcheck(), ObjectIdGetDatum(), OidIsValid, pfree(), pstrdup(), ReleaseSysCache(), rolname, SearchSysCache1(), and SplitIdentifierString().
Referenced by cachedNamespacePath().
Definition at line 3559 of file namespace.c.
References AccessTempTableNamespace(), activeCreationNamespace, activeTempCreationPending, DeconstructQualifiedName(), ereport, errcode(), errmsg(), ERROR, fb(), 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 847 of file namespace.c.
References ereport, errcode(), errmsg(), ERROR, fb(), isAnyTempNamespace(), isTempOrTempToastNamespace(), and nspid.
Referenced by DefineCompositeType(), generateSerialExtraStmts(), and RangeVarGetAndCheckCreationNamespace().
| Oid RangeVarGetAndCheckCreationNamespace | ( | RangeVar * | relation, |
| LOCKMODE | lockmode, | ||
| Oid * | existing_relation_id | ||
| ) |
Definition at line 740 of file namespace.c.
References AccessShareLock, ACL_CREATE, aclcheck_error(), ACLCHECK_NOT_OWNER, ACLCHECK_OK, Assert, RangeVar::catalogname, ereport, errcode(), errmsg(), ERROR, fb(), get_database_name(), get_namespace_name(), get_rel_relkind(), get_relkind_objtype(), get_relname_relid(), GetUserId(), InvalidOid, IsBootstrapProcessingMode, LockDatabaseObject(), LockRelationOid(), MyDatabaseId, NoLock, nspid, object_aclcheck(), object_ownercheck(), OBJECT_SCHEMA, OidIsValid, RangeVarAdjustRelationPersistence(), RangeVarGetCreationNamespace(), RangeVar::relname, RangeVar::schemaname, SharedInvalidMessageCounter, UnlockDatabaseObject(), and UnlockRelationOid().
Referenced by AlterTableNamespace(), ATExecMergePartitions(), ATExecSplitPartition(), createPartitionTable(), DefineCompositeType(), DefineRelation(), DefineSequence(), DefineVirtualRelation(), and transformCreateStmt().
Definition at line 655 of file namespace.c.
References AccessTempTableNamespace(), activeCreationNamespace, activeTempCreationPending, ereport, errcode(), errmsg(), ERROR, fb(), get_database_name(), get_namespace_oid(), MyDatabaseId, myTempNamespace, OidIsValid, and recomputeNamespacePath().
Referenced by CreateTableAsRelExists(), generateSerialExtraStmts(), RangeVarGetAndCheckCreationNamespace(), and transformPartitionCmdForSplit().
| Oid RangeVarGetRelidExtended | ( | const RangeVar * | relation, |
| LOCKMODE | lockmode, | ||
| uint32 | flags, | ||
| RangeVarGetRelidCallback | callback, | ||
| void * | callback_arg | ||
| ) |
Definition at line 442 of file namespace.c.
References AcceptInvalidationMessages(), Assert, callback(), RangeVar::catalogname, ConditionalLockRelationOid(), DEBUG1, ereport, errcode(), ERRCODE_UNDEFINED_TABLE, errmsg(), ERROR, fb(), 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(), attribute_statistics_update(), cluster(), CreatePolicy(), ExecRefreshMatView(), ExecuteTruncate(), expand_vacuum_rel(), extended_statistics_update(), get_rel_from_relname(), LockTableCommand(), pg_clear_attribute_stats(), pg_clear_extended_stats(), ProcessUtilitySlow(), ReindexIndex(), ReindexTable(), relation_statistics_update(), RemoveRelations(), rename_policy(), renameatt(), RenameConstraint(), RenameRelation(), RenameRewriteRule(), renametrig(), transformPartitionCmdForMerge(), and transformPartitionCmdForSplit().
Definition at line 4371 of file namespace.c.
References activeCreationNamespace, activePathGeneration, activeSearchPath, activeTempCreationPending, baseCreationNamespace, baseSearchPath, baseSearchPathValid, baseTempCreationPending, cachedNamespacePath(), equal(), fb(), SearchPathCacheEntry::finalPath, SearchPathCacheEntry::firstNS, GetUserId(), list_copy(), list_free(), MemoryContextSwitchTo(), namespace_search_path, namespaceUser, SearchPathCacheEntry::temp_missing, and TopMemoryContext.
Referenced by CollationGetCollid(), CollationIsVisibleExt(), ConversionGetConid(), ConversionIsVisibleExt(), fetch_search_path(), fetch_search_path_array(), FindDefaultConversionProc(), FuncnameGetCandidates(), FunctionIsVisibleExt(), 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(), GetSearchPathMatcher(), OpclassIsVisibleExt(), OpclassnameGetOpcid(), OperatorIsVisibleExt(), OpernameGetCandidates(), OpernameGetOprid(), OpfamilyIsVisibleExt(), OpfamilynameGetOpfid(), QualifiedNameGetCreationNamespace(), RangeVarGetCreationNamespace(), RelationIsVisibleExt(), RelnameGetRelid(), SearchPathMatchesCurrentEnvironment(), StatisticsObjIsVisibleExt(), TSConfigIsVisibleExt(), TSDictionaryIsVisibleExt(), TSParserIsVisibleExt(), TSTemplateIsVisibleExt(), TypeIsVisibleExt(), and TypenameGetTypidExtended().
Definition at line 914 of file namespace.c.
References fb(), and RelationIsVisibleExt().
Referenced by generate_relation_name(), generate_relation_name(), getRelationDescription(), and regclassout().
Definition at line 926 of file namespace.c.
References activeSearchPath, elog, ERROR, fb(), get_relname_relid(), GETSTRUCT(), HeapTupleIsValid, lfirst_oid, list_member_oid(), NameStr, ObjectIdGetDatum(), OidIsValid, recomputeNamespacePath(), ReleaseSysCache(), relname, and SearchSysCache1().
Referenced by pg_table_is_visible(), and RelationIsVisible().
Definition at line 886 of file namespace.c.
References activeSearchPath, fb(), get_relname_relid(), InvalidOid, lfirst_oid, OidIsValid, recomputeNamespacePath(), and relname.
Referenced by plpgsql_parse_wordrowtype(), and RangeVarGetRelidExtended().
Definition at line 4670 of file namespace.c.
References ObjectAddress::classId, DROP_CASCADE, fb(), PERFORM_DELETION_INTERNAL, PERFORM_DELETION_QUIETLY, PERFORM_DELETION_SKIP_EXTENSIONS, PERFORM_DELETION_SKIP_ORIGINAL, and performDeletion().
Referenced by InitTempTableNamespace(), RemoveTempRelationsCallback(), and ResetTempTableNamespace().
Definition at line 4696 of file namespace.c.
References AbortOutOfAnyTransaction(), CommitTransactionCommand(), GetTransactionSnapshot(), myTempNamespace, OidIsValid, PopActiveSnapshot(), PushActiveSnapshot(), RemoveTempRelations(), and StartTransactionCommand().
Referenced by AtEOXact_Namespace().
Definition at line 4716 of file namespace.c.
References myTempNamespace, OidIsValid, and RemoveTempRelations().
Referenced by DiscardAll(), and DiscardCommand().
| bool SearchPathMatchesCurrentEnvironment | ( | SearchPathMatcher * | path | ) |
Definition at line 3983 of file namespace.c.
References activeCreationNamespace, activePathGeneration, activeSearchPath, SearchPathMatcher::addCatalog, SearchPathMatcher::addTemp, fb(), SearchPathMatcher::generation, InvalidOid, lfirst_oid, list_head(), lnext(), myTempNamespace, recomputeNamespacePath(), and SearchPathMatcher::schemas.
Referenced by CachedPlanAllowsSimpleValidityCheck(), CachedPlanIsSimplyValid(), and RevalidateCachedQuery().
Definition at line 3893 of file namespace.c.
References Assert, baseSearchPathValid, fb(), InvalidOid, InvalidSubTransactionId, myTempNamespace, myTempNamespaceSubID, myTempToastNamespace, and searchPathCacheValid.
Referenced by ParallelWorkerMain().
Definition at line 307 of file namespace.c.
References ALLOCSET_DEFAULT_SIZES, AllocSetContextCreate, baseSearchPathValid, fb(), LastSearchPathCacheEntry, MemoryContextReset(), SearchPathCache, SearchPathCacheContext, searchPathCacheValid, SPCACHE_RESET_THRESHOLD, and TopMemoryContext.
Referenced by cachedNamespacePath(), and check_search_path().
|
static |
Definition at line 375 of file namespace.c.
References Assert, fb(), SearchPathCacheEntry::finalPath, SearchPathCacheEntry::firstNS, SearchPathCacheEntry::forceRecompute, InvalidOid, SearchPathCacheEntry::key, LastSearchPathCacheEntry, MemoryContextStrdup(), NIL, SearchPathCacheEntry::oidlist, SearchPathCacheKey::roleid, SearchPathCacheKey::searchPath, SearchPathCache, SearchPathCacheContext, and SearchPathCacheEntry::temp_missing.
Referenced by cachedNamespacePath(), and check_search_path().
|
static |
Definition at line 345 of file namespace.c.
References fb(), SearchPathCacheEntry::key, LastSearchPathCacheEntry, SearchPathCacheKey::roleid, SearchPathCacheKey::searchPath, and SearchPathCache.
Referenced by check_search_path().
|
inlinestatic |
|
inlinestatic |
Definition at line 255 of file namespace.c.
References fasthash_accum_cstring(), fasthash_combine(), fasthash_final32(), fasthash_init(), and fb().
Definition at line 2701 of file namespace.c.
References fb(), and StatisticsObjIsVisibleExt().
Referenced by getObjectDescription().
Definition at line 2713 of file namespace.c.
References activeSearchPath, elog, ERROR, fb(), Form_pg_statistic_ext, GETSTRUCT(), HeapTupleIsValid, lfirst_oid, list_member_oid(), myTempNamespace, NameStr, ObjectIdGetDatum(), PointerGetDatum(), recomputeNamespacePath(), ReleaseSysCache(), SearchSysCache1(), and SearchSysCacheExists2.
Referenced by pg_statistics_obj_is_visible(), and StatisticsObjIsVisible().
Definition at line 3282 of file namespace.c.
References fb(), and TSConfigIsVisibleExt().
Referenced by getObjectDescription(), and regconfigout().
Definition at line 3294 of file namespace.c.
References activeSearchPath, elog, ERROR, fb(), Form_pg_ts_config, GETSTRUCT(), HeapTupleIsValid, lfirst_oid, list_member_oid(), myTempNamespace, name, NameStr, ObjectIdGetDatum(), PointerGetDatum(), recomputeNamespacePath(), ReleaseSysCache(), SearchSysCache1(), and SearchSysCacheExists2.
Referenced by pg_ts_config_is_visible(), and TSConfigIsVisible().
Definition at line 2991 of file namespace.c.
References fb(), and TSDictionaryIsVisibleExt().
Referenced by getObjectDescription(), and regdictionaryout().
Definition at line 3003 of file namespace.c.
References activeSearchPath, elog, ERROR, fb(), Form_pg_ts_dict, GETSTRUCT(), HeapTupleIsValid, lfirst_oid, list_member_oid(), myTempNamespace, name, NameStr, ObjectIdGetDatum(), PointerGetDatum(), recomputeNamespacePath(), ReleaseSysCache(), SearchSysCache1(), and SearchSysCacheExists2.
Referenced by pg_ts_dict_is_visible(), and TSDictionaryIsVisible().
Definition at line 2846 of file namespace.c.
References fb(), and TSParserIsVisibleExt().
Referenced by getObjectDescription().
Definition at line 2858 of file namespace.c.
References activeSearchPath, elog, ERROR, fb(), Form_pg_ts_parser, GETSTRUCT(), HeapTupleIsValid, lfirst_oid, list_member_oid(), myTempNamespace, name, NameStr, ObjectIdGetDatum(), PointerGetDatum(), recomputeNamespacePath(), ReleaseSysCache(), SearchSysCache1(), and SearchSysCacheExists2.
Referenced by pg_ts_parser_is_visible(), and TSParserIsVisible().
Definition at line 3137 of file namespace.c.
References fb(), and TSTemplateIsVisibleExt().
Referenced by getObjectDescription().
Definition at line 3149 of file namespace.c.
References activeSearchPath, elog, ERROR, fb(), Form_pg_ts_template, GETSTRUCT(), HeapTupleIsValid, lfirst_oid, list_member_oid(), myTempNamespace, name, NameStr, ObjectIdGetDatum(), PointerGetDatum(), recomputeNamespacePath(), ReleaseSysCache(), SearchSysCache1(), and SearchSysCacheExists2.
Referenced by pg_ts_template_is_visible(), and TSTemplateIsVisible().
Definition at line 1041 of file namespace.c.
References fb(), and TypeIsVisibleExt().
Referenced by format_type_extended().
Definition at line 1053 of file namespace.c.
References activeSearchPath, elog, ERROR, fb(), Form_pg_type, GETSTRUCT(), HeapTupleIsValid, lfirst_oid, list_member_oid(), NameStr, ObjectIdGetDatum(), PointerGetDatum(), recomputeNamespacePath(), ReleaseSysCache(), SearchSysCache1(), SearchSysCacheExists2, and typname.
Referenced by pg_type_is_visible(), and TypeIsVisible().
Definition at line 996 of file namespace.c.
References TypenameGetTypidExtended(), and typname.
Definition at line 1009 of file namespace.c.
References activeSearchPath, fb(), GetSysCacheOid2, InvalidOid, lfirst_oid, myTempNamespace, ObjectIdGetDatum(), OidIsValid, PointerGetDatum(), recomputeNamespacePath(), and typname.
Referenced by LookupTypeNameExtended(), and TypenameGetTypid().
|
static |
Definition at line 139 of file namespace.c.
Referenced by fetch_search_path(), GetSearchPathMatcher(), InitializeSearchPath(), QualifiedNameGetCreationNamespace(), RangeVarGetCreationNamespace(), recomputeNamespacePath(), and SearchPathMatchesCurrentEnvironment().
|
static |
Definition at line 145 of file namespace.c.
Referenced by GetSearchPathMatcher(), InitializeSearchPath(), recomputeNamespacePath(), and SearchPathMatchesCurrentEnvironment().
Definition at line 136 of file namespace.c.
Referenced by CollationGetCollid(), CollationIsVisibleExt(), ConversionGetConid(), ConversionIsVisibleExt(), fetch_search_path(), fetch_search_path_array(), FindDefaultConversionProc(), FuncnameGetCandidates(), FunctionIsVisibleExt(), 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(), GetSearchPathMatcher(), InitializeSearchPath(), OpclassIsVisibleExt(), OpclassnameGetOpcid(), OperatorIsVisibleExt(), OpernameGetCandidates(), OpernameGetOprid(), OpfamilyIsVisibleExt(), OpfamilynameGetOpfid(), recomputeNamespacePath(), RelationIsVisibleExt(), RelnameGetRelid(), SearchPathMatchesCurrentEnvironment(), StatisticsObjIsVisibleExt(), TSConfigIsVisibleExt(), TSDictionaryIsVisibleExt(), TSParserIsVisibleExt(), TSTemplateIsVisibleExt(), TypeIsVisibleExt(), and TypenameGetTypidExtended().
Definition at line 142 of file namespace.c.
Referenced by fetch_search_path(), InitializeSearchPath(), QualifiedNameGetCreationNamespace(), RangeVarGetCreationNamespace(), and recomputeNamespacePath().
|
static |
Definition at line 151 of file namespace.c.
Referenced by InitializeSearchPath(), and recomputeNamespacePath().
Definition at line 149 of file namespace.c.
Referenced by InitializeSearchPath(), and recomputeNamespacePath().
Definition at line 158 of file namespace.c.
Referenced by assign_search_path(), AtEOSubXact_Namespace(), AtEOXact_Namespace(), InitializeSearchPath(), InitTempTableNamespace(), InvalidationCallback(), recomputeNamespacePath(), SetTempNamespaceState(), and spcache_init().
Definition at line 153 of file namespace.c.
Referenced by InitializeSearchPath(), and recomputeNamespacePath().
|
static |
Definition at line 301 of file namespace.c.
Referenced by spcache_init(), spcache_insert(), and spcache_lookup().
|
static |
Definition at line 201 of file namespace.c.
Referenced by AccessTempTableNamespace(), AtEOSubXact_Namespace(), AtEOXact_Namespace(), CollationGetCollid(), ConversionGetConid(), fetch_search_path_array(), finalNamespacePath(), 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(), GetSearchPathMatcher(), GetTempNamespaceState(), InitTempTableNamespace(), isTempNamespace(), isTempOrTempToastNamespace(), LookupCreationNamespace(), LookupExplicitNamespace(), LookupNamespaceNoError(), OpclassnameGetOpcid(), OpernameGetCandidates(), OpernameGetOprid(), OpfamilynameGetOpfid(), pg_my_temp_schema(), preprocessNamespacePath(), QualifiedNameGetCreationNamespace(), RangeVarGetCreationNamespace(), RangeVarGetRelidExtended(), RemoveTempRelationsCallback(), ResetTempTableNamespace(), SearchPathMatchesCurrentEnvironment(), SetTempNamespaceState(), StatisticsObjIsVisibleExt(), TSConfigIsVisibleExt(), TSDictionaryIsVisibleExt(), TSParserIsVisibleExt(), TSTemplateIsVisibleExt(), and TypenameGetTypidExtended().
|
static |
Definition at line 205 of file namespace.c.
Referenced by AtEOSubXact_Namespace(), AtEOXact_Namespace(), InitTempTableNamespace(), and SetTempNamespaceState().
|
static |
Definition at line 203 of file namespace.c.
Referenced by AtEOSubXact_Namespace(), AtEOXact_Namespace(), GetTempNamespaceState(), GetTempToastNamespace(), InitTempTableNamespace(), isTempOrTempToastNamespace(), isTempToastNamespace(), and SetTempNamespaceState().
Definition at line 211 of file namespace.c.
Referenced by CreateSchemaCommand(), and recomputeNamespacePath().
|
static |
Definition at line 155 of file namespace.c.
Referenced by InitializeSearchPath(), and recomputeNamespacePath().
|
static |
Definition at line 300 of file namespace.c.
Referenced by spcache_init(), spcache_insert(), and spcache_lookup().
|
static |
Definition at line 165 of file namespace.c.
Referenced by cachedNamespacePath(), check_search_path(), spcache_init(), and spcache_insert().
Definition at line 164 of file namespace.c.
Referenced by AtEOSubXact_Namespace(), AtEOXact_Namespace(), InitializeSearchPath(), InitTempTableNamespace(), InvalidationCallback(), SetTempNamespaceState(), and spcache_init().