PostgreSQL Source Code  git master
btree_gist.c File Reference
#include "postgres.h"
#include "btree_gist.h"
#include "btree_utils_var.h"
#include "utils/builtins.h"
Include dependency graph for btree_gist.c:

Go to the source code of this file.

Functions

 PG_FUNCTION_INFO_V1 (gbt_decompress)
 
 PG_FUNCTION_INFO_V1 (gbtreekey_in)
 
 PG_FUNCTION_INFO_V1 (gbtreekey_out)
 
Datum gbtreekey_in (PG_FUNCTION_ARGS)
 
Datum gbtreekey_out (PG_FUNCTION_ARGS)
 
Datum gbt_decompress (PG_FUNCTION_ARGS)
 

Variables

 PG_MODULE_MAGIC
 

Function Documentation

◆ gbt_decompress()

Datum gbt_decompress ( PG_FUNCTION_ARGS  )

Definition at line 46 of file btree_gist.c.

References PG_GETARG_POINTER, and PG_RETURN_POINTER.

47 {
49 }
#define PG_RETURN_POINTER(x)
Definition: fmgr.h:321
#define PG_GETARG_POINTER(n)
Definition: fmgr.h:241

◆ gbtreekey_in()

Datum gbtreekey_in ( PG_FUNCTION_ARGS  )

Definition at line 20 of file btree_gist.c.

References ereport, errcode(), errmsg(), ERROR, and PG_RETURN_POINTER.

21 {
22  ereport(ERROR,
23  (errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
24  errmsg("<datatype>key_in() not implemented")));
25 
26  PG_RETURN_POINTER(NULL);
27 }
#define PG_RETURN_POINTER(x)
Definition: fmgr.h:321
int errcode(int sqlerrcode)
Definition: elog.c:575
#define ERROR
Definition: elog.h:43
#define ereport(elevel, rest)
Definition: elog.h:122
int errmsg(const char *fmt,...)
Definition: elog.c:797

◆ gbtreekey_out()

Datum gbtreekey_out ( PG_FUNCTION_ARGS  )

Definition at line 32 of file btree_gist.c.

References ereport, errcode(), errmsg(), ERROR, and PG_RETURN_POINTER.

33 {
34  ereport(ERROR,
35  (errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
36  errmsg("<datatype>key_out() not implemented")));
37  PG_RETURN_POINTER(NULL);
38 }
#define PG_RETURN_POINTER(x)
Definition: fmgr.h:321
int errcode(int sqlerrcode)
Definition: elog.c:575
#define ERROR
Definition: elog.h:43
#define ereport(elevel, rest)
Definition: elog.h:122
int errmsg(const char *fmt,...)
Definition: elog.c:797

◆ PG_FUNCTION_INFO_V1() [1/3]

PG_FUNCTION_INFO_V1 ( gbt_decompress  )

◆ PG_FUNCTION_INFO_V1() [2/3]

PG_FUNCTION_INFO_V1 ( gbtreekey_in  )

◆ PG_FUNCTION_INFO_V1() [3/3]

PG_FUNCTION_INFO_V1 ( gbtreekey_out  )

Variable Documentation

◆ PG_MODULE_MAGIC

PG_MODULE_MAGIC

Definition at line 8 of file btree_gist.c.