PostGIS  3.0.6dev-r@@SVN_REVISION@@

◆ postgis_libjson_version()

Datum postgis_libjson_version ( PG_FUNCTION_ARGS  )

Definition at line 66 of file lwgeom_in_geojson.c.

67 {
68 #ifndef HAVE_LIBJSON
69  PG_RETURN_NULL();
70 #else /* HAVE_LIBJSON */
71 # ifdef JSON_C_VERSION
72  const char *ver = json_c_version();
73 # else
74  const char *ver = "UNKNOWN";
75 # endif
76  text *result = cstring2text(ver);
77  PG_RETURN_POINTER(result);
78 #endif
79 }
static text * cstring2text(const char *cstring)

References cstring2text().

Here is the call graph for this function: