PGROUTING  2.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
get_check_data.c File Reference
#include "./../../common/src/postgres_connection.h"
#include "catalog/pg_type.h"
#include "./pgr_types.h"
#include "./debug_macro.h"
#include "./get_check_data.h"

Go to the source code of this file.

Functions

bool column_found (int colNumber)
 
static bool fetch_column_info (Column_info_t *info)
 
void pgr_check_any_integer_type (Column_info_t info)
 
void pgr_check_any_numerical_type (Column_info_t info)
 
void pgr_check_char_type (Column_info_t info)
 
void pgr_check_text_type (Column_info_t info)
 
void pgr_fetch_column_info (Column_info_t info[], int info_size)
 
int64_t pgr_SPI_getBigInt (HeapTuple *tuple, TupleDesc *tupdesc, Column_info_t info)
 
char pgr_SPI_getChar (HeapTuple *tuple, TupleDesc *tupdesc, Column_info_t info, bool strict, char default_value)
 
double pgr_SPI_getFloat8 (HeapTuple *tuple, TupleDesc *tupdesc, Column_info_t info)
 
char * pgr_SPI_getText (HeapTuple *tuple, TupleDesc *tupdesc, Column_info_t info)
 under development More...
 
char * pgr_stradd (const char *a, const char *b)
 

Function Documentation

bool column_found ( int  colNumber)
static bool fetch_column_info ( Column_info_t info)
static
void pgr_check_any_integer_type ( Column_info_t  info)

Definition at line 115 of file get_check_data.c.

References Column_info_t::name, and Column_info_t::type.

Referenced by pgr_fetch_column_info().

void pgr_check_any_numerical_type ( Column_info_t  info)

Definition at line 125 of file get_check_data.c.

References Column_info_t::name, and Column_info_t::type.

Referenced by pgr_fetch_column_info().

void pgr_check_char_type ( Column_info_t  info)

Definition at line 101 of file get_check_data.c.

References Column_info_t::name, and Column_info_t::type.

Referenced by pgr_fetch_column_info().

void pgr_check_text_type ( Column_info_t  info)

Definition at line 108 of file get_check_data.c.

References Column_info_t::name, and Column_info_t::type.

Referenced by pgr_fetch_column_info().

int64_t pgr_SPI_getBigInt ( HeapTuple *  tuple,
TupleDesc *  tupdesc,
Column_info_t  info 
)
char pgr_SPI_getChar ( HeapTuple *  tuple,
TupleDesc *  tupdesc,
Column_info_t  info,
bool  strict,
char  default_value 
)

Definition at line 142 of file get_check_data.c.

References Column_info_t::colNumber, Column_info_t::name, and Column_info_t::type.

Referenced by fetch_point().

double pgr_SPI_getFloat8 ( HeapTuple *  tuple,
TupleDesc *  tupdesc,
Column_info_t  info 
)
char* pgr_SPI_getText ( HeapTuple *  tuple,
TupleDesc *  tupdesc,
Column_info_t  info 
)

under development

Definition at line 233 of file get_check_data.c.

References Column_info_t::colNumber.

char* pgr_stradd ( const char *  a,
const char *  b 
)

Definition at line 35 of file get_check_data.c.