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.

Macros

#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)
 

Typedefs

typedef int64 Cash
 

Macro Definition Documentation

◆ CashGetDatum

#define CashGetDatum (   X)    Int64GetDatum(X)

Definition at line 21 of file cash.h.

Referenced by gbt_num_fetch().

◆ DatumGetCash

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

Definition at line 20 of file cash.h.

Referenced by gbt_num_compress().

◆ PG_GETARG_CASH

◆ PG_RETURN_CASH

Typedef Documentation

◆ Cash

typedef int64 Cash

Definition at line 17 of file cash.h.