28 #define PG_GETARG_COMMANDID(n) DatumGetCommandId(PG_GETARG_DATUM(n))
29 #define PG_RETURN_COMMANDID(x) return CommandIdGetDatum(x)
46 char *result = (
char *)
palloc(16);
48 snprintf(result, 16,
"%lu", (
unsigned long) transactionId);
208 char *result = (
char *)
palloc(21);
363 char *result = (
char *)
palloc(16);
365 snprintf(result, 16,
"%lu", (
unsigned long)
c);
Datum now(PG_FUNCTION_ARGS)
#define Assert(condition)
TransactionId MultiXactId
#define PG_RETURN_BYTEA_P(x)
#define PG_GETARG_POINTER(n)
#define PG_RETURN_CSTRING(x)
#define PG_GETARG_CSTRING(n)
#define PG_GETARG_INT64(n)
#define PG_RETURN_TRANSACTIONID(x)
#define PG_GETARG_TRANSACTIONID(n)
#define PG_RETURN_INT32(x)
#define PG_RETURN_BOOL(x)
static Datum hash_uint32(uint32 k)
static Datum hash_uint32_extended(uint32 k, uint64 seed)
Datum hashint8extended(PG_FUNCTION_ARGS)
Datum hashint8(PG_FUNCTION_ARGS)
static int pg_cmp_u32(uint32 a, uint32 b)
MultiXactId ReadNextMultiXactId(void)
#define MultiXactIdIsValid(multi)
uint64 uint64in_subr(const char *s, char **endloc, const char *typname, Node *escontext)
uint32 uint32in_subr(const char *s, char **endloc, const char *typname, Node *escontext)
StringInfoData * StringInfo
bool TransactionIdPrecedes(TransactionId id1, TransactionId id2)
#define FullTransactionIdEquals(a, b)
#define FullTransactionIdPrecedesOrEquals(a, b)
#define U64FromFullTransactionId(x)
static FullTransactionId FullTransactionIdFromU64(uint64 value)
#define FullTransactionIdFollowsOrEquals(a, b)
#define TransactionIdEquals(id1, id2)
#define FullTransactionIdFollows(a, b)
#define XidFromFullTransactionId(x)
#define TransactionIdIsNormal(xid)
#define FullTransactionIdPrecedes(a, b)
TransactionId GetStableLatestTransactionId(void)
#define PG_GETARG_FULLTRANSACTIONID(X)
#define PG_RETURN_FULLTRANSACTIONID(X)
#define PG_RETURN_COMMANDID(x)
Datum xidneq(PG_FUNCTION_ARGS)
Datum hashxid(PG_FUNCTION_ARGS)
#define PG_GETARG_COMMANDID(n)
int xidComparator(const void *arg1, const void *arg2)
Datum xid8ge(PG_FUNCTION_ARGS)
Datum cidin(PG_FUNCTION_ARGS)
Datum xideq(PG_FUNCTION_ARGS)
Datum hashcid(PG_FUNCTION_ARGS)
Datum cidout(PG_FUNCTION_ARGS)
Datum xid_age(PG_FUNCTION_ARGS)
Datum xid8toxid(PG_FUNCTION_ARGS)
Datum hashxid8(PG_FUNCTION_ARGS)
Datum xidrecv(PG_FUNCTION_ARGS)
Datum xid8_larger(PG_FUNCTION_ARGS)
int xidLogicalComparator(const void *arg1, const void *arg2)
Datum xid8eq(PG_FUNCTION_ARGS)
Datum hashcidextended(PG_FUNCTION_ARGS)
Datum xid8in(PG_FUNCTION_ARGS)
Datum xid8_smaller(PG_FUNCTION_ARGS)
Datum xid8cmp(PG_FUNCTION_ARGS)
Datum cideq(PG_FUNCTION_ARGS)
Datum xid8send(PG_FUNCTION_ARGS)
Datum xid8gt(PG_FUNCTION_ARGS)
Datum xidin(PG_FUNCTION_ARGS)
Datum cidrecv(PG_FUNCTION_ARGS)
Datum xid8lt(PG_FUNCTION_ARGS)
Datum xidsend(PG_FUNCTION_ARGS)
Datum xid8ne(PG_FUNCTION_ARGS)
Datum xid8le(PG_FUNCTION_ARGS)
Datum hashxidextended(PG_FUNCTION_ARGS)
Datum xid8recv(PG_FUNCTION_ARGS)
Datum mxid_age(PG_FUNCTION_ARGS)
Datum cidsend(PG_FUNCTION_ARGS)
Datum xid8out(PG_FUNCTION_ARGS)
Datum hashxid8extended(PG_FUNCTION_ARGS)
Datum xidout(PG_FUNCTION_ARGS)