PostGIS  2.5.7dev-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_PROTOBUF_C_VERSION
14  PG_RETURN_NULL();
15 #else /* HAVE_PROTOBUF_C_VERSION */
16  const char *ver = protobuf_c_version();
17  text *result = cstring_to_text(ver);
18  PG_RETURN_POINTER(result);
19 #endif
20 }