PostGIS  3.1.6dev-r@@SVN_REVISION@@

◆ postgis_libprotobuf_version()

Datum postgis_libprotobuf_version ( PG_FUNCTION_ARGS  )

Definition at line 15 of file postgis_libprotobuf.c.

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

References result.