PostgreSQL Source Code
git master
|
Go to the source code of this file.
Functions | |
ObjectAddress | CreateProceduralLanguage (CreatePLangStmt *stmt) |
Oid | get_language_oid (const char *langname, bool missing_ok) |
ObjectAddress CreateProceduralLanguage | ( | CreatePLangStmt * | stmt | ) |
Definition at line 37 of file proclang.c.
References aclcheck_error(), ACLCHECK_NOT_OWNER, add_exact_object_address(), Assert, BoolGetDatum(), CatalogTupleInsert(), CatalogTupleUpdate(), ObjectAddress::classId, deleteDependencyRecordsFor(), DEPENDENCY_NORMAL, ereport, errcode(), ERRCODE_DUPLICATE_OBJECT, errmsg(), ERROR, free_object_addresses(), get_func_rettype(), GetNewOidWithIndex(), GETSTRUCT, GetUserId(), heap_form_tuple(), heap_modify_tuple(), HeapTupleIsValid, InvalidOid, InvokeObjectPostCreateHook, LookupFuncName(), NameGetDatum(), NameListToString(), namestrcpy(), new_object_addresses(), OBJECT_LANGUAGE, object_ownercheck(), ObjectAddressSet, ObjectAddress::objectId, ObjectIdGetDatum(), ObjectAddress::objectSubId, OidIsValid, PointerGetDatum(), record_object_address_dependencies(), recordDependencyOnCurrentExtension(), recordDependencyOnOwner(), RelationGetDescr, ReleaseSysCache(), RowExclusiveLock, SearchSysCache1(), stmt, superuser(), HeapTupleData::t_self, table_close(), table_open(), and values.
Referenced by ProcessUtilitySlow().
Oid get_language_oid | ( | const char * | langname, |
bool | missing_ok | ||
) |
Definition at line 226 of file proclang.c.
References CStringGetDatum(), ereport, errcode(), errmsg(), ERROR, GetSysCacheOid1, and OidIsValid.
Referenced by convert_language_name(), CreateTransform(), get_object_address(), and get_object_address_unqualified().