All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
customers_input.c File Reference

Go to the source code of this file.


static void fetch_customer (HeapTuple *tuple, TupleDesc *tupdesc, Column_info_t info[9], Customer_t *customer)
void pgr_get_customers_data (char *customers_sql, Customer_t **customers, size_t *total_customers)

Function Documentation

static void fetch_customer ( HeapTuple *  tuple,
TupleDesc *  tupdesc,
Column_info_t  info[9],
Customer_t customer 
void pgr_get_customers_data ( char *  customers_sql,
Customer_t **  customers,
size_t *  total_customers 

int64_t id; double x; double y; double demand; double Etime; double Ltime; double Stime; int64_t Pindex; int64_t Dindex; double Ddist;

Definition at line 54 of file customers_input.c.

References ANY_INTEGER, ANY_NUMERICAL, Column_info_t::colNumber, Column_info_t::eType, fetch_customer(), Column_info_t::name, PGR_DBG, pgr_fetch_column_info(), pgr_SPI_cursor_open(), pgr_SPI_prepare(), Column_info_t::strict, and Column_info_t::type.

Referenced by process().