⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cash.h

📁 PostgreSQL 8.2中增加了很多企业用户所需要的功能和性能上的提高,其开发团队说,该版本将加速更多企业向该数据库移植.核心开发成员之一Bruce Momjian表示,在新版PostgreSQL
💻 H
字号:
/* * cash.h * Written by D'Arcy J.M. Cain * * Functions to allow input and output of money normally but store *	and handle it as int4. */#ifndef CASH_H#define CASH_H#include "fmgr.h"/* if we store this as 4 bytes, we better make it int, not long, bjm */typedef int32 Cash;extern Datum cash_in(PG_FUNCTION_ARGS);extern Datum cash_out(PG_FUNCTION_ARGS);extern Datum cash_recv(PG_FUNCTION_ARGS);extern Datum cash_send(PG_FUNCTION_ARGS);extern Datum cash_eq(PG_FUNCTION_ARGS);extern Datum cash_ne(PG_FUNCTION_ARGS);extern Datum cash_lt(PG_FUNCTION_ARGS);extern Datum cash_le(PG_FUNCTION_ARGS);extern Datum cash_gt(PG_FUNCTION_ARGS);extern Datum cash_ge(PG_FUNCTION_ARGS);extern Datum cash_cmp(PG_FUNCTION_ARGS);extern Datum cash_pl(PG_FUNCTION_ARGS);extern Datum cash_mi(PG_FUNCTION_ARGS);extern Datum cash_mul_flt8(PG_FUNCTION_ARGS);extern Datum cash_div_flt8(PG_FUNCTION_ARGS);extern Datum flt8_mul_cash(PG_FUNCTION_ARGS);extern Datum cash_mul_flt4(PG_FUNCTION_ARGS);extern Datum cash_div_flt4(PG_FUNCTION_ARGS);extern Datum flt4_mul_cash(PG_FUNCTION_ARGS);extern Datum cash_mul_int4(PG_FUNCTION_ARGS);extern Datum cash_div_int4(PG_FUNCTION_ARGS);extern Datum int4_mul_cash(PG_FUNCTION_ARGS);extern Datum cash_mul_int2(PG_FUNCTION_ARGS);extern Datum int2_mul_cash(PG_FUNCTION_ARGS);extern Datum cash_div_int2(PG_FUNCTION_ARGS);extern Datum cashlarger(PG_FUNCTION_ARGS);extern Datum cashsmaller(PG_FUNCTION_ARGS);extern Datum cash_words(PG_FUNCTION_ARGS);#endif   /* CASH_H */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -