![]() |
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/biconnectedComponents_driver.h"
Go to the source code of this file.
Functions | |
PGDLLEXPORT Datum | biconnectedComponents (PG_FUNCTION_ARGS) |
postgres_connection.h More... | |
PG_FUNCTION_INFO_V1 (biconnectedComponents) | |
static void | process (char *edges_sql, pgr_components_rt **result_tuples, size_t *result_count) |
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 biconnectedComponents.c.
PGDLLEXPORT Datum biconnectedComponents | ( | PG_FUNCTION_ARGS | ) |
Definition at line 142 of file biconnectedComponents.c.
References pgr_components_rt::component, pgr_components_rt::identifier, if(), pgr_components_rt::n_seq, PGR_DBG, and process().
PG_FUNCTION_INFO_V1 | ( | biconnectedComponents | ) |
|
static |
Definition at line 68 of file biconnectedComponents.c.
References do_pgr_biconnectedComponents(), PGR_DBG, pgr_get_edges(), pgr_global_report(), pgr_SPI_connect(), pgr_SPI_finish(), and time_msg().
Referenced by biconnectedComponents().