PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ postgis_svn_version()

Datum postgis_svn_version ( PG_FUNCTION_ARGS  )

Definition at line 178 of file lwgeom_functions_basic.c.

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 }