PostgreSQL Source Code git master
Macros | Typedefs | Functions
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  PG_RETURN_CASH(x)   return CashGetDatum(x)
 

Typedefs

typedef int64  Cash
 

Functions

static Cash  DatumGetCash (Datum X)
 
static Datum  CashGetDatum (Cash X)
 

Macro Definition Documentation

PG_GETARG_CASH

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

Definition at line 32 of file cash.h.

PG_RETURN_CASH

#define PG_RETURN_CASH (   x )    return CashGetDatum(x)

Definition at line 33 of file cash.h.

Typedef Documentation

Cash

typedef int64 Cash

Definition at line 17 of file cash.h.

Function Documentation

CashGetDatum()

static Datum CashGetDatum ( Cash  X )
inlinestatic

Definition at line 27 of file cash.h.

28{
29 return Int64GetDatum(X);
30}
static Datum Int64GetDatum(int64 X)
Definition: postgres.h:403

References Int64GetDatum().

Referenced by gbt_num_fetch().

DatumGetCash()

static Cash DatumGetCash ( Datum  X )
inlinestatic

Definition at line 21 of file cash.h.

22{
23 return DatumGetInt64(X);
24}
static int64 DatumGetInt64(Datum X)
Definition: postgres.h:393

References DatumGetInt64().

Referenced by gbt_num_compress().

AltStyle によって変換されたページ (->オリジナル) /