|
PostgreSQL Source Code git master
|
#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.
Macros | |
| #define | OidVectorSize(n) (offsetof(oidvector, values) + (n) * sizeof(Oid)) |
Definition at line 87 of file oid.c.
References oidvector::dataoffset, oidvector::dim1, oidvector::elemtype, fb(), 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 118 of file oid.c.
References ereport, errcode(), errmsg(), ERROR, and fb().
Referenced by btoidvectorcmp(), hashoidvector(), hashoidvectorextended(), oidvectorout(), and oidvectortypes().
Definition at line 287 of file oid.c.
References fb(), and pg_cmp_u32().
Referenced by aclmembers(), AlterSubscription_refresh(), EnumValuesCreate(), and find_inheritance_children_extended().
| Datum oideq | ( | PG_FUNCTION_ARGS | ) |
Definition at line 301 of file oid.c.
References fb(), PG_GETARG_OID, and PG_RETURN_BOOL.
| Datum oidge | ( | PG_FUNCTION_ARGS | ) |
Definition at line 337 of file oid.c.
References fb(), PG_GETARG_OID, and PG_RETURN_BOOL.
| Datum oidgt | ( | PG_FUNCTION_ARGS | ) |
Definition at line 346 of file oid.c.
References fb(), PG_GETARG_OID, and PG_RETURN_BOOL.
| Datum oidin | ( | PG_FUNCTION_ARGS | ) |
Definition at line 37 of file oid.c.
References fb(), PG_GETARG_CSTRING, PG_RETURN_OID, and uint32in_subr().
Referenced by defGetObjectId(), and parseNumericOid().
| Datum oidlarger | ( | PG_FUNCTION_ARGS | ) |
Definition at line 355 of file oid.c.
References fb(), PG_GETARG_OID, and PG_RETURN_OID.
| Datum oidle | ( | PG_FUNCTION_ARGS | ) |
Definition at line 328 of file oid.c.
References fb(), PG_GETARG_OID, and PG_RETURN_BOOL.
| Datum oidlt | ( | PG_FUNCTION_ARGS | ) |
Definition at line 319 of file oid.c.
References fb(), PG_GETARG_OID, and PG_RETURN_BOOL.
| Datum oidne | ( | PG_FUNCTION_ARGS | ) |
Definition at line 310 of file oid.c.
References fb(), PG_GETARG_OID, and PG_RETURN_BOOL.
| Datum oidout | ( | PG_FUNCTION_ARGS | ) |
Definition at line 47 of file oid.c.
References fb(), 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 264 of file oid.c.
References castNode, elog, ERROR, fb(), intVal, InvalidOid, nodeTag, and uint32in_subr().
Referenced by get_object_address().
| Datum oidrecv | ( | PG_FUNCTION_ARGS | ) |
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().
| Datum oidsend | ( | PG_FUNCTION_ARGS | ) |
Definition at line 71 of file oid.c.
References buf, fb(), 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().
| Datum oidsmaller | ( | PG_FUNCTION_ARGS | ) |
Definition at line 364 of file oid.c.
References fb(), PG_GETARG_OID, and PG_RETURN_OID.
| Datum oidvectoreq | ( | PG_FUNCTION_ARGS | ) |
Definition at line 373 of file oid.c.
References btoidvectorcmp(), cmp(), DatumGetInt32(), and PG_RETURN_BOOL.
Referenced by oidvectoreqfast().
| Datum oidvectorge | ( | PG_FUNCTION_ARGS | ) |
Definition at line 405 of file oid.c.
References btoidvectorcmp(), cmp(), DatumGetInt32(), and PG_RETURN_BOOL.
| Datum oidvectorgt | ( | PG_FUNCTION_ARGS | ) |
Definition at line 413 of file oid.c.
References btoidvectorcmp(), cmp(), DatumGetInt32(), and PG_RETURN_BOOL.
| Datum oidvectorin | ( | PG_FUNCTION_ARGS | ) |
Definition at line 138 of file oid.c.
References oidvector::dataoffset, oidvector::dim1, oidvector::elemtype, fb(), 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.
| Datum oidvectorle | ( | PG_FUNCTION_ARGS | ) |
Definition at line 397 of file oid.c.
References btoidvectorcmp(), cmp(), DatumGetInt32(), and PG_RETURN_BOOL.
| Datum oidvectorlt | ( | PG_FUNCTION_ARGS | ) |
Definition at line 389 of file oid.c.
References btoidvectorcmp(), cmp(), DatumGetInt32(), and PG_RETURN_BOOL.
| Datum oidvectorne | ( | PG_FUNCTION_ARGS | ) |
Definition at line 381 of file oid.c.
References btoidvectorcmp(), cmp(), DatumGetInt32(), and PG_RETURN_BOOL.
| Datum oidvectorout | ( | PG_FUNCTION_ARGS | ) |
Definition at line 182 of file oid.c.
References check_valid_oidvector(), fb(), palloc(), PG_GETARG_POINTER, PG_RETURN_CSTRING, and sprintf.
| Datum oidvectorrecv | ( | PG_FUNCTION_ARGS | ) |
Definition at line 212 of file oid.c.
References ARR_ELEMTYPE, ARR_HASNULL, ARR_LBOUND, ARR_NDIM, array_recv(), Assert, buf, DatumGetPointer(), ereport, errcode(), errmsg(), ERROR, fb(), InitFunctionCallInfoData, Int32GetDatum(), InvalidOid, LOCAL_FCINFO, ObjectIdGetDatum(), PG_GETARG_POINTER, PG_RETURN_POINTER, and PointerGetDatum().
| Datum oidvectorsend | ( | PG_FUNCTION_ARGS | ) |
Definition at line 254 of file oid.c.
References array_send().