PostgreSQL Source Code  git master
btree_gist.c
Go to the documentation of this file.
1 /*
2  * contrib/btree_gist/btree_gist.c
3  */
4 #include "postgres.h"
5 
6 #include "btree_gist.h"
7 
9 
13 
14 /**************************************************
15  * In/Out for keys
16  **************************************************/
17 
18 
19 Datum
21 {
22  ereport(ERROR,
23  (errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
24  errmsg("<datatype>key_in() not implemented")));
25 
26  PG_RETURN_POINTER(NULL);
27 }
28 
29 #include "btree_utils_var.h"
30 #include "utils/builtins.h"
31 Datum
33 {
34  ereport(ERROR,
35  (errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
36  errmsg("<datatype>key_out() not implemented")));
37  PG_RETURN_POINTER(NULL);
38 }
39 
40 
41 /*
42 ** GiST DeCompress methods
43 ** do not do anything.
44 */
45 Datum
47 {
49 }
#define PG_RETURN_POINTER(x)
Definition: fmgr.h:321
int errcode(int sqlerrcode)
Definition: elog.c:575
#define PG_GETARG_POINTER(n)
Definition: fmgr.h:241
#define ERROR
Definition: elog.h:43
Datum gbtreekey_out(PG_FUNCTION_ARGS)
Definition: btree_gist.c:32
PG_MODULE_MAGIC
Definition: btree_gist.c:8
#define ereport(elevel, rest)
Definition: elog.h:122
uintptr_t Datum
Definition: postgres.h:372
Datum gbtreekey_in(PG_FUNCTION_ARGS)
Definition: btree_gist.c:20
PG_FUNCTION_INFO_V1(gbt_decompress)
Datum gbt_decompress(PG_FUNCTION_ARGS)
Definition: btree_gist.c:46
int errmsg(const char *fmt,...)
Definition: elog.c:797
#define PG_FUNCTION_ARGS
Definition: fmgr.h:158