PostGIS  2.5.1dev-r@@SVN_REVISION@@

◆ postgis_svn_version()

Datum postgis_svn_version ( PG_FUNCTION_ARGS  )

Definition at line 178 of file lwgeom_functions_basic.c.

References PG_FUNCTION_INFO_V1(), and postgis_lib_build_date().

Referenced by postgis_lib_version().

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