26 #include "utils/fmgrprotos.h"
34 #define PSEUDOTYPE_DUMMY_INPUT_FUNC(typname) \
36 typname##_in(PG_FUNCTION_ARGS) \
39 (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), \
40 errmsg("cannot accept a value of type %s", #typname))); \
45 extern int no_such_variable
47 #define PSEUDOTYPE_DUMMY_IO_FUNCS(typname) \
48 PSEUDOTYPE_DUMMY_INPUT_FUNC(typname); \
51 typname##_out(PG_FUNCTION_ARGS) \
54 (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), \
55 errmsg("cannot display a value of type %s", #typname))); \
60 extern int no_such_variable
68 #define PSEUDOTYPE_DUMMY_RECEIVE_FUNC(typname) \
70 typname##_recv(PG_FUNCTION_ARGS) \
73 (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), \
74 errmsg("cannot accept a value of type %s", #typname))); \
79 extern int no_such_variable
81 #define PSEUDOTYPE_DUMMY_BINARY_IO_FUNCS(typname) \
82 PSEUDOTYPE_DUMMY_RECEIVE_FUNC(typname); \
85 typname##_send(PG_FUNCTION_ARGS) \
88 (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), \
89 errmsg("cannot display a value of type %s", #typname))); \
94 extern int no_such_variable
306 (
errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
307 errmsg(
"cannot accept a value of a shell type")));
316 (
errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
317 errmsg(
"cannot display a value of a shell type")));
Datum array_send(PG_FUNCTION_ARGS)
Datum array_out(PG_FUNCTION_ARGS)
int errcode(int sqlerrcode)
int errmsg(const char *fmt,...)
#define ereport(elevel,...)
Datum enum_out(PG_FUNCTION_ARGS)
#define PG_RETURN_BYTEA_P(x)
#define PG_GETARG_POINTER(n)
#define PG_RETURN_CSTRING(x)
#define PG_GETARG_CSTRING(n)
char * pstrdup(const char *in)
Datum multirange_out(PG_FUNCTION_ARGS)
Datum anyrange_out(PG_FUNCTION_ARGS)
Datum pg_node_tree_send(PG_FUNCTION_ARGS)
Datum anymultirange_out(PG_FUNCTION_ARGS)
#define PSEUDOTYPE_DUMMY_RECEIVE_FUNC(typname)
Datum cstring_out(PG_FUNCTION_ARGS)
Datum anycompatiblearray_send(PG_FUNCTION_ARGS)
Datum shell_in(PG_FUNCTION_ARGS)
Datum void_send(PG_FUNCTION_ARGS)
Datum void_in(PG_FUNCTION_ARGS)
Datum void_recv(PG_FUNCTION_ARGS)
Datum anycompatiblemultirange_out(PG_FUNCTION_ARGS)
#define PSEUDOTYPE_DUMMY_INPUT_FUNC(typname)
Datum cstring_recv(PG_FUNCTION_ARGS)
Datum anyarray_out(PG_FUNCTION_ARGS)
Datum pg_node_tree_out(PG_FUNCTION_ARGS)
#define PSEUDOTYPE_DUMMY_BINARY_IO_FUNCS(typname)
#define PSEUDOTYPE_DUMMY_IO_FUNCS(typname)
Datum void_out(PG_FUNCTION_ARGS)
Datum anyarray_send(PG_FUNCTION_ARGS)
Datum cstring_in(PG_FUNCTION_ARGS)
Datum anycompatiblerange_out(PG_FUNCTION_ARGS)
Datum anyenum_out(PG_FUNCTION_ARGS)
Datum shell_out(PG_FUNCTION_ARGS)
Datum anycompatiblearray_out(PG_FUNCTION_ARGS)
Datum cstring_send(PG_FUNCTION_ARGS)
Datum range_out(PG_FUNCTION_ARGS)
StringInfoData * StringInfo
Datum textsend(PG_FUNCTION_ARGS)
Datum textout(PG_FUNCTION_ARGS)