![]() |
PGROUTING
2.6
|
Connecting code with postgres. More...
#include "c_common/postgres_connection.h"
#include "c_common/debug_macro.h"
#include "c_common/e_report.h"
#include "c_common/time_msg.h"
#include "c_common/edges_input.h"
#include "drivers/components/strongComponents_driver.h"
Go to the source code of this file.
Functions | |
PG_FUNCTION_INFO_V1 (strongComponents) | |
static void | process (char *edges_sql, pgr_components_rt **result_tuples, size_t *result_count) |
PGDLLEXPORT Datum | strongComponents (PG_FUNCTION_ARGS) |
postgres_connection.h More... | |
Connecting code with postgres.
This file is fully documented for understanding how the postgres connectinon works
TODO Remove unnecessary comments before submiting the function. some comments are in form of PGR_DBG message
Definition in file strongComponents.c.
PG_FUNCTION_INFO_V1 | ( | strongComponents | ) |
|
static |
Definition at line 68 of file strongComponents.c.
References do_pgr_strongComponents(), PGR_DBG, pgr_get_edges(), pgr_global_report(), pgr_SPI_connect(), pgr_SPI_finish(), and time_msg().
Referenced by strongComponents().
PGDLLEXPORT Datum strongComponents | ( | PG_FUNCTION_ARGS | ) |
Definition at line 142 of file strongComponents.c.
References pgr_components_rt::component, pgr_components_rt::identifier, if(), pgr_components_rt::n_seq, PGR_DBG, and process().