PostGIS
3.3.9dev-r@@SVN_REVISION@@
◆
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
}
xstr
#define xstr(s)
Definition:
lwgeom_functions_basic.c:43
References
xstr
.
postgis
lwgeom_functions_basic.c
Generated by
1.9.1