PostGIS  3.0.6dev-r@@SVN_REVISION@@

◆ RASTER_lib_version()

Datum RASTER_lib_version ( PG_FUNCTION_ARGS  )

Definition at line 48 of file rtpg_utility.c.

49 {
50  char ver[64];
51  text *result;
52 
53  snprintf(ver, 64, "%s %s", POSTGIS_LIB_VERSION, xstr(POSTGIS_REVISION));
54  ver[63] = '\0';
55 
56  result = cstring_to_text(ver);
57  PG_RETURN_TEXT_P(result);
58 }
#define xstr(s)
Definition: rtpg_utility.c:37
#define POSTGIS_LIB_VERSION
Definition: sqldefines.h:13

References POSTGIS_LIB_VERSION, and xstr.