PostGIS  2.5.0dev-r@@SVN_REVISION@@

◆ postgis_libprotobuf_version()

Datum postgis_libprotobuf_version ( PG_FUNCTION_ARGS  )

Definition at line 11 of file postgis_libprotobuf.c.

12 {
13 #ifndef HAVE_LIBPROTOBUF
14  PG_RETURN_NULL();
15 #else /* HAVE_LIBPROTOBUF */
16  const char *ver = protobuf_c_version();
17  text *result = cstring_to_text(ver);
18  PG_RETURN_POINTER(result);
19 #endif
20 }