#include "postgres.h"
#include "access/htup_details.h"
#include "access/table.h"
#include "catalog/catalog.h"
#include "catalog/dependency.h"
#include "catalog/indexing.h"
#include "catalog/objectaccess.h"
#include "catalog/pg_am.h"
#include "catalog/pg_proc.h"
#include "catalog/pg_type.h"
#include "commands/defrem.h"
#include "miscadmin.h"
#include "parser/parse_func.h"
#include "utils/builtins.h"
#include "utils/lsyscache.h"
#include "utils/rel.h"
#include "utils/syscache.h"
Go to the source code of this file.
Definition at line 43 of file amcmds.c.
References CatalogTupleInsert(), CharGetDatum(), ObjectAddress::classId, CStringGetDatum(), DEPENDENCY_NORMAL, DirectFunctionCall1, ereport, errcode(), ERRCODE_DUPLICATE_OBJECT, errhint(), errmsg(), ERROR, GetNewOidWithIndex(), GetSysCacheOid1, heap_form_tuple(), heap_freetuple(), InvokeObjectPostCreateHook, lookup_am_handler_func(), namein(), ObjectAddress::objectId, ObjectIdGetDatum(), ObjectAddress::objectSubId, OidIsValid, recordDependencyOn(), recordDependencyOnCurrentExtension(), RelationGetDescr, RowExclusiveLock, stmt, superuser(), table_close(), table_open(), and values.
Referenced by ProcessUtilitySlow().
Definition at line 192 of file amcmds.c.
References GETSTRUCT(), HeapTupleIsValid, NameStr, ObjectIdGetDatum(), pstrdup(), ReleaseSysCache(), and SearchSysCache1().
Referenced by assignOperTypes(), ATAddForeignKeyConstraint(), DefineIndex(), getObjectIdentityParts(), GetOperatorFromCompareType(), index_checkable(), IsThereOpClassInNamespace(), and IsThereOpFamilyInNamespace().
Definition at line 183 of file amcmds.c.
References get_am_type_oid().
Referenced by get_object_address_unqualified().
Definition at line 129 of file amcmds.c.
References CStringGetDatum(), ereport, errcode(), errmsg(), ERROR, get_am_type_string(), GETSTRUCT(), HeapTupleIsValid, InvalidOid, NameStr, OidIsValid, ReleaseSysCache(), and SearchSysCache1().
Referenced by get_am_oid(), get_index_am_oid(), and get_table_am_oid().
Definition at line 212 of file amcmds.c.
Referenced by get_am_type_oid().
Definition at line 163 of file amcmds.c.
References get_am_type_oid().
Referenced by DefineOpFamily(), get_object_address_opcf(), and transformIndexConstraint().
Definition at line 173 of file amcmds.c.
References get_am_type_oid().
Referenced by ATPrepSetAccessMethod(), check_default_table_access_method(), and DefineRelation().
Definition at line 234 of file amcmds.c.
References elog, ereport, errcode(), errmsg(), ERROR, format_type_extended(), get_func_name(), get_func_rettype(), InvalidOid, LookupFuncName(), and NIL.
Referenced by CreateAccessMethod().