#include "postgres.h"
#include <ctype.h>
#include <limits.h>
#include "catalog/pg_type.h"
#include "common/int.h"
#include "libpq/pqformat.h"
#include "nodes/miscnodes.h"
#include "nodes/value.h"
#include "utils/array.h"
#include "utils/builtins.h"
Go to the source code of this file.
Definition at line 87 of file oid.c.
References oidvector::dataoffset, oidvector::dim1, oidvector::elemtype, oidvector::lbound1, oidvector::ndim, OidVectorSize, palloc0(), SET_VARSIZE(), and oidvector::values.
Referenced by DefineAggregate(), interpret_function_parameter_list(), makeMultirangeConstructors(), makeRangeConstructors(), StorePartitionKey(), and UpdateIndexRelation().
Definition at line 258 of file oid.c.
References pg_cmp_u32().
Referenced by aclmembers(), AlterSubscription_refresh(), EnumValuesCreate(), and find_inheritance_children_extended().
Definition at line 272 of file oid.c.
References PG_GETARG_OID, and PG_RETURN_BOOL.
Definition at line 308 of file oid.c.
References PG_GETARG_OID, and PG_RETURN_BOOL.
Definition at line 317 of file oid.c.
References PG_GETARG_OID, and PG_RETURN_BOOL.
Definition at line 37 of file oid.c.
References PG_GETARG_CSTRING, PG_RETURN_OID, and uint32in_subr().
Referenced by defGetObjectId(), and parseNumericOid().
Definition at line 326 of file oid.c.
References PG_GETARG_OID, and PG_RETURN_OID.
Definition at line 299 of file oid.c.
References PG_GETARG_OID, and PG_RETURN_BOOL.
Definition at line 290 of file oid.c.
References PG_GETARG_OID, and PG_RETURN_BOOL.
Definition at line 281 of file oid.c.
References PG_GETARG_OID, and PG_RETURN_BOOL.
Definition at line 47 of file oid.c.
References palloc(), PG_GETARG_OID, PG_RETURN_CSTRING, and snprintf.
Referenced by plperl_trigger_build_args(), pltcl_trigger_handler(), and PLy_trigger_build_args().
Definition at line 235 of file oid.c.
References castNode, elog, ERROR, intVal, InvalidOid, nodeTag, and uint32in_subr().
Referenced by get_object_address().
Definition at line 60 of file oid.c.
References buf, PG_GETARG_POINTER, PG_RETURN_OID, and pq_getmsgint().
Referenced by regclassrecv(), regcollationrecv(), regconfigrecv(), regdatabaserecv(), regdictionaryrecv(), regnamespacerecv(), regoperatorrecv(), regoperrecv(), regprocedurerecv(), regprocrecv(), regrolerecv(), and regtyperecv().
Definition at line 71 of file oid.c.
References buf, PG_GETARG_OID, PG_RETURN_BYTEA_P, pq_begintypsend(), pq_endtypsend(), and pq_sendint32().
Referenced by regclasssend(), regcollationsend(), regconfigsend(), regdatabasesend(), regdictionarysend(), regnamespacesend(), regoperatorsend(), regopersend(), regproceduresend(), regprocsend(), regrolesend(), and regtypesend().
Definition at line 335 of file oid.c.
References PG_GETARG_OID, and PG_RETURN_OID.
Definition at line 344 of file oid.c.
References btoidvectorcmp(), cmp(), DatumGetInt32(), and PG_RETURN_BOOL.
Referenced by oidvectoreqfast().
Definition at line 376 of file oid.c.
References btoidvectorcmp(), cmp(), DatumGetInt32(), and PG_RETURN_BOOL.
Definition at line 384 of file oid.c.
References btoidvectorcmp(), cmp(), DatumGetInt32(), and PG_RETURN_BOOL.
Definition at line 114 of file oid.c.
References oidvector::dataoffset, oidvector::dim1, oidvector::elemtype, oidvector::lbound1, oidvector::ndim, OidVectorSize, palloc0(), PG_GETARG_CSTRING, PG_RETURN_NULL, PG_RETURN_POINTER, repalloc(), SET_VARSIZE(), SOFT_ERROR_OCCURRED, uint32in_subr(), and oidvector::values.
Definition at line 368 of file oid.c.
References btoidvectorcmp(), cmp(), DatumGetInt32(), and PG_RETURN_BOOL.
Definition at line 360 of file oid.c.
References btoidvectorcmp(), cmp(), DatumGetInt32(), and PG_RETURN_BOOL.
Definition at line 352 of file oid.c.
References btoidvectorcmp(), cmp(), DatumGetInt32(), and PG_RETURN_BOOL.
Definition at line 158 of file oid.c.
References oidvector::dim1, palloc(), PG_GETARG_POINTER, PG_RETURN_CSTRING, sprintf, and oidvector::values.
Definition at line 184 of file oid.c.
References ARR_ELEMTYPE, ARR_HASNULL, ARR_LBOUND, ARR_NDIM, array_recv(), Assert(), buf, DatumGetPointer(), ereport, errcode(), errmsg(), ERROR, InitFunctionCallInfoData, Int32GetDatum(), InvalidOid, LOCAL_FCINFO, ObjectIdGetDatum(), PG_GETARG_POINTER, PG_RETURN_POINTER, and PointerGetDatum().