mirror of
https://github.com/postgres/postgres.git
synced 2025-07-02 09:02:37 +03:00
bpchar, varchar, bytea, numeric are toastable --- if you initdb, which
I did not force. I marked numeric as compressable-but-not-move-off-able, partly to test that storage mode and partly because I've got doubts that numerics are large enough to need external storage.
This commit is contained in:
@ -7,7 +7,7 @@
|
||||
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
|
||||
* Portions Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* $Id: builtins.h,v 1.124 2000/07/17 03:05:32 tgl Exp $
|
||||
* $Id: builtins.h,v 1.125 2000/07/29 03:26:51 tgl Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -400,32 +400,32 @@ extern Datum bpchar(PG_FUNCTION_ARGS);
|
||||
extern Datum _bpchar(PG_FUNCTION_ARGS);
|
||||
extern Datum char_bpchar(PG_FUNCTION_ARGS);
|
||||
extern Datum bpchar_char(PG_FUNCTION_ARGS);
|
||||
extern char *name_bpchar(NameData *s);
|
||||
extern NameData *bpchar_name(char *s);
|
||||
extern bool bpchareq(char *arg1, char *arg2);
|
||||
extern bool bpcharne(char *arg1, char *arg2);
|
||||
extern bool bpcharlt(char *arg1, char *arg2);
|
||||
extern bool bpcharle(char *arg1, char *arg2);
|
||||
extern bool bpchargt(char *arg1, char *arg2);
|
||||
extern bool bpcharge(char *arg1, char *arg2);
|
||||
extern int32 bpcharcmp(char *arg1, char *arg2);
|
||||
extern int32 bpcharlen(char *arg);
|
||||
extern int32 bpcharoctetlen(char *arg);
|
||||
extern Datum name_bpchar(PG_FUNCTION_ARGS);
|
||||
extern Datum bpchar_name(PG_FUNCTION_ARGS);
|
||||
extern Datum bpchareq(PG_FUNCTION_ARGS);
|
||||
extern Datum bpcharne(PG_FUNCTION_ARGS);
|
||||
extern Datum bpcharlt(PG_FUNCTION_ARGS);
|
||||
extern Datum bpcharle(PG_FUNCTION_ARGS);
|
||||
extern Datum bpchargt(PG_FUNCTION_ARGS);
|
||||
extern Datum bpcharge(PG_FUNCTION_ARGS);
|
||||
extern Datum bpcharcmp(PG_FUNCTION_ARGS);
|
||||
extern Datum bpcharlen(PG_FUNCTION_ARGS);
|
||||
extern Datum bpcharoctetlen(PG_FUNCTION_ARGS);
|
||||
extern Datum hashbpchar(PG_FUNCTION_ARGS);
|
||||
|
||||
extern Datum varcharin(PG_FUNCTION_ARGS);
|
||||
extern Datum varcharout(PG_FUNCTION_ARGS);
|
||||
extern Datum varchar(PG_FUNCTION_ARGS);
|
||||
extern Datum _varchar(PG_FUNCTION_ARGS);
|
||||
extern bool varchareq(char *arg1, char *arg2);
|
||||
extern bool varcharne(char *arg1, char *arg2);
|
||||
extern bool varcharlt(char *arg1, char *arg2);
|
||||
extern bool varcharle(char *arg1, char *arg2);
|
||||
extern bool varchargt(char *arg1, char *arg2);
|
||||
extern bool varcharge(char *arg1, char *arg2);
|
||||
extern int32 varcharcmp(char *arg1, char *arg2);
|
||||
extern int32 varcharlen(char *arg);
|
||||
extern int32 varcharoctetlen(char *arg);
|
||||
extern Datum varchareq(PG_FUNCTION_ARGS);
|
||||
extern Datum varcharne(PG_FUNCTION_ARGS);
|
||||
extern Datum varcharlt(PG_FUNCTION_ARGS);
|
||||
extern Datum varcharle(PG_FUNCTION_ARGS);
|
||||
extern Datum varchargt(PG_FUNCTION_ARGS);
|
||||
extern Datum varcharge(PG_FUNCTION_ARGS);
|
||||
extern Datum varcharcmp(PG_FUNCTION_ARGS);
|
||||
extern Datum varcharlen(PG_FUNCTION_ARGS);
|
||||
extern Datum varcharoctetlen(PG_FUNCTION_ARGS);
|
||||
|
||||
/* varlena.c */
|
||||
extern Datum textin(PG_FUNCTION_ARGS);
|
||||
@ -447,9 +447,9 @@ extern Datum name_text(PG_FUNCTION_ARGS);
|
||||
extern Datum text_name(PG_FUNCTION_ARGS);
|
||||
extern int varstr_cmp(char *arg1, int len1, char *arg2, int len2);
|
||||
|
||||
extern bytea *byteain(char *inputText);
|
||||
extern char *byteaout(bytea *vlena);
|
||||
extern int32 byteaoctetlen(bytea *v);
|
||||
extern Datum byteain(PG_FUNCTION_ARGS);
|
||||
extern Datum byteaout(PG_FUNCTION_ARGS);
|
||||
extern Datum byteaoctetlen(PG_FUNCTION_ARGS);
|
||||
extern Datum byteaGetByte(PG_FUNCTION_ARGS);
|
||||
extern Datum byteaGetBit(PG_FUNCTION_ARGS);
|
||||
extern Datum byteaSetByte(PG_FUNCTION_ARGS);
|
||||
@ -527,43 +527,43 @@ extern Datum macaddr_manuf(PG_FUNCTION_ARGS);
|
||||
extern Datum numeric_in(PG_FUNCTION_ARGS);
|
||||
extern Datum numeric_out(PG_FUNCTION_ARGS);
|
||||
extern Datum numeric(PG_FUNCTION_ARGS);
|
||||
extern Numeric numeric_abs(Numeric num);
|
||||
extern Numeric numeric_uminus(Numeric num);
|
||||
extern Numeric numeric_sign(Numeric num);
|
||||
extern Datum numeric_abs(PG_FUNCTION_ARGS);
|
||||
extern Datum numeric_uminus(PG_FUNCTION_ARGS);
|
||||
extern Datum numeric_sign(PG_FUNCTION_ARGS);
|
||||
extern Datum numeric_round(PG_FUNCTION_ARGS);
|
||||
extern Datum numeric_trunc(PG_FUNCTION_ARGS);
|
||||
extern Numeric numeric_ceil(Numeric num);
|
||||
extern Numeric numeric_floor(Numeric num);
|
||||
extern int32 numeric_cmp(Numeric num1, Numeric num2);
|
||||
extern bool numeric_eq(Numeric num1, Numeric num2);
|
||||
extern bool numeric_ne(Numeric num1, Numeric num2);
|
||||
extern bool numeric_gt(Numeric num1, Numeric num2);
|
||||
extern bool numeric_ge(Numeric num1, Numeric num2);
|
||||
extern bool numeric_lt(Numeric num1, Numeric num2);
|
||||
extern bool numeric_le(Numeric num1, Numeric num2);
|
||||
extern Numeric numeric_add(Numeric num1, Numeric num2);
|
||||
extern Numeric numeric_sub(Numeric num1, Numeric num2);
|
||||
extern Numeric numeric_mul(Numeric num1, Numeric num2);
|
||||
extern Numeric numeric_div(Numeric num1, Numeric num2);
|
||||
extern Numeric numeric_mod(Numeric num1, Numeric num2);
|
||||
extern Numeric numeric_inc(Numeric num);
|
||||
extern Numeric numeric_smaller(Numeric num1, Numeric num2);
|
||||
extern Numeric numeric_larger(Numeric num1, Numeric num2);
|
||||
extern Numeric numeric_sqrt(Numeric num);
|
||||
extern Numeric numeric_exp(Numeric num);
|
||||
extern Numeric numeric_ln(Numeric num);
|
||||
extern Numeric numeric_log(Numeric num1, Numeric num2);
|
||||
extern Numeric numeric_power(Numeric num1, Numeric num2);
|
||||
extern Datum numeric_ceil(PG_FUNCTION_ARGS);
|
||||
extern Datum numeric_floor(PG_FUNCTION_ARGS);
|
||||
extern Datum numeric_cmp(PG_FUNCTION_ARGS);
|
||||
extern Datum numeric_eq(PG_FUNCTION_ARGS);
|
||||
extern Datum numeric_ne(PG_FUNCTION_ARGS);
|
||||
extern Datum numeric_gt(PG_FUNCTION_ARGS);
|
||||
extern Datum numeric_ge(PG_FUNCTION_ARGS);
|
||||
extern Datum numeric_lt(PG_FUNCTION_ARGS);
|
||||
extern Datum numeric_le(PG_FUNCTION_ARGS);
|
||||
extern Datum numeric_add(PG_FUNCTION_ARGS);
|
||||
extern Datum numeric_sub(PG_FUNCTION_ARGS);
|
||||
extern Datum numeric_mul(PG_FUNCTION_ARGS);
|
||||
extern Datum numeric_div(PG_FUNCTION_ARGS);
|
||||
extern Datum numeric_mod(PG_FUNCTION_ARGS);
|
||||
extern Datum numeric_inc(PG_FUNCTION_ARGS);
|
||||
extern Datum numeric_smaller(PG_FUNCTION_ARGS);
|
||||
extern Datum numeric_larger(PG_FUNCTION_ARGS);
|
||||
extern Datum numeric_sqrt(PG_FUNCTION_ARGS);
|
||||
extern Datum numeric_exp(PG_FUNCTION_ARGS);
|
||||
extern Datum numeric_ln(PG_FUNCTION_ARGS);
|
||||
extern Datum numeric_log(PG_FUNCTION_ARGS);
|
||||
extern Datum numeric_power(PG_FUNCTION_ARGS);
|
||||
extern Datum int4_numeric(PG_FUNCTION_ARGS);
|
||||
extern int32 numeric_int4(Numeric num);
|
||||
extern Datum numeric_int4(PG_FUNCTION_ARGS);
|
||||
extern Datum int8_numeric(PG_FUNCTION_ARGS);
|
||||
extern int64 *numeric_int8(Numeric num);
|
||||
extern Datum numeric_int8(PG_FUNCTION_ARGS);
|
||||
extern Datum int2_numeric(PG_FUNCTION_ARGS);
|
||||
extern Datum numeric_int2(PG_FUNCTION_ARGS);
|
||||
extern Numeric float8_numeric(float64 val);
|
||||
extern float64 numeric_float8(Numeric num);
|
||||
extern Numeric float4_numeric(float32 val);
|
||||
extern float32 numeric_float4(Numeric num);
|
||||
extern Datum float8_numeric(PG_FUNCTION_ARGS);
|
||||
extern Datum numeric_float8(PG_FUNCTION_ARGS);
|
||||
extern Datum float4_numeric(PG_FUNCTION_ARGS);
|
||||
extern Datum numeric_float4(PG_FUNCTION_ARGS);
|
||||
extern Datum numeric_accum(PG_FUNCTION_ARGS);
|
||||
extern Datum int2_accum(PG_FUNCTION_ARGS);
|
||||
extern Datum int4_accum(PG_FUNCTION_ARGS);
|
||||
|
Reference in New Issue
Block a user