PostGIS 3.0.6dev-r@@SVN_REVISION@@
Loading...
Searching...
No Matches

◆ postgis_lib_revision()

Datum postgis_lib_revision ( PG_FUNCTION_ARGS  )

Definition at line 196 of file lwgeom_functions_basic.c.

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

References xstr.

Referenced by postgis_svn_version().

Here is the caller graph for this function: