PostgreSQL Source Code
git master
|
Go to the source code of this file.
Data Structures | |
struct | Complex |
Macros | |
#define | Mag(c) ((c)->x*(c)->x + (c)->y*(c)->y) |
Typedefs | |
typedef struct Complex | Complex |
Variables | |
PG_MODULE_MAGIC | |
Datum complex_abs_cmp | ( | PG_FUNCTION_ARGS | ) |
Definition at line 203 of file complex.c.
References a, b, complex_abs_cmp_internal(), PG_GETARG_POINTER, and PG_RETURN_INT32.
Definition at line 132 of file complex.c.
Referenced by complex_abs_cmp(), complex_abs_eq(), complex_abs_ge(), complex_abs_gt(), complex_abs_le(), and complex_abs_lt().
Datum complex_abs_eq | ( | PG_FUNCTION_ARGS | ) |
Definition at line 170 of file complex.c.
References a, b, complex_abs_cmp_internal(), PG_GETARG_POINTER, and PG_RETURN_BOOL.
Datum complex_abs_ge | ( | PG_FUNCTION_ARGS | ) |
Definition at line 181 of file complex.c.
References a, b, complex_abs_cmp_internal(), PG_GETARG_POINTER, and PG_RETURN_BOOL.
Datum complex_abs_gt | ( | PG_FUNCTION_ARGS | ) |
Definition at line 192 of file complex.c.
References a, b, complex_abs_cmp_internal(), PG_GETARG_POINTER, and PG_RETURN_BOOL.
Datum complex_abs_le | ( | PG_FUNCTION_ARGS | ) |
Definition at line 159 of file complex.c.
References a, b, complex_abs_cmp_internal(), PG_GETARG_POINTER, and PG_RETURN_BOOL.
Datum complex_abs_lt | ( | PG_FUNCTION_ARGS | ) |
Definition at line 148 of file complex.c.
References a, b, complex_abs_cmp_internal(), PG_GETARG_POINTER, and PG_RETURN_BOOL.
Datum complex_add | ( | PG_FUNCTION_ARGS | ) |
Definition at line 105 of file complex.c.
References a, b, palloc(), PG_GETARG_POINTER, PG_RETURN_POINTER, Complex::x, and Complex::y.
Datum complex_in | ( | PG_FUNCTION_ARGS | ) |
Definition at line 31 of file complex.c.
References ereport, errcode(), errmsg(), ERROR, palloc(), PG_GETARG_CSTRING, PG_RETURN_POINTER, str, x, Complex::x, y, and Complex::y.
Datum complex_out | ( | PG_FUNCTION_ARGS | ) |
Definition at line 53 of file complex.c.
References PG_GETARG_POINTER, PG_RETURN_CSTRING, psprintf(), Complex::x, and Complex::y.
Datum complex_recv | ( | PG_FUNCTION_ARGS | ) |
Definition at line 71 of file complex.c.
References buf, palloc(), PG_GETARG_POINTER, PG_RETURN_POINTER, pq_getmsgfloat8(), Complex::x, and Complex::y.
Datum complex_send | ( | PG_FUNCTION_ARGS | ) |
Definition at line 85 of file complex.c.
References buf, PG_GETARG_POINTER, PG_RETURN_BYTEA_P, pq_begintypsend(), pq_endtypsend(), pq_sendfloat8(), Complex::x, and Complex::y.
PG_FUNCTION_INFO_V1 | ( | complex_abs_cmp | ) |
PG_FUNCTION_INFO_V1 | ( | complex_abs_eq | ) |
PG_FUNCTION_INFO_V1 | ( | complex_abs_ge | ) |
PG_FUNCTION_INFO_V1 | ( | complex_abs_gt | ) |
PG_FUNCTION_INFO_V1 | ( | complex_abs_le | ) |
PG_FUNCTION_INFO_V1 | ( | complex_abs_lt | ) |
PG_FUNCTION_INFO_V1 | ( | complex_add | ) |
PG_FUNCTION_INFO_V1 | ( | complex_in | ) |
PG_FUNCTION_INFO_V1 | ( | complex_out | ) |
PG_FUNCTION_INFO_V1 | ( | complex_recv | ) |
PG_FUNCTION_INFO_V1 | ( | complex_send | ) |