MobilityDB 1.1
Macros | Functions
basetype_inout.c File Reference
#include <postgres.h>
#include <utils/float.h>
#include <liblwgeom_internal.h>
Include dependency graph for basetype_inout.c:

Macros

#define MAXINT8LEN   20
 

Functions

bool bool_in (const char *in_str)
 Convert "t" or "f" to 1 or 0. More...
 
char * bool_out (bool b)
 Convert 1 or 0 to "t" or "f". More...
 
double float8_in (const char *num, const char *type_name, const char *orig_string)
 
double float8_in_opt_error (char *num, const char *type_name, const char *orig_string)
 
char * float8_out (double num, int maxdd)
 
int32 int4_in (const char *str)
 Return an int4 from a string. More...
 
char * int4_out (int32 val)
 Return a string from an int4. More...
 
int64 int8_in (const char *str)
 Return an int8 from a string. More...
 
char * int8_out (int64 val)
 Return a string from an int8. More...
 
static bool parse_bool_with_len (const char *value, size_t len, bool *result)
 
int32 pg_strtoint32 (const char *s)
 
int64 pg_strtoint64 (const char *s)
 Functions for string input/output base types taken from PostgreSQL version 14.2 source code. More...