PostGIS
3.1.6dev-r@@SVN_REVISION@@
◆
postgis_lib_revision()
Datum postgis_lib_revision
(
PG_FUNCTION_ARGS
)
Definition at line
191
of file
lwgeom_functions_basic.c
.
192
{
193
static
char
*rev =
xstr
(POSTGIS_REVISION);
194
char
ver[32];
195
if
(rev && rev[0] !=
'\0'
)
196
{
197
snprintf(ver, 32,
"%s"
, rev);
198
ver[31] =
'\0'
;
199
PG_RETURN_TEXT_P(cstring_to_text(ver));
200
}
201
else
PG_RETURN_NULL();
202
}
xstr
#define xstr(s)
Definition:
lwgeom_functions_basic.c:43
References
xstr
.
postgis
lwgeom_functions_basic.c
Generated by
1.9.1