|
PostgreSQL Source Code git master
|
#include "postgres.h"#include "access/htup_details.h"#include "access/multixact.h"#include "access/multixact_internal.h"#include "catalog/pg_authid_d.h"#include "funcapi.h"#include "miscadmin.h"#include "utils/acl.h"#include "utils/builtins.h"
Go to the source code of this file.
Functions | |
| Datum | pg_get_multixact_members (PG_FUNCTION_ARGS) |
| Datum | pg_get_multixact_stats (PG_FUNCTION_ARGS) |
| Datum pg_get_multixact_members | ( | PG_FUNCTION_ARGS | ) |
Definition at line 33 of file multixactfuncs.c.
References FuncCallContext::attinmeta, BuildTupleFromCStrings(), elog, ereport, errcode(), errmsg(), ERROR, FirstMultiXactId, get_call_result_type(), GetMultiXactIdMembers(), HeapTupleGetDatum(), MemoryContextSwitchTo(), FuncCallContext::multi_call_memory_ctx, mxstatus_to_string(), palloc_object, pfree(), PG_GETARG_TRANSACTIONID, psprintf(), SRF_FIRSTCALL_INIT, SRF_IS_FIRSTCALL, SRF_PERCALL_SETUP, SRF_RETURN_DONE, SRF_RETURN_NEXT, FuncCallContext::tuple_desc, TupleDescGetAttInMetadata(), TYPEFUNC_COMPOSITE, FuncCallContext::user_fctx, values, and while().
| Datum pg_get_multixact_stats | ( | PG_FUNCTION_ARGS | ) |
Definition at line 100 of file multixactfuncs.c.
References ereport, errcode(), errmsg(), ERROR, get_call_result_type(), GetMultiXactInfo(), GetUserId(), has_privs_of_role(), heap_form_tuple(), HeapTupleGetDatum(), Int64GetDatum(), MultiXactOffsetStorageSize(), TupleDescData::natts, TYPEFUNC_COMPOSITE, UInt32GetDatum(), and values.