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

◆ postgis_proj_version()

Datum postgis_proj_version ( PG_FUNCTION_ARGS  )

Definition at line 153 of file postgis/lwgeom_transform.c.

154{
155#if POSTGIS_PROJ_VERSION < 60
156 const char *ver = pj_get_release();
157 text *result = cstring_to_text(ver);
158#else
159 PJ_INFO pji = proj_info();
160 text *result = cstring_to_text(pji.version);
161#endif
162 PG_RETURN_POINTER(result);
163}