PostGIS  3.4.0dev-r@@SVN_REVISION@@

◆ postgis_lib_revision()

Datum postgis_lib_revision ( PG_FUNCTION_ARGS  )

Definition at line 199 of file lwgeom_functions_basic.c.

200 {
201  static char *rev = xstr(POSTGIS_REVISION);
202  char ver[32];
203  if (rev && rev[0] != '\0')
204  {
205  snprintf(ver, 32, "%s", rev);
206  ver[31] = '\0';
207  PG_RETURN_TEXT_P(cstring_to_text(ver));
208  }
209  else PG_RETURN_NULL();
210 }
#define xstr(s)

References xstr.