PostGIS  3.4.0dev-r@@SVN_REVISION@@

◆ postgis_libprotobuf_version()

Datum postgis_libprotobuf_version ( PG_FUNCTION_ARGS  )

Definition at line 12 of file postgis_libprotobuf.c.

13 {
14 #ifdef HAVE_LIBPROTOBUF
15  const char *ver = protobuf_c_version();
16  text *result = cstring_to_text(ver);
17  PG_RETURN_POINTER(result);
18 #else
19  PG_RETURN_NULL();
20 #endif
21 }
char result[OUT_DOUBLE_BUFFER_SIZE]
Definition: cu_print.c:262

References result.