PostGIS  2.3.8dev-r@@SVN_REVISION@@

◆ postgis_svn_version()

Datum postgis_svn_version ( PG_FUNCTION_ARGS  )

Definition at line 174 of file lwgeom_functions_basic.c.

References PG_FUNCTION_INFO_V1(), and postgis_lib_build_date().

Referenced by postgis_lib_version().

175 {
176  static int rev = POSTGIS_SVN_REVISION;
177  char ver[32];
178  if ( rev > 0 )
179  {
180  snprintf(ver, 32, "%d", rev);
181  PG_RETURN_TEXT_P(cstring2text(ver));
182  }
183  else
184  PG_RETURN_NULL();
185 }
Here is the call graph for this function:
Here is the caller graph for this function: