New version. Add support for int2, int8, float4, float8, timestamp with/without time zone, time with/without time zone, date, interval, oid, money and macaddr, char, varchar/text, bytea, numeric, bit, varbit, inet/cidr types for GiST
2004-05-28 14:43:32 +04:00
|
|
|
#include "btree_gist.h"
|
|
|
|
|
|
|
|
PG_FUNCTION_INFO_V1(gbt_decompress);
|
2004-08-29 09:07:03 +04:00
|
|
|
PG_FUNCTION_INFO_V1(gbtreekey_in);
|
New version. Add support for int2, int8, float4, float8, timestamp with/without time zone, time with/without time zone, date, interval, oid, money and macaddr, char, varchar/text, bytea, numeric, bit, varbit, inet/cidr types for GiST
2004-05-28 14:43:32 +04:00
|
|
|
PG_FUNCTION_INFO_V1(gbtreekey_out);
|
|
|
|
|
2004-08-29 09:07:03 +04:00
|
|
|
Datum gbt_decompress(PG_FUNCTION_ARGS);
|
New version. Add support for int2, int8, float4, float8, timestamp with/without time zone, time with/without time zone, date, interval, oid, money and macaddr, char, varchar/text, bytea, numeric, bit, varbit, inet/cidr types for GiST
2004-05-28 14:43:32 +04:00
|
|
|
|
|
|
|
/**************************************************
|
|
|
|
* In/Out for keys
|
|
|
|
**************************************************/
|
|
|
|
|
2004-08-29 09:07:03 +04:00
|
|
|
|
New version. Add support for int2, int8, float4, float8, timestamp with/without time zone, time with/without time zone, date, interval, oid, money and macaddr, char, varchar/text, bytea, numeric, bit, varbit, inet/cidr types for GiST
2004-05-28 14:43:32 +04:00
|
|
|
Datum
|
|
|
|
gbtreekey_in(PG_FUNCTION_ARGS)
|
|
|
|
{
|
2004-08-29 09:07:03 +04:00
|
|
|
ereport(ERROR,
|
|
|
|
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
|
|
|
|
errmsg("<datatype>key_in() not implemented")));
|
New version. Add support for int2, int8, float4, float8, timestamp with/without time zone, time with/without time zone, date, interval, oid, money and macaddr, char, varchar/text, bytea, numeric, bit, varbit, inet/cidr types for GiST
2004-05-28 14:43:32 +04:00
|
|
|
|
2004-08-29 09:07:03 +04:00
|
|
|
PG_RETURN_POINTER(NULL);
|
New version. Add support for int2, int8, float4, float8, timestamp with/without time zone, time with/without time zone, date, interval, oid, money and macaddr, char, varchar/text, bytea, numeric, bit, varbit, inet/cidr types for GiST
2004-05-28 14:43:32 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
#include "btree_utils_var.h"
|
|
|
|
#include "utils/builtins.h"
|
|
|
|
Datum
|
|
|
|
gbtreekey_out(PG_FUNCTION_ARGS)
|
|
|
|
{
|
2004-08-29 09:07:03 +04:00
|
|
|
ereport(ERROR,
|
|
|
|
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
|
|
|
|
errmsg("<datatype>key_out() not implemented")));
|
|
|
|
PG_RETURN_POINTER(NULL);
|
New version. Add support for int2, int8, float4, float8, timestamp with/without time zone, time with/without time zone, date, interval, oid, money and macaddr, char, varchar/text, bytea, numeric, bit, varbit, inet/cidr types for GiST
2004-05-28 14:43:32 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
** GiST DeCompress methods
|
|
|
|
** do not do anything.
|
|
|
|
*/
|
|
|
|
Datum
|
|
|
|
gbt_decompress(PG_FUNCTION_ARGS)
|
|
|
|
{
|
2004-08-29 09:07:03 +04:00
|
|
|
PG_RETURN_POINTER(PG_GETARG_POINTER(0));
|
New version. Add support for int2, int8, float4, float8, timestamp with/without time zone, time with/without time zone, date, interval, oid, money and macaddr, char, varchar/text, bytea, numeric, bit, varbit, inet/cidr types for GiST
2004-05-28 14:43:32 +04:00
|
|
|
}
|