PostGIS  2.2.8dev-r@@SVN_REVISION@@

◆ postgis_svn_version()

Datum postgis_svn_version ( PG_FUNCTION_ARGS  )

Definition at line 159 of file lwgeom_functions_basic.c.

References PG_FUNCTION_INFO_V1(), and postgis_lib_build_date().

Referenced by postgis_lib_version().

160 {
161  static int rev = POSTGIS_SVN_REVISION;
162  char ver[32];
163  if ( rev > 0 )
164  {
165  snprintf(ver, 32, "%d", rev);
166  PG_RETURN_TEXT_P(cstring2text(ver));
167  }
168  else
169  PG_RETURN_NULL();
170 }
Here is the call graph for this function:
Here is the caller graph for this function: