PostgreSQL Source Code
git master
|
Go to the source code of this file.
Data Structures | |
struct | BoolAggState |
Typedefs | |
typedef struct BoolAggState | BoolAggState |
Functions | |
bool | parse_bool (const char *value, bool *result) |
bool | parse_bool_with_len (const char *value, size_t len, bool *result) |
Datum | boolin (PG_FUNCTION_ARGS) |
Datum | boolout (PG_FUNCTION_ARGS) |
Datum | boolrecv (PG_FUNCTION_ARGS) |
Datum | boolsend (PG_FUNCTION_ARGS) |
Datum | booltext (PG_FUNCTION_ARGS) |
Datum | booleq (PG_FUNCTION_ARGS) |
Datum | boolne (PG_FUNCTION_ARGS) |
Datum | boollt (PG_FUNCTION_ARGS) |
Datum | boolgt (PG_FUNCTION_ARGS) |
Datum | boolle (PG_FUNCTION_ARGS) |
Datum | boolge (PG_FUNCTION_ARGS) |
Datum | booland_statefunc (PG_FUNCTION_ARGS) |
Datum | boolor_statefunc (PG_FUNCTION_ARGS) |
static BoolAggState * | makeBoolAggState (FunctionCallInfo fcinfo) |
Datum | bool_accum (PG_FUNCTION_ARGS) |
Datum | bool_accum_inv (PG_FUNCTION_ARGS) |
Datum | bool_alltrue (PG_FUNCTION_ARGS) |
Datum | bool_anytrue (PG_FUNCTION_ARGS) |
typedef struct BoolAggState BoolAggState |
Datum bool_accum | ( | PG_FUNCTION_ARGS | ) |
Definition at line 328 of file bool.c.
References makeBoolAggState(), PG_ARGISNULL, PG_GETARG_BOOL, PG_GETARG_POINTER, and PG_RETURN_POINTER.
Datum bool_accum_inv | ( | PG_FUNCTION_ARGS | ) |
Definition at line 349 of file bool.c.
References elog(), ERROR, PG_ARGISNULL, PG_GETARG_BOOL, PG_GETARG_POINTER, and PG_RETURN_POINTER.
Datum bool_alltrue | ( | PG_FUNCTION_ARGS | ) |
Definition at line 370 of file bool.c.
References PG_ARGISNULL, PG_GETARG_POINTER, PG_RETURN_BOOL, and PG_RETURN_NULL.
Datum bool_anytrue | ( | PG_FUNCTION_ARGS | ) |
Definition at line 385 of file bool.c.
References PG_ARGISNULL, PG_GETARG_POINTER, PG_RETURN_BOOL, and PG_RETURN_NULL.
Datum booland_statefunc | ( | PG_FUNCTION_ARGS | ) |
Definition at line 287 of file bool.c.
References PG_GETARG_BOOL, and PG_RETURN_BOOL.
Datum booleq | ( | PG_FUNCTION_ARGS | ) |
Datum boolge | ( | PG_FUNCTION_ARGS | ) |
Datum boolgt | ( | PG_FUNCTION_ARGS | ) |
Datum boolin | ( | PG_FUNCTION_ARGS | ) |
Definition at line 126 of file bool.c.
References ereturn, errcode(), errmsg(), len, parse_bool_with_len(), PG_GETARG_CSTRING, PG_RETURN_BOOL, and generate_unaccent_rules::str.
Datum boolle | ( | PG_FUNCTION_ARGS | ) |
Datum boollt | ( | PG_FUNCTION_ARGS | ) |
Datum boolne | ( | PG_FUNCTION_ARGS | ) |
Datum boolor_statefunc | ( | PG_FUNCTION_ARGS | ) |
Definition at line 299 of file bool.c.
References PG_GETARG_BOOL, and PG_RETURN_BOOL.
Datum boolout | ( | PG_FUNCTION_ARGS | ) |
Definition at line 157 of file bool.c.
References b, palloc(), PG_GETARG_BOOL, and PG_RETURN_CSTRING.
Datum boolrecv | ( | PG_FUNCTION_ARGS | ) |
Definition at line 174 of file bool.c.
References buf, PG_GETARG_POINTER, PG_RETURN_BOOL, and pq_getmsgbyte().
Datum boolsend | ( | PG_FUNCTION_ARGS | ) |
Definition at line 187 of file bool.c.
References buf, PG_GETARG_BOOL, PG_RETURN_BYTEA_P, pq_begintypsend(), pq_endtypsend(), and pq_sendbyte().
Datum booltext | ( | PG_FUNCTION_ARGS | ) |
Definition at line 204 of file bool.c.
References cstring_to_text(), PG_GETARG_BOOL, PG_RETURN_TEXT_P, and generate_unaccent_rules::str.
|
static |
Definition at line 311 of file bool.c.
References AggCheckCallContext(), elog(), ERROR, and MemoryContextAlloc().
Referenced by bool_accum().
Definition at line 30 of file bool.c.
References parse_bool_with_len(), and value.
Referenced by GrantRole(), parse_and_validate_value(), parse_basebackup_options(), parse_extension_control_file(), parse_one_reloption(), pg_decode_startup(), and ProcessStartupPacket().
Definition at line 36 of file bool.c.
References len, pg_strncasecmp(), and value.
Referenced by boolin(), and parse_bool().