PostgreSQL Source Code
git master
|
#include "fmgr.h"
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 |
#define CashGetDatum | ( | X | ) | Int64GetDatum(X) |
Definition at line 21 of file cash.h.
Referenced by gbt_num_fetch().
#define DatumGetCash | ( | X | ) | ((Cash) DatumGetInt64(X)) |
Definition at line 20 of file cash.h.
Referenced by gbt_num_compress().
#define PG_GETARG_CASH | ( | n | ) | DatumGetCash(PG_GETARG_DATUM(n)) |
Definition at line 22 of file cash.h.
Referenced by cash_cmp(), cash_dist(), cash_div_cash(), cash_div_flt4(), cash_div_flt8(), cash_div_int2(), cash_div_int4(), cash_div_int8(), cash_eq(), cash_ge(), cash_gt(), cash_le(), cash_lt(), cash_mi(), cash_mul_flt4(), cash_mul_flt8(), cash_mul_int2(), cash_mul_int4(), cash_mul_int8(), cash_ne(), cash_numeric(), cash_out(), cash_pl(), cash_send(), cash_words(), cashlarger(), cashsmaller(), flt4_mul_cash(), flt8_mul_cash(), gbt_cash_consistent(), gbt_cash_distance(), int2_mul_cash(), int4_mul_cash(), and int8_mul_cash().
#define PG_RETURN_CASH | ( | x | ) | return CashGetDatum(x) |
Definition at line 23 of file cash.h.
Referenced by cash_dist(), cash_div_flt4(), cash_div_flt8(), cash_div_int2(), cash_div_int4(), cash_div_int8(), cash_in(), cash_mi(), cash_mul_flt4(), cash_mul_flt8(), cash_mul_int2(), cash_mul_int4(), cash_mul_int8(), cash_pl(), cash_recv(), cashlarger(), cashsmaller(), flt4_mul_cash(), flt8_mul_cash(), int2_mul_cash(), int4_cash(), int4_mul_cash(), int8_cash(), int8_mul_cash(), and numeric_cash().