PGROUTING  2.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
postgres_connection.c File Reference
#include "./postgres_connection.h"
#include "utils/builtins.h"
#include "catalog/pg_type.h"
#include <string.h>
#include "./debug_macro.h"

Go to the source code of this file.

Functions

char * pgr_cstring2char (const char *inStr)
 
void pgr_send_error (int errcode)
 
void pgr_SPI_connect (void)
 
Portal pgr_SPI_cursor_open (SPIPlanPtr SPIplan)
 
void pgr_SPI_finish (void)
 
SPIPlanPtr pgr_SPI_prepare (char *sql)
 

Function Documentation

char* pgr_cstring2char ( const char *  inStr)

Definition at line 52 of file postgres_connection.c.

Referenced by pgr_error().

void pgr_send_error ( int  errcode)

Definition at line 35 of file postgres_connection.c.

void pgr_SPI_connect ( void  )

Definition at line 83 of file postgres_connection.c.

References PGR_DBG.

Referenced by compute(), compute_shortest_path_astar(), and process().

void pgr_SPI_finish ( void  )

Definition at line 71 of file postgres_connection.c.

References PGR_DBG.

Referenced by compute(), compute_shortest_path_astar(), and process().