PostGIS  3.3.9dev-r@@SVN_REVISION@@

◆ 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 < 61
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 }
char result[OUT_DOUBLE_BUFFER_SIZE]
Definition: cu_print.c:267

References result.