|
PostgreSQL Source Code git master
|
#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_cast.h"#include "catalog/pg_proc.h"#include "catalog/pg_type.h"#include "utils/builtins.h"#include "utils/rel.h"#include "utils/syscache.h"
Go to the source code of this file.
Functions | |
| ObjectAddress | CastCreate (Oid sourcetypeid, Oid targettypeid, Oid funcid, Oid incastid, Oid outcastid, char castcontext, char castmethod, DependencyType behavior) |
| ObjectAddress CastCreate | ( | Oid | sourcetypeid, |
| Oid | targettypeid, | ||
| Oid | funcid, | ||
| Oid | incastid, | ||
| Oid | outcastid, | ||
| char | castcontext, | ||
| char | castmethod, | ||
| DependencyType | behavior | ||
| ) |
Definition at line 49 of file pg_cast.c.
References add_exact_object_address(), CatalogTupleInsert(), CharGetDatum(), ereport, errcode(), ERRCODE_DUPLICATE_OBJECT, errmsg(), ERROR, format_type_be(), free_object_addresses(), GetNewOidWithIndex(), heap_form_tuple(), heap_freetuple(), HeapTupleIsValid, InvokeObjectPostCreateHook, new_object_addresses(), ObjectAddressSet, ObjectIdGetDatum(), OidIsValid, record_object_address_dependencies(), recordDependencyOnCurrentExtension(), RelationGetDescr, RowExclusiveLock, SearchSysCache2(), table_close(), table_open(), and values.
Referenced by CreateCast(), and DefineRange().