PostgreSQL Source Code  git master
cash.h File Reference
#include "fmgr.h"
Include dependency graph for cash.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


#define DatumGetCash(X)   ((Cash) DatumGetInt64(X))
#define CashGetDatum(X)   Int64GetDatum(X)
#define PG_GETARG_CASH(n)   DatumGetCash(PG_GETARG_DATUM(n))
#define PG_RETURN_CASH(x)   return CashGetDatum(x)


typedef int64 Cash

Macro Definition Documentation

◆ CashGetDatum

#define CashGetDatum (   X)    Int64GetDatum(X)

Definition at line 21 of file cash.h.

◆ DatumGetCash

#define DatumGetCash (   X)    ((Cash) DatumGetInt64(X))

Definition at line 20 of file cash.h.


#define PG_GETARG_CASH (   n)    DatumGetCash(PG_GETARG_DATUM(n))

Definition at line 22 of file cash.h.


#define PG_RETURN_CASH (   x)    return CashGetDatum(x)

Definition at line 23 of file cash.h.

Typedef Documentation

◆ Cash

typedef int64 Cash

Definition at line 17 of file cash.h.