PGROUTING
3.2
|
#include "c_common/restrictions_input.h"
#include "c_types/column_info_t.h"
#include "c_common/debug_macro.h"
#include "c_common/time_msg.h"
#include "c_common/get_check_data.h"
Go to the source code of this file.
Functions | |
static void | fetch_restriction (HeapTuple *tuple, TupleDesc *tupdesc, Column_info_t info[3], Restriction_t *restriction) |
void | pgr_get_restrictions (char *restrictions_sql, Restriction_t **restrictions, size_t *total_restrictions) |
|
static |
Definition at line 35 of file restrictions_input.c.
References column_found(), Restriction_t::cost, Restriction_t::id, pgr_SPI_getBigInt(), pgr_SPI_getBigIntArr(), pgr_SPI_getFloat8(), Restriction_t::via, and Restriction_t::via_size.
Referenced by pgr_get_restrictions().
void pgr_get_restrictions | ( | char * | restrictions_sql, |
Restriction_t ** | restrictions, | ||
size_t * | total_restrictions | ||
) |
Definition at line 63 of file restrictions_input.c.
References ANY_INTEGER, ANY_INTEGER_ARRAY, ANY_NUMERICAL, Column_info_t::colNumber, Column_info_t::eType, fetch_restriction(), Column_info_t::name, PGR_DBG, pgr_fetch_column_info(), pgr_SPI_cursor_open(), pgr_SPI_prepare(), Column_info_t::strict, time_msg(), and Column_info_t::type.
Referenced by compute_trsp(), and process().