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

📄 builtins.h

📁 PostgreSQL 8.2中增加了很多企业用户所需要的功能和性能上的提高,其开发团队说,该版本将加速更多企业向该数据库移植.核心开发成员之一Bruce Momjian表示,在新版PostgreSQL
💻 H
📖 第 1 页 / 共 3 页
字号:
/*------------------------------------------------------------------------- * * builtins.h *	  Declarations for operations on built-in types. * * * Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * * $PostgreSQL: pgsql/src/include/utils/builtins.h,v 1.282.2.2 2007/05/17 23:31:59 tgl Exp $ * *------------------------------------------------------------------------- */#ifndef BUILTINS_H#define BUILTINS_H#include "fmgr.h"#include "nodes/parsenodes.h"/* *		Defined in adt/ *//* acl.c */extern Datum has_table_privilege_name_name(PG_FUNCTION_ARGS);extern Datum has_table_privilege_name_id(PG_FUNCTION_ARGS);extern Datum has_table_privilege_id_name(PG_FUNCTION_ARGS);extern Datum has_table_privilege_id_id(PG_FUNCTION_ARGS);extern Datum has_table_privilege_name(PG_FUNCTION_ARGS);extern Datum has_table_privilege_id(PG_FUNCTION_ARGS);extern Datum has_database_privilege_name_name(PG_FUNCTION_ARGS);extern Datum has_database_privilege_name_id(PG_FUNCTION_ARGS);extern Datum has_database_privilege_id_name(PG_FUNCTION_ARGS);extern Datum has_database_privilege_id_id(PG_FUNCTION_ARGS);extern Datum has_database_privilege_name(PG_FUNCTION_ARGS);extern Datum has_database_privilege_id(PG_FUNCTION_ARGS);extern Datum has_function_privilege_name_name(PG_FUNCTION_ARGS);extern Datum has_function_privilege_name_id(PG_FUNCTION_ARGS);extern Datum has_function_privilege_id_name(PG_FUNCTION_ARGS);extern Datum has_function_privilege_id_id(PG_FUNCTION_ARGS);extern Datum has_function_privilege_name(PG_FUNCTION_ARGS);extern Datum has_function_privilege_id(PG_FUNCTION_ARGS);extern Datum has_language_privilege_name_name(PG_FUNCTION_ARGS);extern Datum has_language_privilege_name_id(PG_FUNCTION_ARGS);extern Datum has_language_privilege_id_name(PG_FUNCTION_ARGS);extern Datum has_language_privilege_id_id(PG_FUNCTION_ARGS);extern Datum has_language_privilege_name(PG_FUNCTION_ARGS);extern Datum has_language_privilege_id(PG_FUNCTION_ARGS);extern Datum has_schema_privilege_name_name(PG_FUNCTION_ARGS);extern Datum has_schema_privilege_name_id(PG_FUNCTION_ARGS);extern Datum has_schema_privilege_id_name(PG_FUNCTION_ARGS);extern Datum has_schema_privilege_id_id(PG_FUNCTION_ARGS);extern Datum has_schema_privilege_name(PG_FUNCTION_ARGS);extern Datum has_schema_privilege_id(PG_FUNCTION_ARGS);extern Datum has_tablespace_privilege_name_name(PG_FUNCTION_ARGS);extern Datum has_tablespace_privilege_name_id(PG_FUNCTION_ARGS);extern Datum has_tablespace_privilege_id_name(PG_FUNCTION_ARGS);extern Datum has_tablespace_privilege_id_id(PG_FUNCTION_ARGS);extern Datum has_tablespace_privilege_name(PG_FUNCTION_ARGS);extern Datum has_tablespace_privilege_id(PG_FUNCTION_ARGS);extern Datum pg_has_role_name_name(PG_FUNCTION_ARGS);extern Datum pg_has_role_name_id(PG_FUNCTION_ARGS);extern Datum pg_has_role_id_name(PG_FUNCTION_ARGS);extern Datum pg_has_role_id_id(PG_FUNCTION_ARGS);extern Datum pg_has_role_name(PG_FUNCTION_ARGS);extern Datum pg_has_role_id(PG_FUNCTION_ARGS);/* bool.c */extern Datum boolin(PG_FUNCTION_ARGS);extern Datum boolout(PG_FUNCTION_ARGS);extern Datum boolrecv(PG_FUNCTION_ARGS);extern Datum boolsend(PG_FUNCTION_ARGS);extern Datum booleq(PG_FUNCTION_ARGS);extern Datum boolne(PG_FUNCTION_ARGS);extern Datum boollt(PG_FUNCTION_ARGS);extern Datum boolgt(PG_FUNCTION_ARGS);extern Datum boolle(PG_FUNCTION_ARGS);extern Datum boolge(PG_FUNCTION_ARGS);extern Datum istrue(PG_FUNCTION_ARGS);extern Datum isfalse(PG_FUNCTION_ARGS);extern Datum isnottrue(PG_FUNCTION_ARGS);extern Datum isnotfalse(PG_FUNCTION_ARGS);extern Datum booland_statefunc(PG_FUNCTION_ARGS);extern Datum boolor_statefunc(PG_FUNCTION_ARGS);/* char.c */extern Datum charin(PG_FUNCTION_ARGS);extern Datum charout(PG_FUNCTION_ARGS);extern Datum charrecv(PG_FUNCTION_ARGS);extern Datum charsend(PG_FUNCTION_ARGS);extern Datum chareq(PG_FUNCTION_ARGS);extern Datum charne(PG_FUNCTION_ARGS);extern Datum charlt(PG_FUNCTION_ARGS);extern Datum charle(PG_FUNCTION_ARGS);extern Datum chargt(PG_FUNCTION_ARGS);extern Datum charge(PG_FUNCTION_ARGS);extern Datum chartoi4(PG_FUNCTION_ARGS);extern Datum i4tochar(PG_FUNCTION_ARGS);extern Datum text_char(PG_FUNCTION_ARGS);extern Datum char_text(PG_FUNCTION_ARGS);/* domains.c */extern Datum domain_in(PG_FUNCTION_ARGS);extern Datum domain_recv(PG_FUNCTION_ARGS);/* int.c */extern Datum int2in(PG_FUNCTION_ARGS);extern Datum int2out(PG_FUNCTION_ARGS);extern Datum int2recv(PG_FUNCTION_ARGS);extern Datum int2send(PG_FUNCTION_ARGS);extern Datum int2vectorin(PG_FUNCTION_ARGS);extern Datum int2vectorout(PG_FUNCTION_ARGS);extern Datum int2vectorrecv(PG_FUNCTION_ARGS);extern Datum int2vectorsend(PG_FUNCTION_ARGS);extern Datum int2vectoreq(PG_FUNCTION_ARGS);extern Datum int4in(PG_FUNCTION_ARGS);extern Datum int4out(PG_FUNCTION_ARGS);extern Datum int4recv(PG_FUNCTION_ARGS);extern Datum int4send(PG_FUNCTION_ARGS);extern Datum i2toi4(PG_FUNCTION_ARGS);extern Datum i4toi2(PG_FUNCTION_ARGS);extern Datum int2_text(PG_FUNCTION_ARGS);extern Datum text_int2(PG_FUNCTION_ARGS);extern Datum int4_bool(PG_FUNCTION_ARGS);extern Datum bool_int4(PG_FUNCTION_ARGS);extern Datum int4_text(PG_FUNCTION_ARGS);extern Datum text_int4(PG_FUNCTION_ARGS);extern Datum int4eq(PG_FUNCTION_ARGS);extern Datum int4ne(PG_FUNCTION_ARGS);extern Datum int4lt(PG_FUNCTION_ARGS);extern Datum int4le(PG_FUNCTION_ARGS);extern Datum int4gt(PG_FUNCTION_ARGS);extern Datum int4ge(PG_FUNCTION_ARGS);extern Datum int2eq(PG_FUNCTION_ARGS);extern Datum int2ne(PG_FUNCTION_ARGS);extern Datum int2lt(PG_FUNCTION_ARGS);extern Datum int2le(PG_FUNCTION_ARGS);extern Datum int2gt(PG_FUNCTION_ARGS);extern Datum int2ge(PG_FUNCTION_ARGS);extern Datum int24eq(PG_FUNCTION_ARGS);extern Datum int24ne(PG_FUNCTION_ARGS);extern Datum int24lt(PG_FUNCTION_ARGS);extern Datum int24le(PG_FUNCTION_ARGS);extern Datum int24gt(PG_FUNCTION_ARGS);extern Datum int24ge(PG_FUNCTION_ARGS);extern Datum int42eq(PG_FUNCTION_ARGS);extern Datum int42ne(PG_FUNCTION_ARGS);extern Datum int42lt(PG_FUNCTION_ARGS);extern Datum int42le(PG_FUNCTION_ARGS);extern Datum int42gt(PG_FUNCTION_ARGS);extern Datum int42ge(PG_FUNCTION_ARGS);extern Datum int4um(PG_FUNCTION_ARGS);extern Datum int4up(PG_FUNCTION_ARGS);extern Datum int4pl(PG_FUNCTION_ARGS);extern Datum int4mi(PG_FUNCTION_ARGS);extern Datum int4mul(PG_FUNCTION_ARGS);extern Datum int4div(PG_FUNCTION_ARGS);extern Datum int4abs(PG_FUNCTION_ARGS);extern Datum int4inc(PG_FUNCTION_ARGS);extern Datum int2um(PG_FUNCTION_ARGS);extern Datum int2up(PG_FUNCTION_ARGS);extern Datum int2pl(PG_FUNCTION_ARGS);extern Datum int2mi(PG_FUNCTION_ARGS);extern Datum int2mul(PG_FUNCTION_ARGS);extern Datum int2div(PG_FUNCTION_ARGS);extern Datum int2abs(PG_FUNCTION_ARGS);extern Datum int24pl(PG_FUNCTION_ARGS);extern Datum int24mi(PG_FUNCTION_ARGS);extern Datum int24mul(PG_FUNCTION_ARGS);extern Datum int24div(PG_FUNCTION_ARGS);extern Datum int42pl(PG_FUNCTION_ARGS);extern Datum int42mi(PG_FUNCTION_ARGS);extern Datum int42mul(PG_FUNCTION_ARGS);extern Datum int42div(PG_FUNCTION_ARGS);extern Datum int4mod(PG_FUNCTION_ARGS);extern Datum int2mod(PG_FUNCTION_ARGS);extern Datum int24mod(PG_FUNCTION_ARGS);extern Datum int42mod(PG_FUNCTION_ARGS);extern Datum int2larger(PG_FUNCTION_ARGS);extern Datum int2smaller(PG_FUNCTION_ARGS);extern Datum int4larger(PG_FUNCTION_ARGS);extern Datum int4smaller(PG_FUNCTION_ARGS);extern Datum int4and(PG_FUNCTION_ARGS);extern Datum int4or(PG_FUNCTION_ARGS);extern Datum int4xor(PG_FUNCTION_ARGS);extern Datum int4not(PG_FUNCTION_ARGS);extern Datum int4shl(PG_FUNCTION_ARGS);extern Datum int4shr(PG_FUNCTION_ARGS);extern Datum int2and(PG_FUNCTION_ARGS);extern Datum int2or(PG_FUNCTION_ARGS);extern Datum int2xor(PG_FUNCTION_ARGS);extern Datum int2not(PG_FUNCTION_ARGS);extern Datum int2shl(PG_FUNCTION_ARGS);extern Datum int2shr(PG_FUNCTION_ARGS);extern Datum generate_series_int4(PG_FUNCTION_ARGS);extern Datum generate_series_step_int4(PG_FUNCTION_ARGS);extern int2vector *buildint2vector(const int2 *int2s, int n);/* name.c */extern Datum namein(PG_FUNCTION_ARGS);extern Datum nameout(PG_FUNCTION_ARGS);extern Datum namerecv(PG_FUNCTION_ARGS);extern Datum namesend(PG_FUNCTION_ARGS);extern Datum nameeq(PG_FUNCTION_ARGS);extern Datum namene(PG_FUNCTION_ARGS);extern Datum namelt(PG_FUNCTION_ARGS);extern Datum namele(PG_FUNCTION_ARGS);extern Datum namegt(PG_FUNCTION_ARGS);extern Datum namege(PG_FUNCTION_ARGS);extern Datum name_pattern_eq(PG_FUNCTION_ARGS);extern Datum name_pattern_ne(PG_FUNCTION_ARGS);extern Datum name_pattern_lt(PG_FUNCTION_ARGS);extern Datum name_pattern_le(PG_FUNCTION_ARGS);extern Datum name_pattern_gt(PG_FUNCTION_ARGS);extern Datum name_pattern_ge(PG_FUNCTION_ARGS);extern int	namecpy(Name n1, Name n2);extern int	namestrcpy(Name name, const char *str);extern int	namestrcmp(Name name, const char *str);extern Datum current_user(PG_FUNCTION_ARGS);extern Datum session_user(PG_FUNCTION_ARGS);extern Datum current_schema(PG_FUNCTION_ARGS);extern Datum current_schemas(PG_FUNCTION_ARGS);/* numutils.c */extern int32 pg_atoi(char *s, int size, int c);extern void pg_itoa(int16 i, char *a);extern void pg_ltoa(int32 l, char *a);/* *		Per-opclass comparison functions for new btrees.  These are *		stored in pg_amproc and defined in access/nbtree/nbtcompare.c */extern Datum btboolcmp(PG_FUNCTION_ARGS);extern Datum btint2cmp(PG_FUNCTION_ARGS);extern Datum btint4cmp(PG_FUNCTION_ARGS);extern Datum btint8cmp(PG_FUNCTION_ARGS);extern Datum btfloat4cmp(PG_FUNCTION_ARGS);extern Datum btfloat8cmp(PG_FUNCTION_ARGS);extern Datum btint48cmp(PG_FUNCTION_ARGS);extern Datum btint84cmp(PG_FUNCTION_ARGS);extern Datum btint24cmp(PG_FUNCTION_ARGS);extern Datum btint42cmp(PG_FUNCTION_ARGS);extern Datum btint28cmp(PG_FUNCTION_ARGS);extern Datum btint82cmp(PG_FUNCTION_ARGS);extern Datum btfloat48cmp(PG_FUNCTION_ARGS);extern Datum btfloat84cmp(PG_FUNCTION_ARGS);extern Datum btoidcmp(PG_FUNCTION_ARGS);extern Datum btoidvectorcmp(PG_FUNCTION_ARGS);extern Datum btabstimecmp(PG_FUNCTION_ARGS);extern Datum btreltimecmp(PG_FUNCTION_ARGS);extern Datum bttintervalcmp(PG_FUNCTION_ARGS);extern Datum btcharcmp(PG_FUNCTION_ARGS);extern Datum btnamecmp(PG_FUNCTION_ARGS);extern Datum bttextcmp(PG_FUNCTION_ARGS);extern Datum btname_pattern_cmp(PG_FUNCTION_ARGS);extern Datum bttext_pattern_cmp(PG_FUNCTION_ARGS);/* float.c */extern DLLIMPORT int extra_float_digits;extern double get_float8_infinity(void);extern float get_float4_infinity(void);extern double get_float8_nan(void);extern float get_float4_nan(void);extern int	is_infinite(double val);extern Datum float4in(PG_FUNCTION_ARGS);extern Datum float4out(PG_FUNCTION_ARGS);extern Datum float4recv(PG_FUNCTION_ARGS);extern Datum float4send(PG_FUNCTION_ARGS);extern Datum float8in(PG_FUNCTION_ARGS);extern Datum float8out(PG_FUNCTION_ARGS);extern Datum float8recv(PG_FUNCTION_ARGS);extern Datum float8send(PG_FUNCTION_ARGS);extern Datum float4abs(PG_FUNCTION_ARGS);extern Datum float4um(PG_FUNCTION_ARGS);extern Datum float4up(PG_FUNCTION_ARGS);extern Datum float4larger(PG_FUNCTION_ARGS);extern Datum float4smaller(PG_FUNCTION_ARGS);extern Datum float8abs(PG_FUNCTION_ARGS);extern Datum float8um(PG_FUNCTION_ARGS);extern Datum float8up(PG_FUNCTION_ARGS);extern Datum float8larger(PG_FUNCTION_ARGS);extern Datum float8smaller(PG_FUNCTION_ARGS);extern Datum float4pl(PG_FUNCTION_ARGS);extern Datum float4mi(PG_FUNCTION_ARGS);extern Datum float4mul(PG_FUNCTION_ARGS);extern Datum float4div(PG_FUNCTION_ARGS);extern Datum float8pl(PG_FUNCTION_ARGS);extern Datum float8mi(PG_FUNCTION_ARGS);extern Datum float8mul(PG_FUNCTION_ARGS);extern Datum float8div(PG_FUNCTION_ARGS);extern Datum float4eq(PG_FUNCTION_ARGS);extern Datum float4ne(PG_FUNCTION_ARGS);extern Datum float4lt(PG_FUNCTION_ARGS);extern Datum float4le(PG_FUNCTION_ARGS);extern Datum float4gt(PG_FUNCTION_ARGS);extern Datum float4ge(PG_FUNCTION_ARGS);extern Datum float8eq(PG_FUNCTION_ARGS);extern Datum float8ne(PG_FUNCTION_ARGS);extern Datum float8lt(PG_FUNCTION_ARGS);extern Datum float8le(PG_FUNCTION_ARGS);extern Datum float8gt(PG_FUNCTION_ARGS);extern Datum float8ge(PG_FUNCTION_ARGS);extern Datum ftod(PG_FUNCTION_ARGS);extern Datum i4tod(PG_FUNCTION_ARGS);extern Datum i2tod(PG_FUNCTION_ARGS);

⌨️ 快捷键说明

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