PGROUTING  3.2
version.c File Reference
Include dependency graph for version.c:

Go to the source code of this file.

Macros

#define UNUSED(x)   (void)(x)
 

Functions

 PG_FUNCTION_INFO_V1 (pgr_version)
 
PGDLLEXPORT Datum pgr_version (PG_FUNCTION_ARGS)
 Returns v3.0.0 Function called only on v3.0.0 Deprecated C on v3.0.1. More...
 

Macro Definition Documentation

◆ UNUSED

#define UNUSED (   x)    (void)(x)

Definition at line 29 of file version.c.

Function Documentation

◆ PG_FUNCTION_INFO_V1()

PG_FUNCTION_INFO_V1 ( pgr_version  )

◆ pgr_version()

PGDLLEXPORT Datum pgr_version ( PG_FUNCTION_ARGS  )

Returns v3.0.0 Function called only on v3.0.0 Deprecated C on v3.0.1.

Definition at line 39 of file version.c.

39  {
40  UNUSED(fcinfo);
41  char *ver = "3.0.0";
42  text *result = cstring_to_text(ver);
43  PG_RETURN_TEXT_P(result);
44 }

References UNUSED.

UNUSED
#define UNUSED(x)
Definition: version.c:29