|
PostgreSQL Source Code git master
|
#include "postgres.h"#include "executor/executor.h"#include "utils/fmgrprotos.h"#include "utils/geo_decls.h"#include "varatt.h"
Go to the source code of this file.
Variables | |
| PG_MODULE_MAGIC | |
| Datum add_one | ( | PG_FUNCTION_ARGS | ) |
Definition at line 26 of file funcs.c.
References arg, PG_GETARG_INT32, and PG_RETURN_INT32.
| Datum add_one_float8 | ( | PG_FUNCTION_ARGS | ) |
Definition at line 38 of file funcs.c.
References arg, PG_GETARG_FLOAT8, and PG_RETURN_FLOAT8.
| Datum c_overpaid | ( | PG_FUNCTION_ARGS | ) |
Definition at line 131 of file funcs.c.
References DatumGetInt32(), GetAttributeByName(), PG_GETARG_HEAPTUPLEHEADER, PG_GETARG_INT32, and PG_RETURN_BOOL.
| Datum concat_text | ( | PG_FUNCTION_ARGS | ) |
Definition at line 92 of file funcs.c.
References palloc(), PG_GETARG_TEXT_PP, PG_RETURN_TEXT_P, SET_VARSIZE(), VARDATA(), VARDATA_ANY(), VARHDRSZ, and VARSIZE_ANY_EXHDR().
| Datum copytext | ( | PG_FUNCTION_ARGS | ) |
Definition at line 66 of file funcs.c.
References palloc(), PG_GETARG_TEXT_PP, PG_RETURN_TEXT_P, SET_VARSIZE(), VARDATA(), VARDATA_ANY(), VARHDRSZ, and VARSIZE_ANY_EXHDR().
| Datum makepoint | ( | PG_FUNCTION_ARGS | ) |
Definition at line 49 of file funcs.c.
References palloc(), PG_GETARG_POINT_P, PG_RETURN_POINT_P, Point::x, and Point::y.
| PG_FUNCTION_INFO_V1 | ( | add_one | ) |
| PG_FUNCTION_INFO_V1 | ( | add_one_float8 | ) |
| PG_FUNCTION_INFO_V1 | ( | c_overpaid | ) |
| PG_FUNCTION_INFO_V1 | ( | concat_text | ) |
| PG_FUNCTION_INFO_V1 | ( | copytext | ) |
| PG_FUNCTION_INFO_V1 | ( | makepoint | ) |
| PG_FUNCTION_INFO_V1 | ( | t_starts_with | ) |
| Datum t_starts_with | ( | PG_FUNCTION_ARGS | ) |
Definition at line 112 of file funcs.c.
References collid, DatumGetBool(), DirectFunctionCall2Coll(), PG_GET_COLLATION, PG_GETARG_TEXT_PP, PG_RETURN_BOOL, PointerGetDatum(), and text_starts_with().